]> granicus.if.org Git - php/commitdiff
This test needs local infile enabled
authorRasmus Lerdorf <rasmus@php.net>
Fri, 2 Aug 2013 19:33:18 +0000 (15:33 -0400)
committerRasmus Lerdorf <rasmus@php.net>
Fri, 2 Aug 2013 19:33:18 +0000 (15:33 -0400)
ext/pdo_mysql/tests/pdo_mysql_exec_load_data.phpt

index b550cb8da318447d881e20ad35cb18ca62eaffc6..ebf22ef61bec0a2d63608b9c5ffdec471ebf9a76 100644 (file)
@@ -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));