Firebird Prepared Statement test
This commit is contained in:
parent
060ebf6876
commit
6a60b32ef0
@ -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));
|
||||||
|
|
||||||
|
}
|
||||||
}
|
}
|
Loading…
Reference in New Issue
Block a user