svn: /php/php-src/ branches/PHP_5_4/ext/mysqli/mysqli_fe.c branches/PHP_5_4/ext/mysqli/mysqli_fe.h branches/PHP_5_4/ext/mysqli/mysqli_nonapi.c
branches/PHP_5_4/ext/mysqli/mysqli_prop.c branches/PHP_5_4/ext/mysqli/tests/057.phpt branches/PHP_5_4/ext/mysqli/tests/bug34810.phpt
branches/PHP_5_4/ext/mysqli/tests/mysqli_class_mysqli_interface.phpt branches/PHP_5_4/ext/mysqli/tests/mysqli_class_mysqli_properties_no_conn.phpt
branches/PHP_5_4/ext/mysqli/tests/mysqli_class_mysqli_reflection.phpt branche
| From: | Andrey Hristov | Date: | Thu, 04 Aug 2011 09:51:26 +0000 |
| Subject: | svn: /php/php-src/ branches/PHP_5_4/ext/mysqli/mysqli_fe.c branches/PHP_5_4/ext/mysqli/mysqli_fe.h branches/PHP_5_4/ext/mysqli/mysqli_nonapi.c branches/PHP_5_4/ext/mysqli/mysqli_prop.c branches/PHP_5_4/ext/mysqli/tests/057.phpt branches/PHP_5_4/ext/mysqli/tests/bug34810.phpt branches/PHP_5_4/ext/mysqli/tests/mysqli_class_mysqli_interface.phpt branches/PHP_5_4/ext/mysqli/tests/mysqli_class_mysqli_properties_no_conn.phpt branches/PHP_5_4/ext/mysqli/tests/mysqli_class_mysqli_reflection.phpt branche |
||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-65695@lists.php.net to get a copy of this message | ||
andrey Thu, 04 Aug 2011 09:51:26 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=314239
Log:
Add mysqli_error_list() that returns an array with errors. Typically only
one and just one for libmysql. mysqlnd can return generate more than one error
during its work and with mysqli_error() only the last error is being reported.
In the array returned by mysqli_error_list() / $mysqli->error_list, all errors will be found.
The list is reset when the next command is executed
Changed paths:
U php/php-src/branches/PHP_5_4/ext/mysqli/mysqli_fe.c
U php/php-src/branches/PHP_5_4/ext/mysqli/mysqli_fe.h
U php/php-src/branches/PHP_5_4/ext/mysqli/mysqli_nonapi.c
U php/php-src/branches/PHP_5_4/ext/mysqli/mysqli_prop.c
U php/php-src/branches/PHP_5_4/ext/mysqli/tests/057.phpt
U php/php-src/branches/PHP_5_4/ext/mysqli/tests/bug34810.phpt
U php/php-src/branches/PHP_5_4/ext/mysqli/tests/mysqli_class_mysqli_interface.phpt
U php/php-src/branches/PHP_5_4/ext/mysqli/tests/mysqli_class_mysqli_properties_no_conn.phpt
U php/php-src/branches/PHP_5_4/ext/mysqli/tests/mysqli_class_mysqli_reflection.phpt
U php/php-src/branches/PHP_5_4/ext/mysqli/tests/mysqli_class_mysqli_stmt_interface.phpt
U php/php-src/branches/PHP_5_4/ext/mysqli/tests/mysqli_connect.phpt
U php/php-src/branches/PHP_5_4/ext/mysqli/tests/mysqli_connect_oo.phpt
U php/php-src/branches/PHP_5_4/ext/mysqli/tests/mysqli_kill.phpt
U php/php-src/branches/PHP_5_4/ext/mysqli/tests/mysqli_real_connect.phpt
U php/php-src/branches/PHP_5_4/ext/mysqli/tests/mysqli_real_connect_pconn.phpt
U php/php-src/branches/PHP_5_4/ext/mysqlnd/mysqlnd.c
U php/php-src/branches/PHP_5_4/ext/mysqlnd/mysqlnd_auth.c
U php/php-src/branches/PHP_5_4/ext/mysqlnd/mysqlnd_loaddata.c
U php/php-src/branches/PHP_5_4/ext/mysqlnd/mysqlnd_priv.h
U php/php-src/branches/PHP_5_4/ext/mysqlnd/mysqlnd_ps.c
U php/php-src/branches/PHP_5_4/ext/mysqlnd/mysqlnd_result.c
U php/php-src/branches/PHP_5_4/ext/mysqlnd/mysqlnd_result_meta.c
U php/php-src/branches/PHP_5_4/ext/mysqlnd/mysqlnd_structs.h
U php/php-src/trunk/ext/mysqli/mysqli_fe.c
U php/php-src/trunk/ext/mysqli/mysqli_fe.h
U php/php-src/trunk/ext/mysqli/mysqli_nonapi.c
U php/php-src/trunk/ext/mysqli/mysqli_prop.c
U php/php-src/trunk/ext/mysqli/tests/057.phpt
U php/php-src/trunk/ext/mysqli/tests/bug34810.phpt
U php/php-src/trunk/ext/mysqli/tests/mysqli_class_mysqli_interface.phpt
U php/php-src/trunk/ext/mysqli/tests/mysqli_class_mysqli_properties_no_conn.phpt
U php/php-src/trunk/ext/mysqli/tests/mysqli_class_mysqli_reflection.phpt
U php/php-src/trunk/ext/mysqli/tests/mysqli_class_mysqli_stmt_interface.phpt
U php/php-src/trunk/ext/mysqli/tests/mysqli_connect.phpt
U php/php-src/trunk/ext/mysqli/tests/mysqli_connect_oo.phpt
U php/php-src/trunk/ext/mysqli/tests/mysqli_kill.phpt
U php/php-src/trunk/ext/mysqli/tests/mysqli_real_connect.phpt
U php/php-src/trunk/ext/mysqli/tests/mysqli_real_connect_pconn.phpt
U php/php-src/trunk/ext/mysqlnd/mysqlnd.c
U php/php-src/trunk/ext/mysqlnd/mysqlnd_auth.c
U php/php-src/trunk/ext/mysqlnd/mysqlnd_loaddata.c
U php/php-src/trunk/ext/mysqlnd/mysqlnd_priv.h
U php/php-src/trunk/ext/mysqlnd/mysqlnd_ps.c
U php/php-src/trunk/ext/mysqlnd/mysqlnd_result.c
U php/php-src/trunk/ext/mysqlnd/mysqlnd_result_meta.c
U php/php-src/trunk/ext/mysqlnd/mysqlnd_structs.h
Attachment: [text/x-diff] svn-diffs-314239.txt
Attachment: [text/x-diff] svn-diffs-314239.txt