We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a5ab2b7 commit d173a6fCopy full SHA for d173a6f
src/Ifsnop/Mysqldump/Mysqldump.php
@@ -1946,7 +1946,7 @@ public function create_view($row)
1946
1947
if ($viewStmtReplaced = preg_replace(
1948
'/^(CREATE(?:\s+ALGORITHM=(?:UNDEFINED|MERGE|TEMPTABLE))?)\s+('
1949
- .self::DEFINER_RE.'(?:\s+SQL SECURITY DEFINER|INVOKER)?)?\s+(VIEW .+)$/',
+ .self::DEFINER_RE.'(?:\s+SQL SECURITY (?:DEFINER|INVOKER))?)?\s+(VIEW .+)$/',
1950
'/*!50001 \1 */'.PHP_EOL.$definerStr.'/*!50001 \3 */',
1951
$viewStmt,
1952
1
0 commit comments