I downloaded and installed a new binary release of mysql for my LINUX
station and since then both mysql_insert_id(&mysql) and
my code always returns 0 !!!
These are sections of code which worked before with older releases of
I'm using the C API to interface to the database. The release I
installed is 3.22.21.
I did define the NO_CLIENT_LONG_LONG variable in order to link to the
new mysql.h library and I did change my code to take a unsigned long as
parameter for these functions ... Still the return value is always 0 ?
I have seen threads on the mailing list regarding this issue - but not
found any help - can anybody please point to what is going on ?