1
0
mirror of https://github.com/MariaDB/server.git synced 2025-08-08 11:22:35 +03:00

MDEV-25292 Refactoring: removed TABLEOP_HOOKS

TABLEOP_HOOKS is a strange interface: proxy interface calls virtual
interface. Since it is used only for select_create::prepare() such
complexity is overwhelming.
This commit is contained in:
Aleksey Midenkov
2022-08-31 11:55:03 +03:00
parent 409b8a86de
commit 32d88faec5
3 changed files with 45 additions and 116 deletions

View File

@@ -6162,8 +6162,8 @@ public:
private:
TABLE *create_table_from_items(THD *thd,
List<Item> *items,
MYSQL_LOCK **lock,
TABLEOP_HOOKS *hooks);
MYSQL_LOCK **lock);
int postlock(THD *thd, TABLE **tables);
};
#include <myisam.h>