Skip to content

Commit a829e1e

Browse files
committed
Create or replace view query not working issue solved
Signed-off-by: Aswani Prakash <[email protected]>
1 parent 4ab8ce3 commit a829e1e

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)