Skip to content

Commit c90df58

Browse files
committed
WS
1 parent 2d2d1c7 commit c90df58

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

ext/mysqlnd/mysqlnd_ps.c

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1305,7 +1305,6 @@ MYSQLND_METHOD(mysqlnd_stmt, send_long_data)(MYSQLND_STMT * const s, unsigned in
13051305
DBG_ERR("command out of sync");
13061306
DBG_RETURN(FAIL);
13071307
}
1308-
13091308
if (param_no >= stmt->param_count) {
13101309
SET_STMT_ERROR(stmt, CR_INVALID_PARAMETER_NO, UNKNOWN_SQLSTATE, "Invalid parameter number");
13111310
DBG_ERR("invalid param_no");
@@ -1424,8 +1423,7 @@ MYSQLND_METHOD(mysqlnd_stmt, bind_parameters)(MYSQLND_STMT * const s, MYSQLND_PA
14241423
*/
14251424
for (i = 0; i < stmt->param_count; i++) {
14261425
/*
1427-
We may have the last reference, then call zval_ptr_dtor()
1428-
or we may leak memory.
1426+
We may have the last reference, then call zval_ptr_dtor() or we may leak memory.
14291427
Switching from bind_one_parameter to bind_parameters may result in zv being NULL
14301428
*/
14311429
if (stmt->param_bind[i].zv) {
@@ -1918,6 +1916,7 @@ MYSQLND_METHOD(mysqlnd_stmt, attr_get)(const MYSQLND_STMT * const s,
19181916
}
19191917
/* }}} */
19201918

1919+
19211920
/* free_result() doesn't actually free stmt->result but only the buffers */
19221921
/* {{{ mysqlnd_stmt::free_result */
19231922
static enum_func_status

0 commit comments

Comments
 (0)