]> granicus.if.org Git - php/commitdiff
WS
authorAndrey Hristov <andrey@php.net>
Fri, 18 Mar 2011 13:55:25 +0000 (13:55 +0000)
committerAndrey Hristov <andrey@php.net>
Fri, 18 Mar 2011 13:55:25 +0000 (13:55 +0000)
ext/mysqlnd/mysqlnd_ps.c

index 237c088ac4bc18e5519b2361f96e87ecb1b37f2e..3a6b6e5ac1bd367b42551dc3b50005978934953d 100644 (file)
@@ -1305,7 +1305,6 @@ MYSQLND_METHOD(mysqlnd_stmt, send_long_data)(MYSQLND_STMT * const s, unsigned in
                DBG_ERR("command out of sync");
                DBG_RETURN(FAIL);
        }
-
        if (param_no >= stmt->param_count) {
                SET_STMT_ERROR(stmt, CR_INVALID_PARAMETER_NO, UNKNOWN_SQLSTATE, "Invalid parameter number");
                DBG_ERR("invalid param_no");
@@ -1424,8 +1423,7 @@ MYSQLND_METHOD(mysqlnd_stmt, bind_parameters)(MYSQLND_STMT * const s, MYSQLND_PA
                        */
                        for (i = 0; i < stmt->param_count; i++) {
                                /*
-                                 We may have the last reference, then call zval_ptr_dtor()
-                                 or we may leak memory.
+                                 We may have the last reference, then call zval_ptr_dtor() or we may leak memory.
                                  Switching from bind_one_parameter to bind_parameters may result in zv being NULL
                                */
                                if (stmt->param_bind[i].zv) {
@@ -1918,6 +1916,7 @@ MYSQLND_METHOD(mysqlnd_stmt, attr_get)(const MYSQLND_STMT * const s,
 }
 /* }}} */
 
+
 /* free_result() doesn't actually free stmt->result but only the buffers */
 /* {{{ mysqlnd_stmt::free_result */
 static enum_func_status