apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alex Dubov <oa...@yahoo.com>
Subject [PATCH]: another attempt at using binary data with apr_dbd_mysql
Date Mon, 03 Jul 2006 03:53:49 GMT
Warning: More testing is needed.

Short summary:
1. Use dbd_mysql_get_row with rownum == -1 to reset
queries
2. Use mysql_stmt_store_result only when random == 1
3. Don't use MYSQL_RES with prepared statements
(problems with destruction)
4. Use buckets for binary data
5. Format specifiers used:
   %* - null
   %b - bucket
   %s - string
   %c / %C - char / unsigned
   %h / %H - short / unsigned
   %d / %D - integer / unsigned
   %q / %Q - quad / unsigned
   %f / %F - float / double
6. Default field size lifted in "mostly safe" manner


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
Mime
View raw message