summaryrefslogtreecommitdiff
path: root/ext/mysql/tests/mysql_data_seek.phpt
diff options
context:
space:
mode:
Diffstat (limited to 'ext/mysql/tests/mysql_data_seek.phpt')
-rw-r--r--ext/mysql/tests/mysql_data_seek.phpt6
1 files changed, 3 insertions, 3 deletions
diff --git a/ext/mysql/tests/mysql_data_seek.phpt b/ext/mysql/tests/mysql_data_seek.phpt
index 687af1136b..24f930dea8 100644
--- a/ext/mysql/tests/mysql_data_seek.phpt
+++ b/ext/mysql/tests/mysql_data_seek.phpt
@@ -18,8 +18,8 @@ if (NULL !== ($tmp = @mysql_data_seek()))
if (NULL !== ($tmp = @mysql_data_seek($link)))
printf("[002] Expecting boolean/false, got %s/%s\n", gettype($tmp), $tmp);
-if (NULL !== ($tmp = @mysql_data_seek($link, $link)))
- printf("[003] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp);
+if (false !== ($tmp = @mysql_data_seek($link, $link)))
+ printf("[003] Expecting boolean/false, got %s/%s\n", gettype($tmp), $tmp);
require('table.inc');
if (!$res = mysql_query('SELECT * FROM test ORDER BY id LIMIT 4', $link))
@@ -70,4 +70,4 @@ Warning: mysql_data_seek(): Offset -1 is invalid for MySQL result index %d (or t
Warning: mysql_data_seek(): Offset 3 is invalid for MySQL result index %d (or the query data is unbuffered) in %s on line %d
Warning: mysql_data_seek(): %d is not a valid MySQL result resource in %s on line %d
-done!
+done! \ No newline at end of file