summaryrefslogtreecommitdiff
path: root/sql/sql_class.h
diff options
context:
space:
mode:
Diffstat (limited to 'sql/sql_class.h')
-rw-r--r--sql/sql_class.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/sql/sql_class.h b/sql/sql_class.h
index 06bc29dbb2a..eafe6228ae3 100644
--- a/sql/sql_class.h
+++ b/sql/sql_class.h
@@ -421,7 +421,11 @@ struct system_variables
CHARSET_INFO *collation_server;
CHARSET_INFO *collation_database;
CHARSET_INFO *collation_connection;
- sys_var_datetime_format datetime_formats[3];
+
+ /* DATE, DATETIME and TIME formats */
+ DATE_TIME_FORMAT *date_format;
+ DATE_TIME_FORMAT *datetime_format;
+ DATE_TIME_FORMAT *time_format;
};
void free_tmp_table(THD *thd, TABLE *entry);