@@ -165,7 +165,7 @@ discard block |
||
165 | 165 | 'skip-comments' => false, |
166 | 166 | 'skip-dump-date' => false, |
167 | 167 | 'skip-definer' => false, |
168 | - 'append_extra_sqls' => false, |
|
168 | + 'append_extra_sqls' => false, |
|
169 | 169 | 'where' => '', |
170 | 170 | /* deprecated */ |
171 | 171 | 'disable-foreign-keys-check' => true |
@@ -440,12 +440,12 @@ discard block |
||
440 | 440 | $this->exportViews(); |
441 | 441 | $this->exportEvents(); |
442 | 442 | |
443 | - // extra sqls that should be run |
|
443 | + // extra sqls that should be run |
|
444 | 444 | if ($this->dumpSettings['append_extra_sqls']) { |
445 | 445 | $this->compressManager->write("-- START EXTRA SQLS".PHP_EOL); |
446 | - $this->compressManager->write("SET autocommit=0;".PHP_EOL); |
|
446 | + $this->compressManager->write("SET autocommit=0;".PHP_EOL); |
|
447 | 447 | $this->compressManager->write($this->dumpSettings['append_extra_sqls'].PHP_EOL); |
448 | - $this->compressManager->write("COMMIT;".PHP_EOL); |
|
448 | + $this->compressManager->write("COMMIT;".PHP_EOL); |
|
449 | 449 | $this->compressManager->write("-- END EXTRA SQLS".PHP_EOL); |
450 | 450 | } |
451 | 451 | |
@@ -1886,8 +1886,8 @@ discard block |
||
1886 | 1886 | $createTable = preg_replace($match, $replace, $createTable); |
1887 | 1887 | } |
1888 | 1888 | |
1889 | - if ($this->dumpSettings['if-not-exists'] ) { |
|
1890 | - $createTable = preg_replace('/^CREATE TABLE/', 'CREATE TABLE IF NOT EXISTS', $createTable); |
|
1889 | + if ($this->dumpSettings['if-not-exists'] ) { |
|
1890 | + $createTable = preg_replace('/^CREATE TABLE/', 'CREATE TABLE IF NOT EXISTS', $createTable); |
|
1891 | 1891 | } |
1892 | 1892 | |
1893 | 1893 | $ret = "/*!40101 SET @saved_cs_client = @@character_set_client */;".PHP_EOL. |