diff options
author | Rasmus Lerdorf <rasmus@php.net> | 2013-08-02 15:33:18 -0400 |
---|---|---|
committer | Rasmus Lerdorf <rasmus@php.net> | 2013-08-02 15:33:18 -0400 |
commit | ea75b1b5dbb34a8c07f53487e08a3521fc491a84 (patch) | |
tree | 6e12cd15cafc22d4c541701b1d5d3e8c99df4930 /ext/pdo_mysql | |
parent | e55f08a5aedf7f0153a969dbca870d7213c49a0f (diff) | |
download | php-git-ea75b1b5dbb34a8c07f53487e08a3521fc491a84.tar.gz |
This test needs local infile enabled
Diffstat (limited to 'ext/pdo_mysql')
-rw-r--r-- | ext/pdo_mysql/tests/pdo_mysql_exec_load_data.phpt | 1 |
1 files changed, 1 insertions, 0 deletions
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 b550cb8da3..ebf22ef61b 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)); |