You've already forked mariadb-columnstore-engine
mirror of
https://github.com/mariadb-corporation/mariadb-columnstore-engine.git
synced 2025-08-01 06:46:55 +03:00
MCOL-5890: DROP TABLE IF EXISTS should not generate errors for non existing tables
This commit is contained in:
committed by
Leonid Fedorov
parent
a6ab9bd615
commit
3e20a3d566
@ -1371,7 +1371,7 @@ struct DropTableStatement : public SqlStatement
|
||||
DropTableStatement() : fTableName(nullptr)
|
||||
{
|
||||
}
|
||||
EXPORT DropTableStatement(QualifiedName* qualifiedName, bool cascade);
|
||||
EXPORT DropTableStatement(QualifiedName* qualifiedName, bool cascade, bool ifExists = false);
|
||||
|
||||
/** @brief Dump to stdout. */
|
||||
EXPORT std::ostream& put(std::ostream& os) const override;
|
||||
@ -1390,7 +1390,8 @@ struct DropTableStatement : public SqlStatement
|
||||
}
|
||||
|
||||
QualifiedName* fTableName;
|
||||
bool fCascade;
|
||||
bool fCascade = false;
|
||||
bool fIfExists = false;
|
||||
};
|
||||
|
||||
/** @brief DebugStatement
|
||||
|
Reference in New Issue
Block a user