diff options
author | MaurĂcio Meneghini Fauth <mauriciofauth@gmail.com> | 2018-10-08 23:22:43 -0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-10-08 23:22:43 -0300 |
commit | cf8049c54840037d9bdc3d32d38c69885a944fc4 (patch) | |
tree | 2be0fb3fd8eddb5eb4da07eefd64acc3d1204be6 | |
parent | a47a425ad96ca9208866714e03ed4073a78cbd74 (diff) | |
parent | a829e1e52298af92be79ccd3bc543c811d20dd49 (diff) | |
download | sql-parser-cf8049c54840037d9bdc3d32d38c69885a944fc4.zip sql-parser-cf8049c54840037d9bdc3d32d38c69885a944fc4.tar.gz sql-parser-cf8049c54840037d9bdc3d32d38c69885a944fc4.tar.bz2 |
Merge pull request #198 from aswaniprakash/create_or_replace
Create or replace view query not working issue solved
-rw-r--r-- | src/Statements/CreateStatement.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Statements/CreateStatement.php b/src/Statements/CreateStatement.php index ee7bd00..6510e52 100644 --- a/src/Statements/CreateStatement.php +++ b/src/Statements/CreateStatement.php @@ -37,7 +37,7 @@ class CreateStatement extends Statement 'TEMPORARY' => 1, // CREATE VIEW - 'OR REPLACE' => array(2, 'var='), + 'OR REPLACE' => 2, 'ALGORITHM' => array(3, 'var='), // `DEFINER` is also used for `CREATE FUNCTION / PROCEDURE` 'DEFINER' => array(4, 'expr='), |