Minor formatting changes
This commit is contained in:
parent
642b17b28f
commit
d3d8e2e1af
@ -57,7 +57,7 @@ class firebird extends DB_PDO {
|
||||
public function truncate($table)
|
||||
{
|
||||
// Firebird lacka a truncate command
|
||||
$sql = 'DELETE FROM '.$table.'"';
|
||||
$sql = 'DELETE FROM "'.$table.'"';
|
||||
$this->query($sql);
|
||||
}
|
||||
|
||||
|
@ -106,7 +106,7 @@ SQL;
|
||||
*/
|
||||
public function load_database($db, $name)
|
||||
{
|
||||
$sql = "ATTACH DATABASE '{$db}' AS \"{$name}\"";
|
||||
$sql = 'ATTACH DATABASE "'.$db.'" AS "'.$name.'"';
|
||||
$this->query($sql);
|
||||
}
|
||||
|
||||
|
@ -72,7 +72,11 @@ class FirebirdTest extends UnitTestCase {
|
||||
function TestCreateTable()
|
||||
{
|
||||
//Attempt to create the table
|
||||
$sql = $this->db->manip->create_table('create_test', array('id' => 'SMALLINT', 'key' => 'VARCHAR(64)', 'val' => 'BLOB SUB_TYPE TEXT'));
|
||||
$sql = $this->db->manip->create_table('create_test', array(
|
||||
'id' => 'SMALLINT',
|
||||
'key' => 'VARCHAR(64)',
|
||||
'val' => 'BLOB SUB_TYPE TEXT'
|
||||
));
|
||||
$this->db->query($sql);
|
||||
|
||||
//This test fails for an unknown reason, when clearly the table exists
|
||||
|
Loading…
Reference in New Issue
Block a user