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-4109 Error out instead of sending a warning
when a non-existing table is dropped. This patch accomodates the changes made to server 10.5 as part of MDEV-11412, where the server now tries to drop the table from all storage engines when a .frm table does not exist. We were earlier retuning a warning to the client and setting the return code to 0. We now instead return ER_NO_SUCH_TABLE_IN_ENGINE error code to the server if the table does not exist in ColumnStore.
This commit is contained in:
@ -88,7 +88,7 @@ public:
|
||||
*/
|
||||
enum ResultCode { NO_ERROR, CREATE_ERROR, ALTER_ERROR, DROP_ERROR, TRUNC_ERROR,
|
||||
TOKENIZATION_ERROR, NOT_ACCEPTING_PACKAGES, PK_NOTNULL_ERROR, WARNING, USER_ERROR, NETWORK_ERROR, PARTITION_WARNING,
|
||||
WARN_NO_PARTITION
|
||||
WARN_NO_PARTITION, DROP_TABLE_NOT_IN_CATALOG_ERROR
|
||||
};
|
||||
|
||||
enum DebugLevel /** @brief Debug level type enumeration */
|
||||
|
Reference in New Issue
Block a user