|
|
|
|
@ -805,7 +805,7 @@ void MySQL_Session::handler___status_WAITING_SERVER_DATA___STATE_READING_COM_STM
|
|
|
|
|
unsigned char c;
|
|
|
|
|
c=*((unsigned char *)pkt->ptr+sizeof(mysql_hdr));
|
|
|
|
|
|
|
|
|
|
fprintf(stderr,"%d %d\n", mybe->server_myds->myprot.current_PreStmt->pending_num_params, mybe->server_myds->myprot.current_PreStmt->pending_num_columns);
|
|
|
|
|
//fprintf(stderr,"%d %d\n", mybe->server_myds->myprot.current_PreStmt->pending_num_params, mybe->server_myds->myprot.current_PreStmt->pending_num_columns);
|
|
|
|
|
if (c==0xfe && pkt->size < 13) {
|
|
|
|
|
if (mybe->server_myds->myprot.current_PreStmt->pending_num_params+mybe->server_myds->myprot.current_PreStmt->pending_num_columns) {
|
|
|
|
|
mybe->server_myds->DSS=STATE_EOF1;
|
|
|
|
|
@ -894,7 +894,7 @@ void MySQL_Session::handler___status_WAITING_SERVER_DATA___STATE_EOF1(PtrSize_t
|
|
|
|
|
}
|
|
|
|
|
} else {
|
|
|
|
|
if (mybe->server_myds->myconn->processing_prepared_statement_prepare==true) {
|
|
|
|
|
fprintf(stderr,"EOF: %d %d\n", mybe->server_myds->myprot.current_PreStmt->pending_num_params, mybe->server_myds->myprot.current_PreStmt->pending_num_columns);
|
|
|
|
|
// fprintf(stderr,"EOF: %d %d\n", mybe->server_myds->myprot.current_PreStmt->pending_num_params, mybe->server_myds->myprot.current_PreStmt->pending_num_columns);
|
|
|
|
|
if (mybe->server_myds->myprot.current_PreStmt->pending_num_params+mybe->server_myds->myprot.current_PreStmt->pending_num_columns) {
|
|
|
|
|
if (mybe->server_myds->myprot.current_PreStmt->pending_num_params) {
|
|
|
|
|
--mybe->server_myds->myprot.current_PreStmt->pending_num_params;
|
|
|
|
|
|