Skip to content

Commit 9ca7910

Browse files
committed
Merge commit 'ea75b1b' into PHP-5.5
* commit 'ea75b1b': This test needs local infile enabled
2 parents 3d0aca8 + ea75b1b commit 9ca7910

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

ext/pdo_mysql/tests/pdo_mysql_exec_load_data.phpt

+1
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@ if (($tmp[1] !== 'localhost') && ($tmp[1] !== '127.0.0.1'))
4848
}
4949

5050
require_once(dirname(__FILE__) . DIRECTORY_SEPARATOR . 'mysql_pdo_test.inc');
51+
putenv('PDOTEST_ATTR='.serialize([PDO::MYSQL_ATTR_LOCAL_INFILE=>true]));
5152
$db = MySQLPDOTest::factory();
5253
MySQLPDOTest::createTestTable($db, MySQLPDOTest::detect_transactional_mysql_engine($db));
5354

0 commit comments

Comments
 (0)