Lines Matching refs:dbh
14 $dbh = getDbConnection();
15 var_dump($dbh->getAttribute(PDO::ATTR_CONNECTION_STATUS));
17 $dbh->setAttribute(PDO::ATTR_ERRMODE, PDO::ERRMODE_WARNING);
18 $dbh->setAttribute(PDO::FB_ATTR_TIMESTAMP_FORMAT, '%Y-%m-%d %H:%M:%S');
20 $dbh->exec("CREATE TABLE test_execute (id SMALLINT NOT NULL PRIMARY KEY, text VARCHAR(32),
22 $dbh->exec("INSERT INTO test_execute (id,text) VALUES (1,'bla')");
24 $s = $dbh->prepare("SELECT * FROM test_execute WHERE id=? FOR UPDATE");
40 var_dump($dbh->exec("UPDATE test_execute SET id=2 WHERE CURRENT OF c"));
45 unset($dbh);
51 $dbh = getDbConnection();
52 @$dbh->exec('DROP TABLE test_execute');
53 unset($dbh);