diff options
author | gbichot@production.mysql.com <> | 2005-03-22 00:26:12 +0100 |
---|---|---|
committer | gbichot@production.mysql.com <> | 2005-03-22 00:26:12 +0100 |
commit | c766efdc5db3f54650f9202225a82db715e75e6f (patch) | |
tree | a68553da2993095e4192c9deed704a0dc63b5e8b /sql/tztime.h | |
parent | 371850a4596cea70a250a97b5a70c5c2425f1de0 (diff) | |
download | mariadb-git-c766efdc5db3f54650f9202225a82db715e75e6f.tar.gz |
Last part of WL#1062: better replication of timezones: no more use
of SET ONE_SHOT; storing tz info directly in event (if this info is needed),
it's now allowed to have different global tz on master and slave.
Diffstat (limited to 'sql/tztime.h')
-rw-r--r-- | sql/tztime.h | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/sql/tztime.h b/sql/tztime.h index caf663fc8cb..777e521d761 100644 --- a/sql/tztime.h +++ b/sql/tztime.h @@ -61,6 +61,7 @@ extern Time_zone * my_tz_UTC; extern Time_zone * my_tz_SYSTEM; extern TABLE_LIST * my_tz_get_table_list(THD *thd, TABLE_LIST ***global_next_ptr); extern Time_zone * my_tz_find(const String *name, TABLE_LIST *tz_tables); +extern Time_zone * my_tz_find_with_opening_tz_tables(THD *thd, const String *name); extern my_bool my_tz_init(THD *org_thd, const char *default_tzname, my_bool bootstrap); extern void my_tz_free(); @@ -96,10 +97,4 @@ inline bool my_tz_check_n_skip_implicit_tables(TABLE_LIST **table, return FALSE; } -/* - Maximum length of time zone name that we support - (Time zone name is char(64) in db) -*/ -#define MAX_TIME_ZONE_NAME_LENGTH 72 - #endif /* !defined(TESTTIME) && !defined(TZINFO2SQL) */ |