]> granicus.if.org Git - php/commitdiff
Fix a failing test
authorAndrey Hristov <andrey@php.net>
Tue, 19 Feb 2008 17:21:50 +0000 (17:21 +0000)
committerAndrey Hristov <andrey@php.net>
Tue, 19 Feb 2008 17:21:50 +0000 (17:21 +0000)
ext/mysqli/tests/bug34810.phpt

index 3bc959aab879c3d6597592edbcde80f5c1649161..8af0790e4983398288c9ff5d274a73e282e3709c 100644 (file)
@@ -23,7 +23,7 @@ class DbConnection {
                $mysql->query("CREATE TABLE test_warnings (a int not null)");
                $mysql->query("SET sql_mode=''");
                $mysql->query("INSERT INTO test_warnings VALUES (1),(2),(NULL)");
-               var_dump(mysqli_warning::__construct($mysql));
+               var_dump(new mysqli_warning($mysql));
        } 
 }