3 messages in com.mysql.lists.bugsmysql 3.22.32 - getty error 2014 - CR...
FromSent OnAttachments
Pierre-Ephrem Madiot08 May 2000 09:40 
Thimble Smith08 May 2000 10:28 
Michael Widenius08 May 2000 10:32 
Subject:mysql 3.22.32 - getty error 2014 - CR_COMMAND_OUT_OF_SYNCH
From:Pierre-Ephrem Madiot (mad@netscape.com)
Date:05/08/2000 09:40:11 AM
List:com.mysql.lists.bugs

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.