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