Skip to content

Commit cf8049c

Browse files
Merge pull request #198 from aswaniprakash/create_or_replace
Create or replace view query not working issue solved
2 parents a47a425 + a829e1e commit cf8049c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Statements/CreateStatement.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ class CreateStatement extends Statement
3737
'TEMPORARY' => 1,
3838

3939
// CREATE VIEW
40-
'OR REPLACE' => array(2, 'var='),
40+
'OR REPLACE' => 2,
4141
'ALGORITHM' => array(3, 'var='),
4242
// `DEFINER` is also used for `CREATE FUNCTION / PROCEDURE`
4343
'DEFINER' => array(4, 'expr='),

0 commit comments

Comments
 (0)