summaryrefslogtreecommitdiff
path: root/sql/item_strfunc.h
diff options
context:
space:
mode:
authorbell@sanja.is.com.ua <>2005-06-17 17:27:47 +0300
committerbell@sanja.is.com.ua <>2005-06-17 17:27:47 +0300
commita11677026f6aed1281e6fd7cdc9250bbe892132f (patch)
treea1524e75158ce5df834d60837e8609e95d3b7d3f /sql/item_strfunc.h
parentd3d5d6b0752daaed00287cc05eb3120a2a06c0de (diff)
downloadmariadb-git-a11677026f6aed1281e6fd7cdc9250bbe892132f.tar.gz
fixed printing of sum(distinct ) & avg(distinct ) & cast(... as decimal) (BUG#7015, BUG#11387)
Diffstat (limited to 'sql/item_strfunc.h')
-rw-r--r--sql/item_strfunc.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/sql/item_strfunc.h b/sql/item_strfunc.h
index 6df90cebdff..8d2eb269915 100644
--- a/sql/item_strfunc.h
+++ b/sql/item_strfunc.h
@@ -573,6 +573,7 @@ public:
max_length=args[0]->max_length;
}
void print(String *str);
+ const char *func_name() const { return "cast_as_binary"; }
};
@@ -648,6 +649,7 @@ public:
void fix_length_and_dec();
bool eq(const Item *item, bool binary_cmp) const;
const char *func_name() const { return "collate"; }
+ enum Functype func_type() const { return COLLATE_FUNC; }
void print(String *str);
Item_field *filed_for_view_update()
{