summaryrefslogtreecommitdiff
path: root/ext/mysqli/tests/bug36802.phpt
diff options
context:
space:
mode:
Diffstat (limited to 'ext/mysqli/tests/bug36802.phpt')
-rw-r--r--ext/mysqli/tests/bug36802.phpt4
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/mysqli/tests/bug36802.phpt b/ext/mysqli/tests/bug36802.phpt
index 1189115837..c0bace8aaf 100644
--- a/ext/mysqli/tests/bug36802.phpt
+++ b/ext/mysqli/tests/bug36802.phpt
@@ -31,7 +31,7 @@ Bug #36802 (crashes with with mysqli_set_charset())
}
/* following operations should work */
- $x[1] = ($mysql->client_version > 0);
+ $x[1] = ($mysql->error);
$x[2] = $mysql->errno;
$mysql->close();
@@ -43,7 +43,7 @@ mysqli object is not fully initialized
mysqli object is not fully initialized
array(2) {
[1]=>
- bool(true)
+ string(0) ""
[2]=>
int(0)
}