diff options
author | Ilia Alshanetsky <iliaa@php.net> | 2005-10-13 21:26:45 +0000 |
---|---|---|
committer | Ilia Alshanetsky <iliaa@php.net> | 2005-10-13 21:26:45 +0000 |
commit | d18cdaf6dd1092de22f562d1efe6c8062fb7f089 (patch) | |
tree | 31ce12425ec274ee30e7cb8febd9ede7d00dc4c5 | |
parent | 709f73aea7ce9919989040cb5beb88870cf9d761 (diff) | |
download | php-git-d18cdaf6dd1092de22f562d1efe6c8062fb7f089.tar.gz |
MFH: fix test failures
-rw-r--r-- | ext/mysqli/tests/009.phpt | 2 | ||||
-rw-r--r-- | ext/mysqli/tests/bug33491.phpt | 4 |
2 files changed, 4 insertions, 2 deletions
diff --git a/ext/mysqli/tests/009.phpt b/ext/mysqli/tests/009.phpt index 0647a8e140..62a56241a4 100644 --- a/ext/mysqli/tests/009.phpt +++ b/ext/mysqli/tests/009.phpt @@ -54,7 +54,7 @@ array(7) { [4]=> int(0) [5]=> - int(0) + string(13) "-333333333333" [6]=> int(100) } diff --git a/ext/mysqli/tests/bug33491.phpt b/ext/mysqli/tests/bug33491.phpt index fb25c8ec63..067e489aae 100644 --- a/ext/mysqli/tests/bug33491.phpt +++ b/ext/mysqli/tests/bug33491.phpt @@ -15,8 +15,10 @@ class DB extends mysqli } } +require_once dirname(__FILE__)."/connect.inc"; + // Segfault when using the DB class which extends mysqli -$DB = new DB('localhost', 'root', '', ''); +$DB = new DB($host, $user, $passwd, ''); $DB->query_single('SELECT DATE()'); ?> |