apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alex Dubov <oa...@yahoo.com>
Subject Re: [PATCH]: improved error reporting for apr_dbd_mysql.c - correct version
Date Tue, 30 May 2006 01:53:02 GMT
> Ah, yeah. The good old bucket to the rescue.
> Completely missed that...

May be even brigade of them - this will enable the use
of mysql_stmt_send_long_data to send a lot of data
without flattening everything into single buffer.

Then it came to me that instead of allocating large
buffer in pselect, it's possible to allocate some
small buffer, check for truncation and then
re-allocate and re-fetch problematic columns in
get_entry, if needed (and to think that I removed
*_fetch_column as not needed, because it actually did
nothing, but it should have been a hint).
Unfortunately, there's no incremental fetch in mysql.

Anyway, I'll have some time to implement and test this
toward next week.

Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 

View raw message