diff options
author | gluh@gluh.mysql.r18.ru <> | 2003-07-15 12:55:29 +0500 |
---|---|---|
committer | gluh@gluh.mysql.r18.ru <> | 2003-07-15 12:55:29 +0500 |
commit | 04ac36a4679fb3f1b816201c655912d88770c572 (patch) | |
tree | a122be96181560b773419efd95b6a4e6c21a3051 /sql/item_timefunc.cc | |
parent | 239837c8805b65309a5ea98506d925ec778d85ca (diff) | |
download | mariadb-git-04ac36a4679fb3f1b816201c655912d88770c572.tar.gz |
Fix bug: mysqld crashes on func_sapdb test.
Diffstat (limited to 'sql/item_timefunc.cc')
-rw-r--r-- | sql/item_timefunc.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/item_timefunc.cc b/sql/item_timefunc.cc index 4fdb1b13d24..c2d1504e94a 100644 --- a/sql/item_timefunc.cc +++ b/sql/item_timefunc.cc @@ -380,7 +380,7 @@ longlong Item_func_time_to_sec::val_int() static bool get_interval_value(Item *args,interval_type int_type, String *str_value, INTERVAL *t) { - long array[4],value; + long array[5],value; const char *str; uint32 length; LINT_INIT(value); LINT_INIT(str); LINT_INIT(length); |