summaryrefslogtreecommitdiff
path: root/sql/item_cmpfunc.h
diff options
context:
space:
mode:
authorunknown <Sinisa@sinisa.nasamreza.org>2002-06-29 16:25:09 +0300
committerunknown <Sinisa@sinisa.nasamreza.org>2002-06-29 16:25:09 +0300
commitb936b25d79b1b98ecb9528048dc4bb431f1d9c58 (patch)
tree5267b84a9907913f772241f1b990102e711bf9f3 /sql/item_cmpfunc.h
parentd7a84c7af0e1eb166c48ce7a7c3e3dca83f43baf (diff)
downloadmariadb-git-b936b25d79b1b98ecb9528048dc4bb431f1d9c58.tar.gz
Added functions :
* binary XOR * logical XOR * CHECK_LOCK("lock_name")
Diffstat (limited to 'sql/item_cmpfunc.h')
-rw-r--r--sql/item_cmpfunc.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/sql/item_cmpfunc.h b/sql/item_cmpfunc.h
index 3f674198856..25d0c239647 100644
--- a/sql/item_cmpfunc.h
+++ b/sql/item_cmpfunc.h
@@ -596,3 +596,13 @@ inline Item *and_conds(Item *a,Item *b)
cond->update_used_tables();
return cond;
}
+
+class Item_cond_xor :public Item_cond
+{
+public:
+ Item_cond_xor() :Item_cond() {}
+ Item_cond_xor(Item *i1,Item *i2) :Item_cond(i1,i2) {}
+ enum Functype functype() const { return COND_XOR_FUNC; }
+ longlong val_int();
+ const char *func_name() const { return "xor"; }
+};