Hi Chuck, Chuck Hemker writes: > When you get a lock timeout on a select, it is reported by mysql by returning > a null from mysql_store_result. This currently isn't noticed by the driver. > > In dbd_query (and dbd_query_null) in dbd_mysql.c there should be 3 cases: > > mysql_store_result() != null good select > mysql_store_result() = null & mysql_field_count() = 0 good insert ... > mysql_store_result() = null & mysql_field_count() > 0 error on select >
thanks for reporting this problem and for suggesting a fix. Is this MySQL behaviour documented somewhere, or did you just observe this? Is your fix supposed to work with all MySQL releases since, say, 4.0? If both answers are yes, your suggested fix is likely to make its way into the driver. regards, Markus -- Markus Hoenicka markus.hoeni...@cats.de (Spam-protected email: replace the quadrupeds with "mhoenicka") http://www.mhoenicka.de ------------------------------------------------------------------------------ Register Now & Save for Velocity, the Web Performance & Operations Conference from O'Reilly Media. Velocity features a full day of expert-led, hands-on workshops and two days of sessions from industry leaders in dedicated Performance & Operations tracks. Use code vel09scf and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf _______________________________________________ Libdbi-drivers-devel mailing list Libdbi-drivers-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/libdbi-drivers-devel