summaryrefslogtreecommitdiff
path: root/sql/item_create.cc
diff options
context:
space:
mode:
authorunknown <hf@genie.(none)>2003-03-14 13:10:33 +0400
committerunknown <hf@genie.(none)>2003-03-14 13:10:33 +0400
commit76aa0ea583e814f9f30cf0a0398782deb68d6498 (patch)
tree53ffc923d62be5c296cbb0f3cc0be7571e15c3f0 /sql/item_create.cc
parent92c9dc34b4aab21ed6b3505b48496b20dc4659e3 (diff)
downloadmariadb-git-76aa0ea583e814f9f30cf0a0398782deb68d6498.tar.gz
SCRUM
IS_USED_LOCK('lock') implementation sql/item_create.cc: create_func_is_used_lock implementation sql/item_create.h: create_func_is_used_lock declaration sql/item_func.cc: thread_id member added to the ULL class sql/item_func.h: class Item_func_is_used_lock added sql/lex.h: IS_USED_LOCK function added to the SQL
Diffstat (limited to 'sql/item_create.cc')
-rw-r--r--sql/item_create.cc6
1 files changed, 6 insertions, 0 deletions
diff --git a/sql/item_create.cc b/sql/item_create.cc
index d90c708fc0f..67a435043de 100644
--- a/sql/item_create.cc
+++ b/sql/item_create.cc
@@ -475,6 +475,12 @@ Item *create_func_is_free_lock(Item* a)
return new Item_func_is_free_lock(a);
}
+Item *create_func_is_used_lock(Item* a)
+{
+ current_thd->lex.uncacheable();
+ return new Item_func_is_used_lock(a);
+}
+
Item *create_func_quote(Item* a)
{
return new Item_func_quote(a);