Lines Matching refs:dbh
15 $dbh = getDbConnection();
16 $dbh->setAttribute(PDO::ATTR_ERRMODE, PDO::ERRMODE_WARNING);
17 $dbh->exec("CREATE TABLE test64037 (ID INTEGER NOT NULL, TEXT VARCHAR(10), COST NUMERIC(15, 2))");
18 $dbh->exec("INSERT INTO test64037 (ID, TEXT, COST) VALUES (1, 'test', -1.0)");
19 $dbh->exec("INSERT INTO test64037 (ID, TEXT, COST) VALUES (2, 'test', -0.99)");
20 $dbh->exec("INSERT INTO test64037 (ID, TEXT, COST) VALUES (3, 'test', -1.01)");
23 $stmt = $dbh->prepare($query);
31 $stmt = $dbh->prepare('DELETE FROM test64037');
35 unset($dbh);
41 $dbh = getDbConnection();
42 @$dbh->exec("DROP TABLE test64037");
43 unset($dbh);