1<?php 2if (!$db) { 3 require dirname(__FILE__) . '/../../../ext/pdo/tests/pdo_test.inc'; 4 $db = PDOTest::test_factory(dirname(__FILE__) . '/common.phpt'); 5} 6// $db->exec('DROP TABLE IF EXISTS test'); 7$db->exec('CREATE TABLE test(id INT, label CHAR(1), PRIMARY KEY(id)) ENGINE=' . $engine); 8$db->exec('INSERT INTO test(id, label) VALUES (1, "a"), (2, "b"), (3, "c"), (4, "d"), (5, "e"), (6, "f")'); 9?> 10