We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 194383e commit 357ff4eCopy full SHA for 357ff4e
src/Ifsnop/Mysqldump/Mysqldump.php
@@ -373,8 +373,12 @@ private function listValues($tablename)
373
foreach ($resultSet as $r) {
374
$vals = array();
375
foreach ($r as $val) {
376
- $vals[] = is_null($val) ? "NULL" :
377
- $this->_dbHandler->quote($val);
+ if (is_null($val))
+ $vals[] = "NULL";
378
+ else if (ctype_digit($val))
379
+ $vals[] = $val;
380
+ else
381
+ $vals[] = $this->_dbHandler->quote($val);
382
}
383
if ($onlyOnce || !$this->_dumpSettings['extended-insert']) {
384
$lineSize += $this->_compressManager->write(
0 commit comments