Lines Matching refs:test
18 if (4 != fwrite($fp, 'test')) {
38 printf("[%03d + 1] Cannot remove old test file\n", $offset);
44 printf("[%03d + 2] Cannot create test file '%s'\n", $offset, $file);
51 printf("[%03d + 3] Failed to create test file '%s'\n", $offset, $file);
55 $db->exec('DROP TABLE IF EXISTS test');
56 $sql = sprintf('CREATE TABLE test(id INT, label BLOB) ENGINE=%s', PDO_MYSQL_TEST_ENGINE);
59 if (!$stmt = $db->prepare('INSERT INTO test(id, label) VALUES (?, ?)')) {
66 printf("[%03d + 5] Cannot create test file '%s'\n", $offset, $file);
86 $stmt2 = $db->query('SELECT id, label FROM test WHERE id = 1');
95 // Lets test the chr(0) handling in case the streaming has failed:
97 $db->exec('DELETE FROM test');
98 $stmt = $db->prepare('INSERT INTO test(id, label) VALUES (?, ?)');
104 $stmt2 = $db->query('SELECT id, label FROM test WHERE id = 1');
142 $db->exec('DROP TABLE IF EXISTS test');