@@ -592,7 +592,7 @@ discard block |
||
| 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 |
||
| 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 | |
@@ -397,7 +397,7 @@ |
||
| 397 | 397 | $mysqlClientToolConnectionString = $database->getMysqlClientToolConnectionString(); |
| 398 | 398 | |
| 399 | 399 | $excludeTablesUserInput = $this->excludeTables($input, $output); // Unprefixed |
| 400 | - $stripTablesUserInput = $this->stripTables($input, $output); // Unprefixed |
|
| 400 | + $stripTablesUserInput = $this->stripTables($input, $output); // Unprefixed |
|
| 401 | 401 | |
| 402 | 402 | // Structure dump part (for stripped tables) |
| 403 | 403 | $tablesForStructureDump = $stripTablesUserInput; |
@@ -377,7 +377,7 @@ |
||
| 377 | 377 | [$this->equalTo('SET FOREIGN_KEY_CHECKS = 1;')] |
| 378 | 378 | ) |
| 379 | 379 | ->willReturnOnConsecutiveCalls( |
| 380 | - $this->returnValue(1), // SET FOREIGN_KEY_CHECKS = 0; |
|
| 380 | + $this->returnValue(1), // SET FOREIGN_KEY_CHECKS = 0; |
|
| 381 | 381 | $this->throwException(new \PDOException('Drop failed')), // DROP VIEW problem_view |
| 382 | 382 | $this->returnValue(1) // SET FOREIGN_KEY_CHECKS = 1; |
| 383 | 383 | ); |