diff options
Diffstat (limited to 'ext/mysqli/tests/066.phpt')
-rw-r--r-- | ext/mysqli/tests/066.phpt | 30 |
1 files changed, 15 insertions, 15 deletions
diff --git a/ext/mysqli/tests/066.phpt b/ext/mysqli/tests/066.phpt index 0089210718..535d01d224 100644 --- a/ext/mysqli/tests/066.phpt +++ b/ext/mysqli/tests/066.phpt @@ -7,28 +7,28 @@ require_once('skipifconnectfailure.inc'); ?> --FILE-- <?php - require_once("connect.inc"); + require_once("connect.inc"); - /*** test mysqli_connect 127.0.0.1 ***/ - $mysql = new my_mysqli($host, $user, $passwd, $db, $port, $socket); + /*** test mysqli_connect 127.0.0.1 ***/ + $mysql = new my_mysqli($host, $user, $passwd, $db, $port, $socket); - if (!mysqli_query($mysql, "SET sql_mode=''")) - printf("[002] Cannot set SQL-Mode, [%d] %s\n", mysqli_errno($mysql), mysqli_error($mysql)); + if (!mysqli_query($mysql, "SET sql_mode=''")) + printf("[002] Cannot set SQL-Mode, [%d] %s\n", mysqli_errno($mysql), mysqli_error($mysql)); - $mysql->query("DROP TABLE IF EXISTS test_warnings"); + $mysql->query("DROP TABLE IF EXISTS test_warnings"); - $mysql->query("CREATE TABLE test_warnings (a int not null) ENGINE=myisam"); + $mysql->query("CREATE TABLE test_warnings (a int not null) ENGINE=myisam"); - $mysql->query("INSERT INTO test_warnings VALUES (1),(2),(NULL)"); + $mysql->query("INSERT INTO test_warnings VALUES (1),(2),(NULL)"); - if (($warning = $mysql->get_warnings())) { - do { - printf("Warning\n"); - } while ($warning->next()); - } + if (($warning = $mysql->get_warnings())) { + do { + printf("Warning\n"); + } while ($warning->next()); + } - $mysql->close(); - print "done!"; + $mysql->close(); + print "done!"; ?> --CLEAN-- <?php |