summaryrefslogtreecommitdiff
path: root/sql/item_func.h
diff options
context:
space:
mode:
authorunknown <bar@bar.mysql.r18.ru>2003-02-28 19:22:20 +0400
committerunknown <bar@bar.mysql.r18.ru>2003-02-28 19:22:20 +0400
commit1a2c7c18a131d4803b5a44e5aed619297156e76f (patch)
tree104d3112b2ec2919d0c342a6c47b4ed10a052bb6 /sql/item_func.h
parentd9965d31745ff7229621553d96deb88ff3bdcb7a (diff)
downloadmariadb-git-1a2c7c18a131d4803b5a44e5aed619297156e76f.tar.gz
Many files:
Coercibility, initial stage item_func.h: Coercibility, initial stage sql/item_func.h: Coercibility, initial stage sql/item.cc: Coercibility, initial stage sql/item_create.cc: Coercibility, initial stage sql/item_create.h: Coercibility, initial stage sql/item.h: Coercibility, initial stage sql/item_func.cc: Coercibility, initial stage sql/lex.h: Coercibility, initial stage sql/sql_yacc.yy: Coercibility, initial stage
Diffstat (limited to 'sql/item_func.h')
-rw-r--r--sql/item_func.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/sql/item_func.h b/sql/item_func.h
index 33bfc993b5f..b958b72d514 100644
--- a/sql/item_func.h
+++ b/sql/item_func.h
@@ -590,6 +590,15 @@ public:
void fix_length_and_dec() { max_length=10; }
};
+class Item_func_coercibility :public Item_int_func
+{
+public:
+ Item_func_coercibility(Item *a) :Item_int_func(a) {}
+ longlong val_int();
+ const char *func_name() const { return "coercibility"; }
+ void fix_length_and_dec() { max_length=10; }
+};
+
class Item_func_locate :public Item_int_func
{
String value1,value2;