On Thu, 28 Oct 2004 19:32:32 +0400, Mikhail Ramendik wrote: > This needs a change in dbmysql.c , in exactly one place. Do you want a > patch against the original dbmysql.c, or against the dbmysql.c with my > speedup patch (which was posted here some time before)? > > Alternatively just search that file for "db_real_query", because that's > the call where it does the <0 check, and change the check there to !=0 .
I had already grep'ed around and found that. I can manage the patch myself. Of particular concern is their statement "Some C API calls such as mysql_real_query() now return 1 on error, not -1." Are there other API calls that need fixed up as well? If someone has the time, take a look at the link I posted (http://dev.mysql.com/doc/mysql/en/Upgrading-from-4.0.html) and see if there are other issues that need to be dealt with outside of this one-liner change.