Lines Matching refs:pdo
4 pdo
15 $pdo = MySQLPDOTest::factory();
16 $pdo->setAttribute(PDO::ATTR_ERRMODE, PDO::ERRMODE_EXCEPTION);
18 $pdo->exec('DROP PROCEDURE IF EXISTS test_procedure_error_at_second');
19 $pdo->exec('CREATE PROCEDURE test_procedure_error_at_second ()
25 $pdo->setAttribute(PDO::ATTR_EMULATE_PREPARES, true);
26 $st = $pdo->query('CALL test_procedure_error_at_second()');
35 $pdo->setAttribute(PDO::ATTR_EMULATE_PREPARES, false);
36 $st = $pdo->query('CALL test_procedure_error_at_second()');
49 $pdo = MySQLPDOTest::factory();
50 $pdo->query('DROP PROCEDURE IF EXISTS test_procedure_error_at_second');