Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

#21 Patch to build with MySql 4.1 and >

MySQLdb
closed
Andy Dustman
MySQLdb (53)
5
2012-09-19
2004-11-21
Tarek Ziade
No

if you get this :

_mysql.c: In function _mysql_ConnectionObject_shutdown': _mysql.c:1545: error: too few arguments to functionmysql_shutdown'
error: command 'gcc' failed with exit status 1

this is because mysql_shutdown api has changed.

get to that line and change it this way :

r = mysql_shutdown(&(self->connection), SHUTDOWN_DEFAULT);

that should work...

Discussion

  • Andy Dustman
    Andy Dustman
    2004-11-22

    Logged In: YES
    user_id=71372

    This is already fixed in the 1.1 series, and there will not
    be support for 4.1 in the 1.0 series.