MFH: fix test failures

This commit is contained in:
Ilia Alshanetsky 2005-10-13 21:26:45 +00:00
parent 709f73aea7
commit d18cdaf6dd
2 changed files with 4 additions and 2 deletions

View File

@ -54,7 +54,7 @@ array(7) {
[4]=>
int(0)
[5]=>
int(0)
string(13) "-333333333333"
[6]=>
int(100)
}

View File

@ -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()');
?>