1--TEST--
2ensure default for local infile is off
3--SKIPIF--
4<?php
5require_once(__DIR__ . DIRECTORY_SEPARATOR . 'skipif.inc');
6require_once(__DIR__ . DIRECTORY_SEPARATOR . 'mysql_pdo_test.inc');
7MySQLPDOTest::skip();
8?>
9--FILE--
10<?php
11require_once(__DIR__ . DIRECTORY_SEPARATOR . 'config.inc');
12require_once(__DIR__ . DIRECTORY_SEPARATOR . 'mysql_pdo_test.inc');
13
14$dsn = MySQLPDOTest::getDSN();
15$user = PDO_MYSQL_TEST_USER;
16$pass = PDO_MYSQL_TEST_PASS;
17
18$db = new PDO($dsn, $user, $pass);
19echo var_export($db->getAttribute(PDO::MYSQL_ATTR_LOCAL_INFILE)), "\n";
20echo "done!\n";
21?>
22--EXPECT--
23false
24done!
25