diff options
author | serg@serg.mylan <> | 2005-01-24 15:48:25 +0100 |
---|---|---|
committer | serg@serg.mylan <> | 2005-01-24 15:48:25 +0100 |
commit | 67ba2e367a2d21321ae58048d131ab39248dea00 (patch) | |
tree | d0b61b703f3c601368669e4acab45d7567a4669b /sql/tztime.cc | |
parent | b53757ba91f67885911f677d09a2757774998b7b (diff) | |
download | mariadb-git-67ba2e367a2d21321ae58048d131ab39248dea00.tar.gz |
fixes/cleanups according to Coverity report
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 c2143b0d5dd..597389220f7 100644 --- a/sql/tztime.cc +++ b/sql/tztime.cc @@ -1825,7 +1825,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 " |