From ae0035d3c5602641618c5859e68f6000a8a00535 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ren=C3=A9=20Canna=C3=B2?= Date: Wed, 29 Apr 2015 06:04:05 +0000 Subject: [PATCH] Removing some debugging --- lib/MySQL_Protocol.cpp | 2 +- lib/MySQL_Session.cpp | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/MySQL_Protocol.cpp b/lib/MySQL_Protocol.cpp index 0737502eb..1f048ee53 100644 --- a/lib/MySQL_Protocol.cpp +++ b/lib/MySQL_Protocol.cpp @@ -446,7 +446,7 @@ MySQL_Prepared_Stmt_info::MySQL_Prepared_Stmt_info(unsigned char *pkt, unsigned pkt += sizeof(uint16_t); pkt++; // reserved_1 warning_count = CPY2(pkt); - fprintf(stderr,"Generating prepared statement with id=%d, cols=%d, params=%d, warns=%d\n", statement_id, num_columns, num_params, warning_count); +// fprintf(stderr,"Generating prepared statement with id=%d, cols=%d, params=%d, warns=%d\n", statement_id, num_columns, num_params, warning_count); pending_num_columns=num_columns; pending_num_params=num_params; } diff --git a/lib/MySQL_Session.cpp b/lib/MySQL_Session.cpp index e2f194cf1..c7eb43156 100644 --- a/lib/MySQL_Session.cpp +++ b/lib/MySQL_Session.cpp @@ -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;