Author: uwendel
Date: 2007-06-26 14:56:52 +0200 (Tue, 26 Jun 2007)
New Revision: 499
Modified:
trunk/tests/ext/mysqli/mysqli_set_charset.phpt
Log:
Uncomment these lines to debug Mantis #346.
Modified: trunk/tests/ext/mysqli/mysqli_set_charset.phpt
===================================================================
--- trunk/tests/ext/mysqli/mysqli_set_charset.phpt 2007-06-26 12:47:31 UTC (rev 498)
+++ trunk/tests/ext/mysqli/mysqli_set_charset.phpt 2007-06-26 12:56:52 UTC (rev 499)
@@ -74,9 +74,11 @@
printf("[016] Cannot get list of character sets\n");
while ($tmp = mysqli_fetch_assoc($res)) {
+ /* Uncomment to see where it hangs - var_dump($tmp); flush(); */
if (!mysqli_query($link, sprintf("SET NAMES %s", mysqli_real_escape_string($link,
$tmp['Charset']))))
printf("[017] Cannot run SET NAMES %s, [%d] %s\n", $tmp['Charset'],
mysqli_errno($link), mysqli_error($link));
+ /* Uncomment to see where it hangs - var_dump($tmp); flush(); */
if (!mysqli_set_charset($link, $tmp['Charset'])) {
printf("[018] Cannot set character set to '%s', [%d] %s\n", $tmp['Charset'],
mysqli_errno($link), mysqli_error($link));
| Thread |
|---|
| • PHP mysqlnd svn commit: r499 - trunk/tests/ext/mysqli | uwendel | 26 Jun |