diff options
author | unknown <bell@sanja.is.com.ua> | 2004-08-24 15:37:51 +0300 |
---|---|---|
committer | unknown <bell@sanja.is.com.ua> | 2004-08-24 15:37:51 +0300 |
commit | 46a0c8a7df4ef7cc53bbade3ffcbff4b4a046fd8 (patch) | |
tree | effaa3c4380adbb6925dbc91f7ad732793a34fe1 /sql/sql_view.h | |
parent | 2f16033f2f427380b544aff3628f5eb164ff229c (diff) | |
download | mariadb-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.h | 7 |
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; |