diff options
author | unknown <gluh@gluh.mysql.r18.ru> | 2003-07-15 12:55:29 +0500 |
---|---|---|
committer | unknown <gluh@gluh.mysql.r18.ru> | 2003-07-15 12:55:29 +0500 |
commit | a1f92f0d12c3a1c32377f100c2bf8a151718bfa4 (patch) | |
tree | a122be96181560b773419efd95b6a4e6c21a3051 /sql/item_timefunc.cc | |
parent | 5308a077133119ff9a066d47db380acc2563c5ab (diff) | |
download | mariadb-git-a1f92f0d12c3a1c32377f100c2bf8a151718bfa4.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); |