Skip to content

Commit 49512b6

Browse files
committed
Fix formatting in the new mysqli test
1 parent b390351 commit 49512b6

File tree

1 file changed

+8
-4
lines changed

1 file changed

+8
-4
lines changed

ext/mysqli/tests/gh7837.phpt

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,15 @@
22
Bug GH-7837 (large bigints may be truncated)
33
--SKIPIF--
44
<?php
5-
require_once("skipif.inc");
6-
if (strpos(mysqli_get_client_info(), "mysqlnd") === false) {
5+
require_once "skipif.inc";
6+
require_once 'skipifconnectfailure.inc';
7+
if (!$IS_MYSQLND) {
78
die("skip requires mysqlnd");
89
}
9-
require_once("skipifconnectfailure.inc");
1010
?>
1111
--FILE--
1212
<?php
13-
require_once("connect.inc");
13+
require_once "connect.inc";
1414

1515
$mysql = new mysqli($host, $user, $passwd, $db, $port, $socket);
1616
$mysql->options(MYSQLI_OPT_INT_AND_FLOAT_NATIVE, true);
@@ -22,6 +22,10 @@ $mysql->query("INSERT INTO test (`ubigint`) VALUES (1)");
2222
$result = $mysql->query("SELECT ubigint FROM test");
2323
var_dump($result->fetch_all());
2424
?>
25+
--CLEAN--
26+
<?php
27+
require_once "clean_table.inc";
28+
?>
2529
--EXPECT--
2630
array(3) {
2731
[0]=>

0 commit comments

Comments
 (0)