diff options
Diffstat (limited to 'ext/mysqli/tests/mysqli_stmt_attr_get_prefetch.phpt')
-rw-r--r-- | ext/mysqli/tests/mysqli_stmt_attr_get_prefetch.phpt | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/ext/mysqli/tests/mysqli_stmt_attr_get_prefetch.phpt b/ext/mysqli/tests/mysqli_stmt_attr_get_prefetch.phpt index 5cb6cd0ac2..21f1db79c0 100644 --- a/ext/mysqli/tests/mysqli_stmt_attr_get_prefetch.phpt +++ b/ext/mysqli/tests/mysqli_stmt_attr_get_prefetch.phpt @@ -9,17 +9,17 @@ die("SKIP: prefetch isn't supported at the moment"); ?> --FILE-- <?php - require('table.inc'); + require('table.inc'); - $stmt = mysqli_stmt_init($link); - mysqli_stmt_prepare($stmt, 'SELECT * FROM test'); - if (1 !== ($tmp = mysqli_stmt_attr_get($stmt, MYSQLI_STMT_ATTR_PREFETCH_ROWS))) { - printf("[001] Expecting int/1, got %s/%s for attribute %s/%s\n", - gettype($tmp), $tmp, $k, $attr); - } - $stmt->close(); - mysqli_close($link); - print "done!"; + $stmt = mysqli_stmt_init($link); + mysqli_stmt_prepare($stmt, 'SELECT * FROM test'); + if (1 !== ($tmp = mysqli_stmt_attr_get($stmt, MYSQLI_STMT_ATTR_PREFETCH_ROWS))) { + printf("[001] Expecting int/1, got %s/%s for attribute %s/%s\n", + gettype($tmp), $tmp, $k, $attr); + } + $stmt->close(); + mysqli_close($link); + print "done!"; ?> --CLEAN-- <?php |