I had to add this to dbdimp.c, mysql_warning_count() is not implemented
before 4.1,
#if MYSQL_VERSION_ID = SQL_STATE_VERSION
imp_sth-warning_count = mysql_warning_count(imp_dbh-mysql);
#else
imp_sth-warning_count = 0;
#endif
I don't know if setting the count to 0 is what I should do here.
On Wed, 2007-04-11 at 09:59 -0500, Scott T. Hildreth wrote:
I had to add this to dbdimp.c, mysql_warning_count() is not implemented
before 4.1,
#if MYSQL_VERSION_ID = SQL_STATE_VERSION
imp_sth-warning_count = mysql_warning_count(imp_dbh-mysql);
#else
imp_sth-warning_count = 0;
#endif
Feel free to send it to me before release, we will have the old client
on that server until we upgrade it. Which will be awhile.
On Tue, 2007-03-27 at 22:18 -0400, Patrick Galbraith wrote:
Scott,
Thanks! I need to somehow find a 4.0 binary for OS X to find these pesky
things.
regards,
Scott,
Thanks! I need to somehow find a 4.0 binary for OS X to find these pesky
things.
regards,
Patrick
Scott T. Hildreth wrote:
Pat,
The #ifdef's still need to be removed in the calls below.
Thanks.
dbdimp.c: In function `mysql_st_fetch':
dbdimp.c:3429: error: too few arguments
Pat,
The #ifdef's still need to be removed in the calls below.
Thanks.
dbdimp.c: In function `mysql_st_fetch':
dbdimp.c:3429: error: too few arguments to function `mysql_dr_error'
dbdimp.c:3593: error: too few arguments to function `mysql_dr_error'
dbdimp.c: In function