|
@@ -592,7 +592,7 @@ discard block |
|
|
block discarded – undo |
|
592
|
592
|
return $input->getOption('keep-definer') |
|
593
|
593
|
? '' |
|
594
|
594
|
: ' | LANG=C LC_CTYPE=C LC_ALL=C sed -E ' |
|
595
|
|
- . escapeshellarg('s/DEFINER[ ]*=[ ]*`[^`]+`@`[^`]+`/DEFINER=CURRENT_USER/g'); |
|
|
595
|
+ . escapeshellarg('s/DEFINER[ ]*=[ ]*`[^`]+`@`[^`]+`/DEFINER=CURRENT_USER/g'); |
|
596
|
596
|
} |
|
597
|
597
|
|
|
598
|
598
|
/** |
|
@@ -790,7 +790,7 @@ discard block |
|
|
block discarded – undo |
|
790
|
790
|
// However, if --no-views is active, views will be added to ignore-table list later. |
|
791
|
791
|
$allActualTables = $database->getTables(true); |
|
792
|
792
|
if (in_array($table, $allActualTables, true)) { |
|
793
|
|
- $noDataOptions[] = '--no-data=' . escapeshellarg($this->prefixTableIfNeeded($table, $dbPrefix)); |
|
|
793
|
+ $noDataOptions[] = '--no-data=' . escapeshellarg($this->prefixTableIfNeeded($table, $dbPrefix)); |
|
794
|
794
|
} |
|
795
|
795
|
} |
|
796
|
796
|
|
Please login to merge, or discard this patch.