Re: max mails per folder

Jure Pečar <[email protected]> Tue, 10 Nov 2015 17:04:56 +0100
Newsgroups gmane.mail.imap.dbmail
Organization Weirdos for a better tomorrow
Message-ID <[email protected]>
On Tue, 10 Nov 2015 15:59:18 +0100
Jure Pečar <[email protected]> wrote:

> So I'm either doing something wrong or something interesting is going on inside libzdb, to which db_result_next(r) translates.

And that boils down to mysql_stmt_fetch(), which has an interesting sentence in documentation: 

"By default, result sets are fetched unbuffered a row at a time from the server."

That's exactly what I'm observing with strace: lots of poll/read/write lines, operating on one result line at a time.

I guess I'll have to look into how to stick mysql_stmt_store_result() somewhere into libzdb ... 


-- 

Jure Pečar
https://jure.pecar.org
http://f5j.eu
_______________________________________________
DBmail mailing list
[email protected]
http://mailman.fastxs.nl/cgi-bin/mailman/listinfo/dbmail