diff options
author | serg@serg.mylan <> | 2005-01-24 19:41:42 +0100 |
---|---|---|
committer | serg@serg.mylan <> | 2005-01-24 19:41:42 +0100 |
commit | c76405a7ee4f7ceb928c6d09d9704f028d6dde6b (patch) | |
tree | 0c73a61f5c88d003eae464001af7656745e9ba4e /sql/tztime.cc | |
parent | 24468e48f32fb7f5d4e76047acb2e892ffd3825f (diff) | |
parent | 1ca9d6497b7c3c276387470fce52e6b1cadc4f67 (diff) | |
download | mariadb-git-c76405a7ee4f7ceb928c6d09d9704f028d6dde6b.tar.gz |
merged
Diffstat (limited to 'sql/tztime.cc')
-rw-r--r-- | sql/tztime.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/tztime.cc b/sql/tztime.cc index b9b9e4821c4..4b769aed40c 100644 --- a/sql/tztime.cc +++ b/sql/tztime.cc @@ -1861,7 +1861,7 @@ tz_load_from_open_tables(const String *tz_name, TABLE_LIST *tz_tables) { ttid= (uint)table->field[1]->val_int(); - if (ttid > TZ_MAX_TYPES) + if (ttid >= TZ_MAX_TYPES) { sql_print_error("Error while loading time zone description from " "mysql.time_zone_transition_type table: too big " |