Firebird backup_data tweak

This commit is contained in:
Timothy Warren 2012-02-28 22:54:08 -05:00
parent fde790b8cb
commit b2c624c9dc

View File

@ -384,10 +384,7 @@ SQL;
$row = array_values($row);
// Quote values as needed by type
for($i=0, $icount=count($row); $i<$icount; $i++)
{
$row[$i] = (is_numeric($row[$i])) ? $row[$i] : $this->quote($row[$i]);
}
$row = array_map(array(&$this, 'quote'), $row);
$row_string = 'INSERT INTO "'.trim($t).'" ("'.implode('","', $columns).'") VALUES ('.implode(',', $row).');';