summaryrefslogtreecommitdiff
path: root/sql/item_create.h
diff options
context:
space:
mode:
authorkroki@mysql.com <>2006-07-02 14:35:45 +0400
committerkroki@mysql.com <>2006-07-02 14:35:45 +0400
commitdbdecef4951582fed5e8ff91eccda8fbc9328758 (patch)
tree2c878e8f57af2a501208576c95d163f6b0d96de2 /sql/item_create.h
parent3043d29b1f7da7fa19f59cd0d9a3d7e8f2b69777 (diff)
downloadmariadb-git-dbdecef4951582fed5e8ff91eccda8fbc9328758.tar.gz
Bug#20570: CURRENT_USER() in a VIEW with SQL SECURITY DEFINER returns
invoker name The bug was fixed similar to how context switch is handled in Item_func_sp::execute_impl(): we store pointer to current Name_resolution_context in Item_func_current_user class, and use its Security_context in Item_func_current_user::fix_fields().
Diffstat (limited to 'sql/item_create.h')
-rw-r--r--sql/item_create.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/sql/item_create.h b/sql/item_create.h
index 35db9be3c89..cf61f90f91d 100644
--- a/sql/item_create.h
+++ b/sql/item_create.h
@@ -73,7 +73,6 @@ Item *create_func_period_add(Item* a, Item *b);
Item *create_func_period_diff(Item* a, Item *b);
Item *create_func_pi(void);
Item *create_func_pow(Item* a, Item *b);
-Item *create_func_current_user(void);
Item *create_func_radians(Item *a);
Item *create_func_release_lock(Item* a);
Item *create_func_repeat(Item* a, Item *b);