Firebird backup_data tweak
This commit is contained in:
parent
fde790b8cb
commit
b2c624c9dc
@ -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).');';
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user