mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
Cleanup: removing unused type LEX_TYPE and #include
This commit is contained in:
@ -22,7 +22,6 @@
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include "sql_string.h" // LEX_STRING
|
#include "sql_string.h" // LEX_STRING
|
||||||
#include "mysql_com.h" // enum_field_types
|
|
||||||
#include "field.h" // Create_field
|
#include "field.h" // Create_field
|
||||||
#include "sql_array.h" // Dynamic_array
|
#include "sql_array.h" // Dynamic_array
|
||||||
|
|
||||||
|
@ -323,15 +323,6 @@ extern uint binlog_unsafe_map[256];
|
|||||||
void binlog_unsafe_map_init();
|
void binlog_unsafe_map_init();
|
||||||
#endif
|
#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
|
#ifdef MYSQL_SERVER
|
||||||
/*
|
/*
|
||||||
The following hack is needed because mysql_yacc.cc does not define
|
The following hack is needed because mysql_yacc.cc does not define
|
||||||
|
Reference in New Issue
Block a user