summaryrefslogtreecommitdiff
path: root/sql/item_create.cc
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
commitc2928189c3fb335d2de6fcb18abe578bb83736a6 (patch)
tree5267b84a9907913f772241f1b990102e711bf9f3 /sql/item_create.cc
parentcaff05523cbc4ac7bfada244a829171c12f313c5 (diff)
downloadmariadb-git-c2928189c3fb335d2de6fcb18abe578bb83736a6.tar.gz
Added functions :
* binary XOR * logical XOR * CHECK_LOCK("lock_name")
Diffstat (limited to 'sql/item_create.cc')
-rw-r--r--sql/item_create.cc7
1 files changed, 7 insertions, 0 deletions
diff --git a/sql/item_create.cc b/sql/item_create.cc
index 61e82b664ff..f268550d115 100644
--- a/sql/item_create.cc
+++ b/sql/item_create.cc
@@ -428,3 +428,10 @@ Item *create_func_cast(Item *a, Item_cast cast_type)
}
return res;
}
+
+Item *create_func_check_lock(Item* a)
+{
+ current_thd->safe_to_cache_query=0;
+ return new Item_func_check_lock(a);
+}
+