mirror of
https://github.com/MariaDB/server.git
synced 2026-05-02 13:15:32 +02:00
Added new status variables:
feature_dynamic_columns,feature_fulltext,feature_gis,feature_locale,feature_subquery,feature_timezone,feature_trigger,feature_xml Opened_views, Executed_triggers, Executed_events Added new process status 'updating status' as part of 'freeing items' mysql-test/r/features.result: Test of feature_xxx status variables mysql-test/r/mysqld--help.result: Removed duplicated 'language' variable. mysql-test/r/view.result: Test of opened_views mysql-test/suite/rpl/t/rpl_start_stop_slave.test: Write more information on failure mysql-test/t/features.test: Test of feature_xxx status variables mysql-test/t/view.test: Test of opened_views sql/event_scheduler.cc: Increment executed_events status variable sql/field.cc: Increment status variable sql/item_func.cc: Increment status variable sql/item_strfunc.cc: Increment status variable sql/item_subselect.cc: Increment status variable sql/item_xmlfunc.cc: Increment status variable sql/mysqld.cc: Add new status variables to 'show status' sql/mysqld.h: Added executed_events sql/sql_base.cc: Increment status variable sql/sql_class.h: Add new status variables sql/sql_parse.cc: Added new process status 'updating status' as part of 'freeing items' sql/sql_trigger.cc: Increment status variable sql/sys_vars.cc: Increment status variable sql/tztime.cc: Increment status variable
This commit is contained in:
parent
5161b3ddde
commit
3a793b9d4d
20 changed files with 328 additions and 21 deletions
|
|
@ -2329,7 +2329,6 @@ my_tz_find(THD *thd, const String *name)
|
|||
|
||||
if (!str_to_offset(name->ptr(), name->length(), &offset))
|
||||
{
|
||||
|
||||
if (!(result_tz= (Time_zone_offset *)my_hash_search(&offset_tzs,
|
||||
(const uchar *)&offset,
|
||||
sizeof(long))))
|
||||
|
|
@ -2371,6 +2370,9 @@ my_tz_find(THD *thd, const String *name)
|
|||
|
||||
mysql_mutex_unlock(&tz_LOCK);
|
||||
|
||||
if (result_tz && result_tz != my_tz_SYSTEM && result_tz != my_tz_UTC)
|
||||
status_var_increment(thd->status_var.feature_timezone);
|
||||
|
||||
DBUG_RETURN(result_tz);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue