]> granicus.if.org Git - php/commitdiff
fix the fix
authorAndrey Hristov <andrey@php.net>
Wed, 13 Mar 2013 14:56:44 +0000 (15:56 +0100)
committerAndrey Hristov <andrey@php.net>
Wed, 13 Mar 2013 14:56:44 +0000 (15:56 +0100)
ext/mysqlnd/mysqlnd_ps.c

index 2a0c9dd5945e702c48398f4db8d6e6d9ebb5c540..15b293825b4ab3822684d94012a2bec057ee72d2 100644 (file)
@@ -1463,8 +1463,7 @@ MYSQLND_METHOD(mysqlnd_stmt, bind_one_parameter)(MYSQLND_STMT * const s, unsigne
 
        if (stmt->param_count) {
                if (!stmt->param_bind) {
-//                     stmt->param_bind = mnd_pecalloc(stmt->param_count, sizeof(MYSQLND_PARAM_BIND), stmt->persistent);
-                       stmt->param_bind = mnd_ecalloc(stmt->param_count, sizeof(MYSQLND_PARAM_BIND));
+                       stmt->param_bind = mnd_pecalloc(stmt->param_count, sizeof(MYSQLND_PARAM_BIND), stmt->persistent);
                        if (!stmt->param_bind) {
                                DBG_RETURN(FAIL);
                        }