com php-src: WS: ext/mysqlnd/mysqlnd_ps_codec.c

From: Date: Fri, 24 Jan 2014 10:31:19 +0000
Subject: com php-src: WS: ext/mysqlnd/mysqlnd_ps_codec.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-75778@lists.php.net to get a copy of this message
Commit: 350b5dddacb03f4f8e0c1f9094dbaa40a180ef92 Author: Andrey Hristov <andrey@php.net> Fri, 24 Jan 2014 12:31:19 +0200 Parents: cd2cc7b8f95aee903e13c8aefc5f78d2e57a53ba Branches: PHP-5.6 master Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=350b5dddacb03f4f8e0c1f9094dbaa40a180ef92 Log: WS Changed paths: M ext/mysqlnd/mysqlnd_ps_codec.c Diff: diff --git a/ext/mysqlnd/mysqlnd_ps_codec.c b/ext/mysqlnd/mysqlnd_ps_codec.c index e890c2b..d96a577 100644 --- a/ext/mysqlnd/mysqlnd_ps_codec.c +++ b/ext/mysqlnd/mysqlnd_ps_codec.c @@ -686,7 +686,7 @@ mysqlnd_stmt_execute_calculate_param_values_size(MYSQLND_STMT_DATA * stmt, zval goto end; } } - break; + break; } } @@ -830,7 +830,7 @@ mysqlnd_stmt_execute_store_params(MYSQLND_STMT * s, zend_uchar **buf, zend_uchar unsigned int null_count = (stmt->param_count + 7) / 8; if (FAIL == mysqlnd_stmt_execute_check_n_enlarge_buffer(buf, p, buf_len, provided_buffer, null_count TSRMLS_CC)) { SET_OOM_ERROR(*stmt->error_info); - goto end; + goto end; } /* put null bytes */ null_byte_offset = *p - *buf; @@ -850,13 +850,13 @@ mysqlnd_stmt_execute_store_params(MYSQLND_STMT * s, zend_uchar **buf, zend_uchar goto end; } - int1store(*p, stmt->send_types_to_server); + int1store(*p, stmt->send_types_to_server); (*p)++; if (stmt->send_types_to_server) { if (FAIL == mysqlnd_stmt_execute_check_n_enlarge_buffer(buf, p, buf_len, provided_buffer, stmt->param_count * 2 TSRMLS_CC)) { SET_OOM_ERROR(*stmt->error_info); - goto end; + goto end; } mysqlnd_stmt_execute_store_types(stmt, copies, p); } @@ -872,7 +872,7 @@ mysqlnd_stmt_execute_store_params(MYSQLND_STMT * s, zend_uchar **buf, zend_uchar /* 2.2 Enlarge the buffer, if needed */ if (FAIL == mysqlnd_stmt_execute_check_n_enlarge_buffer(buf, p, buf_len, provided_buffer, data_size TSRMLS_CC)) { SET_OOM_ERROR(*stmt->error_info); - goto end; + goto end; } /* 2.3 Store the actual data */

« previous php.cvs (#75778) next »