1<?php
2$db = MySQLPDOTest::factory();
3$stmt = $db->query("SHOW VARIABLES LIKE 'local_infile'");
4if (($row = $stmt->fetch(PDO::FETCH_ASSOC)) && ($row['value'] != 'ON'))
5	die("skip Server variable 'local_infile' seems not set to 'ON', found '". $row['value'] ."'");
6?>
7