Firebird Prepared Statement test

This commit is contained in:
Timothy Warren 2012-02-23 09:25:10 -05:00
parent 060ebf6876
commit 6a60b32ef0

View File

@ -102,4 +102,13 @@ class FirebirdTest extends UnitTestCase {
$table_exists = in_array('create_test', $this->tables); $table_exists = in_array('create_test', $this->tables);
$this->assertFalse($table_exists); $this->assertFalse($table_exists);
} }
function TestPreparedStatements()
{
$sql = 'INSERT INTO "create_test" ("id") VALUES (?),(?),(?)';
$this->db->prepare($sql);
$this->db->execute(array(1,2,3));
}
} }