|
@@ -1875,7 +1875,7 @@ discard block |
|
|
block discarded – undo |
|
1875
|
1875
|
$createTable = preg_replace($match, $replace, $createTable); |
|
1876
|
1876
|
} |
|
1877
|
1877
|
|
|
1878
|
|
- if ($this->dumpSettings['if-not-exists'] ) { |
|
|
1878
|
+ if ($this->dumpSettings['if-not-exists']) { |
|
1879
|
1879
|
$createTable = preg_replace('/^CREATE TABLE/', 'CREATE TABLE IF NOT EXISTS', $createTable); |
|
1880
|
1880
|
} |
|
1881
|
1881
|
|
|
@@ -1978,7 +1978,7 @@ discard block |
|
|
block discarded – undo |
|
1978
|
1978
|
$characterSetClient = $row['character_set_client']; |
|
1979
|
1979
|
$collationConnection = $row['collation_connection']; |
|
1980
|
1980
|
$sqlMode = $row['sql_mode']; |
|
1981
|
|
- if ( $this->dumpSettings['skip-definer'] ) { |
|
|
1981
|
+ if ($this->dumpSettings['skip-definer']) { |
|
1982
|
1982
|
if ($functionStmtReplaced = preg_replace( |
|
1983
|
1983
|
'/^(CREATE)\s+('.self::DEFINER_RE.')?\s+(FUNCTION\s.*)$/s', |
|
1984
|
1984
|
'\1 \3', |
Please login to merge, or discard this patch.