summaryrefslogtreecommitdiff
path: root/sql/item_func.h
diff options
context:
space:
mode:
authorunknown <kaa@polly.local>2007-04-28 20:26:14 +0400
committerunknown <kaa@polly.local>2007-04-28 20:26:14 +0400
commitac86892f72acc407a6e0fff7af2bd8e7d2c750c4 (patch)
tree49453d89159d8dbdffe5b970dc54cf197c85ca9f /sql/item_func.h
parentfef06223af7779bcafb2c37977c1ffb525ea7bd8 (diff)
parent38090df9b566da89942f8a90fe71a3fac31efb9d (diff)
downloadmariadb-git-ac86892f72acc407a6e0fff7af2bd8e7d2c750c4.tar.gz
Merge polly.local:/home/kaa/src/maint/bug24912/my50-bug24912
into polly.local:/home/kaa/src/maint/mysql-5.0-maint sql/item_func.cc: Auto merged sql/item_func.h: Auto merged sql/item_strfunc.cc: Auto merged sql/mysql_priv.h: Auto merged
Diffstat (limited to 'sql/item_func.h')
-rw-r--r--sql/item_func.h8
1 files changed, 1 insertions, 7 deletions
diff --git a/sql/item_func.h b/sql/item_func.h
index 635a409e0a2..037a2ee967b 100644
--- a/sql/item_func.h
+++ b/sql/item_func.h
@@ -278,7 +278,7 @@ public:
{ max_length= 21; }
Item_int_func(List<Item> &list) :Item_func(list) { max_length= 21; }
Item_int_func(THD *thd, Item_int_func *item) :Item_func(thd, item) {}
- double val_real() { DBUG_ASSERT(fixed == 1); return (double) val_int(); }
+ double val_real();
String *val_str(String*str);
enum Item_result result_type () const { return INT_RESULT; }
void fix_length_and_dec() {}
@@ -303,12 +303,6 @@ class Item_func_signed :public Item_int_func
public:
Item_func_signed(Item *a) :Item_int_func(a) {}
const char *func_name() const { return "cast_as_signed"; }
- double val_real()
- {
- double tmp= args[0]->val_real();
- null_value= args[0]->null_value;
- return tmp;
- }
longlong val_int();
longlong val_int_from_str(int *error);
void fix_length_and_dec()