mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-21 23:21:59 +00:00
Fix engine parsing in create query.
This commit is contained in:
parent
f615b062d8
commit
540a99c93a
@ -287,7 +287,8 @@ bool ParserCreateQuery::parseImpl(Pos & pos, ASTPtr & node, Expected & expected)
|
||||
}
|
||||
|
||||
/// Optional - ENGINE can be specified.
|
||||
storage_p.parse(pos, storage, expected);
|
||||
if (!storage)
|
||||
storage_p.parse(pos, storage, expected);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user