summaryrefslogtreecommitdiff
path: root/sql/sql_lex.h
diff options
context:
space:
mode:
authorAlexander Barkov <bar@mariadb.com>2019-04-01 10:09:24 +0400
committerAlexander Barkov <bar@mariadb.com>2019-04-01 10:09:24 +0400
commit2d825e97df62da604fbfbc8d62d129fadfd2c59b (patch)
treea02c49590dfa5728d8e4589352039c8e6301c7f2 /sql/sql_lex.h
parent17cbae6501d230e55843079190e713421f251155 (diff)
downloadmariadb-git-2d825e97df62da604fbfbc8d62d129fadfd2c59b.tar.gz
Cleanup: removing unused type LEX_TYPE and #include
Diffstat (limited to 'sql/sql_lex.h')
-rw-r--r--sql/sql_lex.h9
1 files changed, 0 insertions, 9 deletions
diff --git a/sql/sql_lex.h b/sql/sql_lex.h
index 63500274afa..1060e1e1c5e 100644
--- a/sql/sql_lex.h
+++ b/sql/sql_lex.h
@@ -323,15 +323,6 @@ extern uint binlog_unsafe_map[256];
void binlog_unsafe_map_init();
#endif
-struct LEX_TYPE
-{
- enum enum_field_types type;
- char *length, *dec;
- CHARSET_INFO *charset;
- void set(int t, char *l, char *d, CHARSET_INFO *cs)
- { type= (enum_field_types)t; length= l; dec= d; charset= cs; }
-};
-
#ifdef MYSQL_SERVER
/*
The following hack is needed because mysql_yacc.cc does not define