mirror of
https://github.com/MariaDB/server.git
synced 2026-04-25 09:45:31 +02:00
MDEV-32104 remove deprecated features
In particular: * @@debug deprecated since 5.5.37 * sr_YU locale deprecated since 10.0.11 * "engine_condition_pushdown" in the @@optimizer_switch deprecated since 10.1.1 * @@date_format, @@datetime_format, @@time_format, @@max_tmp_tables deprecated since 10.1.2 * @@wsrep_causal_reads deprecated since 10.1.3 * "parser" in mroonga table comment deprecated since 10.2.11
This commit is contained in:
parent
4f9396b9f8
commit
82174dae06
161 changed files with 317 additions and 2308 deletions
|
|
@ -81,11 +81,6 @@ void make_truncated_value_warning(THD *thd,
|
|||
const char *db_name, const char *table_name,
|
||||
const char *field_name);
|
||||
|
||||
extern DATE_TIME_FORMAT *date_time_format_make(timestamp_type format_type,
|
||||
const char *format_str,
|
||||
uint format_length);
|
||||
extern DATE_TIME_FORMAT *date_time_format_copy(THD *thd,
|
||||
DATE_TIME_FORMAT *format);
|
||||
const char *get_date_time_format_str(KNOWN_DATE_TIME_FORMAT *format,
|
||||
timestamp_type type);
|
||||
bool my_TIME_to_str(const MYSQL_TIME *ltime, String *str, uint dec);
|
||||
|
|
@ -128,24 +123,7 @@ void calc_time_from_sec(MYSQL_TIME *to, ulong seconds, ulong microseconds);
|
|||
uint calc_week(const MYSQL_TIME *l_time, uint week_behaviour, uint *year);
|
||||
|
||||
int calc_weekday(long daynr,bool sunday_first_day_of_week);
|
||||
bool parse_date_time_format(timestamp_type format_type,
|
||||
const char *format, uint format_length,
|
||||
DATE_TIME_FORMAT *date_time_format);
|
||||
|
||||
/* convenience wrapper */
|
||||
inline bool parse_date_time_format(timestamp_type format_type,
|
||||
DATE_TIME_FORMAT *date_time_format)
|
||||
{
|
||||
return parse_date_time_format(format_type,
|
||||
date_time_format->format.str,
|
||||
(uint) date_time_format->format.length,
|
||||
date_time_format);
|
||||
}
|
||||
|
||||
|
||||
extern DATE_TIME_FORMAT global_date_format;
|
||||
extern DATE_TIME_FORMAT global_datetime_format;
|
||||
extern DATE_TIME_FORMAT global_time_format;
|
||||
extern KNOWN_DATE_TIME_FORMAT known_date_time_formats[];
|
||||
extern LEX_CSTRING interval_type_to_name[];
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue