uw Fri May 29 13:37:08 2009 UTC
Modified files: (Branch: PHP_5_3)
/php-src/ext/mysqli/tests mysqli_set_local_infile_handler.phpt
local_infile_tools.inc
Log:
MFH - Fixing tests - messages/warnings can vary by version
http://cvs.php.net/viewvc.cgi/php-src/ext/mysqli/tests/mysqli_set_local_infile_handler.phpt?r1=1.2.2.3&r2=1.2.2.4&diff_format=u
Index: php-src/ext/mysqli/tests/mysqli_set_local_infile_handler.phpt
diff -u php-src/ext/mysqli/tests/mysqli_set_local_infile_handler.phpt:1.2.2.3
php-src/ext/mysqli/tests/mysqli_set_local_infile_handler.phpt:1.2.2.4
--- php-src/ext/mysqli/tests/mysqli_set_local_infile_handler.phpt:1.2.2.3
Thu May 28 14:33:42 2009
+++ php-src/ext/mysqli/tests/mysqli_set_local_infile_handler.phpt Fri May
29 13:37:08 2009
@@ -170,7 +170,7 @@
Callback: 1
Callback set to 'callback_fclose'
Callback: 0
-[022] LOAD DATA failed, [2000] File handle closed in handler
+[022] LOAD DATA failed, [2000] File handle close%s
Callback set to 'callback_invalid_args'
Callback: 0
Callback: 1
http://cvs.php.net/viewvc.cgi/php-src/ext/mysqli/tests/local_infile_tools.inc?r1=1.1.2.3&r2=1.1.2.4&diff_format=u
Index: php-src/ext/mysqli/tests/local_infile_tools.inc
diff -u php-src/ext/mysqli/tests/local_infile_tools.inc:1.1.2.3
php-src/ext/mysqli/tests/local_infile_tools.inc:1.1.2.4
--- php-src/ext/mysqli/tests/local_infile_tools.inc:1.1.2.3 Thu May 28
15:49:14 2009
+++ php-src/ext/mysqli/tests/local_infile_tools.inc Fri May 29 13:37:08 2009
@@ -58,7 +58,7 @@
return false;
}
- if (!mysqli_query($link, sprintf("LOAD DATA LOCAL INFILE '%s'
+ if (!...@mysqli_query($link, sprintf("LOAD DATA LOCAL INFILE
'%s'
INTO TABLE test
FIELDS TERMINATED BY ';' OPTIONALLY ENCLOSED BY '\''
LINES TERMINATED BY '\n'",
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php