mirror of
https://github.com/MariaDB/server.git
synced 2026-01-06 05:22:24 +03:00
sending right error message where VIEW is not expected (BUG#4606)
mysql-test/r/view.result: using VIEW where table is required mysql-test/t/view.test: using VIEW where table is required sql/sql_base.cc: sending right error message where VIEW is not expected sql/sql_view.h: frm_type_enum moved to table.h becuae used in TABLE_LIST sql/table.h: frm_type_enum moved to table.h becuae used in TABLE_LIST
This commit is contained in:
@@ -27,13 +27,6 @@ bool check_key_in_view(THD *thd, TABLE_LIST * view);
|
||||
|
||||
void insert_view_fields(List<Item> *list, TABLE_LIST *view);
|
||||
|
||||
enum frm_type_enum
|
||||
{
|
||||
FRMTYPE_ERROR,
|
||||
FRMTYPE_TABLE,
|
||||
FRMTYPE_VIEW
|
||||
};
|
||||
|
||||
frm_type_enum mysql_frm_type(char *path);
|
||||
|
||||
extern TYPELIB sql_updatable_view_key_typelib;
|
||||
|
||||
Reference in New Issue
Block a user