mirror of
https://github.com/MariaDB/server.git
synced 2025-08-01 03:47:19 +03:00
cleanup: versioning style fixes
rename LString/XString classes, remove unused ones
This commit is contained in:
@ -1922,15 +1922,15 @@ struct Vers_parse_info
|
||||
start_end_t(LEX_CSTRING _start, LEX_CSTRING _end) :
|
||||
start(_start),
|
||||
end(_end) {}
|
||||
LString_i start;
|
||||
LString_i end;
|
||||
Lex_ident start;
|
||||
Lex_ident end;
|
||||
};
|
||||
|
||||
start_end_t system_time;
|
||||
start_end_t as_row;
|
||||
vers_sys_type_t check_unit;
|
||||
|
||||
void set_system_time(LString start, LString end)
|
||||
void set_system_time(Lex_ident start, Lex_ident end)
|
||||
{
|
||||
system_time.start= start;
|
||||
system_time.end= end;
|
||||
@ -1958,16 +1958,18 @@ protected:
|
||||
return as_row.start || as_row.end || system_time.start || system_time.end;
|
||||
}
|
||||
bool need_check(const Alter_info *alter_info) const;
|
||||
bool check_conditions(const LString &table_name, const LString &db) const;
|
||||
bool check_conditions(const Lex_table_name &table_name,
|
||||
const Lex_table_name &db) const;
|
||||
public:
|
||||
static const LString_i default_start;
|
||||
static const LString_i default_end;
|
||||
static const Lex_ident default_start;
|
||||
static const Lex_ident default_end;
|
||||
|
||||
bool fix_alter_info(THD *thd, Alter_info *alter_info,
|
||||
HA_CREATE_INFO *create_info, TABLE *table);
|
||||
bool fix_create_like(Alter_info &alter_info, HA_CREATE_INFO &create_info,
|
||||
TABLE_LIST &src_table, TABLE_LIST &table);
|
||||
bool check_sys_fields(const LString &table_name, const LString &db,
|
||||
bool check_sys_fields(const Lex_table_name &table_name,
|
||||
const Lex_table_name &db,
|
||||
Alter_info *alter_info, bool native);
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user