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