Hello there,
I'm currently using the C-API and consistantly get the error :
CR_COMMAND_OUT_OF_SYNCH <=> 2014
this Happens upon the use of mysql_query() call.
the weird thing is that It happens the 4th time I'm calling this API in
the same condition.
I've put some debug in the src/client/libmysql.c and I find the the
problem happens at line :
---------
if (mysql->status != MYSQL_STATUS_READY)
{
strmov(net->last_error,ER(mysql->net.last_errno=CR_COMMANDS_OUT_OF_SYNC));
return -1;
}
---------
I didn't find yet, what would cause the mysql->status to be != from
MYSQL_STATUS_READY and I would very much appreciate any help there.
Looking for any feedbacks.
PS :
I recompiled the library libmysqlclient.so as a shared library for its
needed by other third party component in my context.
Currently, I have a single process mono-threaded that uses the
connection and no other connections exist simultaneously.