summaryrefslogtreecommitdiff
path: root/sql/item_func.h
diff options
context:
space:
mode:
Diffstat (limited to 'sql/item_func.h')
-rw-r--r--sql/item_func.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/sql/item_func.h b/sql/item_func.h
index 2525f6f1f0b..ecdbd4c30ed 100644
--- a/sql/item_func.h
+++ b/sql/item_func.h
@@ -2523,8 +2523,9 @@ public:
String *val_str(String *str);
const Type_handler *type_handler() const
{
- return unsigned_flag ? &type_handler_ulonglong :
- &type_handler_slonglong;
+ if (unsigned_flag)
+ return &type_handler_ulonglong;
+ return &type_handler_slonglong;
}
bool fix_length_and_dec() { decimals= 0; max_length= 21; return FALSE; }
Item *get_copy(THD *thd)