@@ -226,7 +226,6 @@ MYSQLND_METHOD(mysqlnd_stmt, next_result)(MYSQLND_STMT * s TSRMLS_DC)
226
226
}
227
227
228
228
DBG_INF_FMT ("server_status=%u cursor=%u" , stmt -> upsert_status .server_status , stmt -> upsert_status .server_status & SERVER_STATUS_CURSOR_EXISTS );
229
- DBG_INF_FMT ("server_status=%u cursor=%u" , conn -> upsert_status .server_status , conn -> upsert_status .server_status & SERVER_STATUS_CURSOR_EXISTS );
230
229
231
230
/* Free space for next result */
232
231
s -> m -> free_stmt_content (s TSRMLS_CC );
@@ -838,7 +837,7 @@ mysqlnd_stmt_fetch_row_unbuffered(MYSQLND_RES *result, void *param, unsigned int
838
837
839
838
if (result -> unbuf -> eof_reached ) {
840
839
/* No more rows obviously */
841
- DBG_INF ("eof reached" );
840
+ DBG_INF ("EOF already reached" );
842
841
DBG_RETURN (PASS );
843
842
}
844
843
if (CONN_GET_STATE (result -> conn ) != CONN_FETCHING_DATA ) {
@@ -864,7 +863,6 @@ mysqlnd_stmt_fetch_row_unbuffered(MYSQLND_RES *result, void *param, unsigned int
864
863
if (!row_packet -> skip_extraction ) {
865
864
result -> m .unbuffered_free_last_data (result TSRMLS_CC );
866
865
867
- DBG_INF ("extracting data" );
868
866
result -> unbuf -> last_row_data = row_packet -> fields ;
869
867
result -> unbuf -> last_row_buffer = row_packet -> row_buffer ;
870
868
row_packet -> fields = NULL ;
@@ -986,7 +984,6 @@ MYSQLND_METHOD(mysqlnd_stmt, use_result)(MYSQLND_STMT * s TSRMLS_DC)
986
984
MYSQLND_INC_CONN_STATISTIC (stmt -> conn -> stats , STAT_PS_UNBUFFERED_SETS );
987
985
result = stmt -> result ;
988
986
989
- DBG_INF_FMT ("%scursor exists" , stmt -> cursor_exists ? "" :"no " );
990
987
result -> m .use_result (stmt -> result , TRUE TSRMLS_CC );
991
988
result -> m .fetch_row = stmt -> cursor_exists ? mysqlnd_fetch_stmt_row_cursor :
992
989
mysqlnd_stmt_fetch_row_unbuffered ;
@@ -1048,11 +1045,9 @@ mysqlnd_fetch_stmt_row_cursor(MYSQLND_RES *result, void *param, unsigned int fla
1048
1045
if (PASS == (ret = PACKET_READ (row_packet , result -> conn )) && !row_packet -> eof ) {
1049
1046
unsigned int i , field_count = result -> field_count ;
1050
1047
1051
- DBG_INF_FMT ("skip_extraction=%u" , row_packet -> skip_extraction );
1052
1048
if (!row_packet -> skip_extraction ) {
1053
1049
result -> m .unbuffered_free_last_data (result TSRMLS_CC );
1054
1050
1055
- DBG_INF ("extracting data" );
1056
1051
result -> unbuf -> last_row_data = row_packet -> fields ;
1057
1052
result -> unbuf -> last_row_buffer = row_packet -> row_buffer ;
1058
1053
row_packet -> fields = NULL ;
@@ -1468,8 +1463,7 @@ MYSQLND_METHOD(mysqlnd_stmt, bind_one_parameter)(MYSQLND_STMT * const s, unsigne
1468
1463
if (!stmt || !stmt -> conn ) {
1469
1464
DBG_RETURN (FAIL );
1470
1465
}
1471
- DBG_INF_FMT ("stmt=%lu param_no=%u param_count=%u type=%u" ,
1472
- stmt -> stmt_id , param_no , stmt -> param_count , type );
1466
+ DBG_INF_FMT ("stmt=%lu param_no=%u param_count=%u type=%u" , stmt -> stmt_id , param_no , stmt -> param_count , type );
1473
1467
1474
1468
if (stmt -> state < MYSQLND_STMT_PREPARED ) {
1475
1469
SET_STMT_ERROR (stmt , CR_NO_PREPARE_STMT , UNKNOWN_SQLSTATE , mysqlnd_stmt_not_prepared );
@@ -1539,7 +1533,6 @@ MYSQLND_METHOD(mysqlnd_stmt, refresh_bind_param)(MYSQLND_STMT * const s TSRMLS_D
1539
1533
if (stmt -> param_count ) {
1540
1534
stmt -> send_types_to_server = 1 ;
1541
1535
}
1542
- DBG_INF ("PASS" );
1543
1536
DBG_RETURN (PASS );
1544
1537
}
1545
1538
/* }}} */
@@ -1987,8 +1980,7 @@ mysqlnd_stmt_separate_result_bind(MYSQLND_STMT * const s TSRMLS_DC)
1987
1980
if (!stmt ) {
1988
1981
DBG_VOID_RETURN ;
1989
1982
}
1990
- DBG_INF_FMT ("stmt=%lu result_bind=%p field_count=%u" ,
1991
- stmt -> stmt_id , stmt -> result_bind , stmt -> field_count );
1983
+ DBG_INF_FMT ("stmt=%lu result_bind=%p field_count=%u" , stmt -> stmt_id , stmt -> result_bind , stmt -> field_count );
1992
1984
1993
1985
if (!stmt -> result_bind ) {
1994
1986
DBG_VOID_RETURN ;
@@ -2042,8 +2034,7 @@ mysqlnd_stmt_separate_one_result_bind(MYSQLND_STMT * const s, unsigned int param
2042
2034
if (!stmt ) {
2043
2035
DBG_VOID_RETURN ;
2044
2036
}
2045
- DBG_INF_FMT ("stmt=%lu result_bind=%p field_count=%u param_no=%u" ,
2046
- stmt -> stmt_id , stmt -> result_bind , stmt -> field_count , param_no );
2037
+ DBG_INF_FMT ("stmt=%lu result_bind=%p field_count=%u param_no=%u" , stmt -> stmt_id , stmt -> result_bind , stmt -> field_count , param_no );
2047
2038
2048
2039
if (!stmt -> result_bind ) {
2049
2040
DBG_VOID_RETURN ;
@@ -2093,8 +2084,7 @@ MYSQLND_METHOD(mysqlnd_stmt, free_stmt_content)(MYSQLND_STMT * const s TSRMLS_DC
2093
2084
if (!stmt ) {
2094
2085
DBG_VOID_RETURN ;
2095
2086
}
2096
- DBG_INF_FMT ("stmt=%lu param_bind=%p param_count=%u" ,
2097
- stmt -> stmt_id , stmt -> param_bind , stmt -> param_count );
2087
+ DBG_INF_FMT ("stmt=%lu param_bind=%p param_count=%u" , stmt -> stmt_id , stmt -> param_bind , stmt -> param_count );
2098
2088
2099
2089
/* Destroy the input bind */
2100
2090
if (stmt -> param_bind ) {
@@ -2159,7 +2149,6 @@ MYSQLND_METHOD_PRIVATE(mysqlnd_stmt, net_close)(MYSQLND_STMT * const s, zend_boo
2159
2149
clean.
2160
2150
*/
2161
2151
do {
2162
- DBG_INF_FMT ("stmt->state=%u" , stmt -> state );
2163
2152
if (stmt -> state == MYSQLND_STMT_WAITING_USE_OR_STORE ) {
2164
2153
DBG_INF ("fetching result set header" );
2165
2154
stmt -> default_rset_handler (s TSRMLS_CC );
@@ -2229,7 +2218,6 @@ MYSQLND_METHOD(mysqlnd_stmt, dtor)(MYSQLND_STMT * const s, zend_bool implicit TS
2229
2218
2230
2219
DBG_ENTER ("mysqlnd_stmt::dtor" );
2231
2220
if (stmt ) {
2232
-
2233
2221
DBG_INF_FMT ("stmt=%p" , stmt );
2234
2222
2235
2223
MYSQLND_INC_GLOBAL_STATISTIC (implicit == TRUE? STAT_STMT_CLOSE_IMPLICIT :
0 commit comments