com php-src: This test needs local infile enabled: ext/pdo_my sql/tests/pdo_mysql_exec_load_data.phpt
Commit: ea75b1b5dbb34a8c07f53487e08a3521fc491a84
Author: Rasmus Lerdorf <[email protected]> Fri, 2 Aug 2013 15:33:18 -0400
Parents: e55f08a5aedf7f0153a969dbca870d7213c49a0f
Branches: PHP-5.4 PHP-5.5 master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=ea75b1b5dbb34a8c07f53487e08a3521fc491a84
Log:
This test needs local infile enabled
Changed paths:
M ext/pdo_mysql/tests/pdo_mysql_exec_load_data.phpt
Diff:
diff --git a/ext/pdo_mysql/tests/pdo_mysql_exec_load_data.phpt
b/ext/pdo_mysql/tests/pdo_mysql_exec_load_data.phpt
index b550cb8..ebf22ef 100644
--- a/ext/pdo_mysql/tests/pdo_mysql_exec_load_data.phpt
+++ b/ext/pdo_mysql/tests/pdo_mysql_exec_load_data.phpt
@@ -48,6 +48,7 @@ if (($tmp[1] !== 'localhost') && ($tmp[1] !==
'127.0.0.1'))
}
require_once(dirname(__FILE__) . DIRECTORY_SEPARATOR . 'mysql_pdo_test.inc');
+ putenv('PDOTEST_ATTR='.serialize([PDO::MYSQL_ATTR_LOCAL_INFILE=>true]));
$db = MySQLPDOTest::factory();
MySQLPDOTest::createTestTable($db, MySQLPDOTest::detect_transactional_mysql_engine($db));
Thread (1 message)
- Rasmus Lerdorf