diff options
author | unknown <Sinisa@sinisa.nasamreza.org> | 2002-09-04 15:24:27 +0300 |
---|---|---|
committer | unknown <Sinisa@sinisa.nasamreza.org> | 2002-09-04 15:24:27 +0300 |
commit | 909aaefa89b687b564e1f8986f5f2b7ce239bb37 (patch) | |
tree | c54f442d62ab294c9c753b9a51ac76002affe894 /sql/item_func.cc | |
parent | baa284a799eaff44f7a4c7d5f927550cd961d456 (diff) | |
download | mariadb-git-909aaefa89b687b564e1f8986f5f2b7ce239bb37.tar.gz |
a small bug fix
Diffstat (limited to 'sql/item_func.cc')
-rw-r--r-- | sql/item_func.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/item_func.cc b/sql/item_func.cc index 8b05109b289..1bf94ae75d0 100644 --- a/sql/item_func.cc +++ b/sql/item_func.cc @@ -173,7 +173,7 @@ Field *Item_func::tmp_table_field(TABLE *t_arg) if (!t_arg) return result_field; - switch (args[0]->result_type()) { + switch (result_type()) { case INT_RESULT: if (max_length > 11) res= new Field_longlong(max_length, maybe_null, name, t_arg, |