Lines Matching refs:pdo
5 if (!extension_loaded('pdo') || !extension_loaded('pdo_pgsql')) die('skip not loaded');
7 require __DIR__ . '/../../../ext/pdo/tests/pdo_test.inc';
12 require __DIR__ . '/../../../ext/pdo/tests/pdo_test.inc';
100 public function prepare( $pdo, $sql )
102 //return $pdo->prepare( $sql );
103 $this->cached_statements[$sql] = $pdo->prepare( $sql );
113 $pdo = PDOTest::test_factory(__DIR__ . '/common.phpt');
115 $prepared_statement_cache = new PreparedStatementCache( $pdo );
118 $statement = $prepared_statement_cache->prepare( $pdo, <<<SQL
128 $pdo = PDOTest::test_factory(__DIR__ . '/common.phpt');
130 $pdo->exec( 'CREATE TEMPORARY TABLE temp_table ( test_column INT NOT NULL );' );
132 $this->cache = new PreparedStatementCache( $pdo );
134 $statement = $this->cache->prepare( $pdo, 'SELECT * FROM temp_table WHERE test_column > 0' );