svn: /pecl/mysqlnd_ms/trunk/tests/ mysqlnd_ms_enable_rw_rr.phpt
| From: | Ulf Wendel | Date: | Thu, 08 Dec 2011 16:59:06 +0000 |
| Subject: | svn: /pecl/mysqlnd_ms/trunk/tests/ mysqlnd_ms_enable_rw_rr.phpt | ||
| Groups: | php.pecl.cvs | ||
| Request: | Send a blank email to pecl-cvs+get-17333@lists.php.net to get a copy of this message | ||
uw Thu, 08 Dec 2011 16:59:06 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=320679
Log:
Update test. Warning instead of recoverable error is what we want.
Changed paths:
U pecl/mysqlnd_ms/trunk/tests/mysqlnd_ms_enable_rw_rr.phpt
Modified: pecl/mysqlnd_ms/trunk/tests/mysqlnd_ms_enable_rw_rr.phpt
===================================================================
--- pecl/mysqlnd_ms/trunk/tests/mysqlnd_ms_enable_rw_rr.phpt 2011-12-08 16:53:36 UTC (rev 320678)
+++ pecl/mysqlnd_ms/trunk/tests/mysqlnd_ms_enable_rw_rr.phpt 2011-12-08 16:59:06 UTC (rev 320679)
@@ -69,9 +69,9 @@
printf("[clean] Cannot unlink ini file
'test_mysqlnd_ms_enable_rw_random.ini'.\n");
?>
--EXPECTF--
-[E_RECOVERABLE_ERROR] mysqli::query(): (mysqlnd_ms) Couldn't find the appropriate slave
connection. 0 slaves to choose from. Something is wrong in %s on line %d
+[E_WARNING] mysqli::query(): (mysqlnd_ms) Couldn't find the appropriate slave connection. 0
slaves to choose from. Something is wrong in %s on line %d
[E_WARNING] mysqli::query(): (mysqlnd_ms) No connection selected by the last filter in %s on line
%d
-[E_RECOVERABLE_ERROR] mysqli::query(): (mysqlnd_ms) Couldn't find the appropriate slave
connection. 0 slaves to choose from. Something is wrong in %s on line %d
+[E_WARNING] mysqli::query(): (mysqlnd_ms) Couldn't find the appropriate slave connection. 0
slaves to choose from. Something is wrong in %s on line %d
[E_WARNING] mysqli::query(): (mysqlnd_ms) No connection selected by the last filter in %s on line
%d
Role: master1
%d