summaryrefslogtreecommitdiff
path: root/sql/sql_view.h
diff options
context:
space:
mode:
authorunknown <bell@sanja.is.com.ua>2004-08-24 15:37:51 +0300
committerunknown <bell@sanja.is.com.ua>2004-08-24 15:37:51 +0300
commit46a0c8a7df4ef7cc53bbade3ffcbff4b4a046fd8 (patch)
treeeffaa3c4380adbb6925dbc91f7ad732793a34fe1 /sql/sql_view.h
parent2f16033f2f427380b544aff3628f5eb164ff229c (diff)
downloadmariadb-git-46a0c8a7df4ef7cc53bbade3ffcbff4b4a046fd8.tar.gz
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
Diffstat (limited to 'sql/sql_view.h')
-rw-r--r--sql/sql_view.h7
1 files changed, 0 insertions, 7 deletions
diff --git a/sql/sql_view.h b/sql/sql_view.h
index 36eae6cdcfc..431f82a5bb8 100644
--- a/sql/sql_view.h
+++ b/sql/sql_view.h
@@ -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;