summaryrefslogtreecommitdiff
path: root/sql/item_func.cc
diff options
context:
space:
mode:
authorSergei Golubchik <sergii@pisem.net>2012-03-26 12:33:49 +0200
committerSergei Golubchik <sergii@pisem.net>2012-03-26 12:33:49 +0200
commitd92009231d90cc187a89eab78bcf3ef090c5e24f (patch)
tree31eff0c98bd6e65c4c2c7ce3e0ebc1d950a8969c /sql/item_func.cc
parent485e7264a97683ca3b560d21dec6829fe284fc1d (diff)
downloadmariadb-git-d92009231d90cc187a89eab78bcf3ef090c5e24f.tar.gz
a couple of minor post-5.5-merge cleanups
include/mysql_com.h: remove "shutdown levels" that aren't shutdown levels from mysql_enum_shutdown_level mysys/my_addr_resolve.c: my_snprintf in 5.5 (but not in 5.3) supports %p sql/item_func.cc: use a method (that exists only in 5.5) instead of directly accessing a member sql/item_subselect.cc: use a method (that exists only in 5.5) instead of directly accessing a member sql/opt_subselect.cc: use a method (that exists only in 5.5) instead of directly accessing a member sql/sql_select.cc: use a method (that exists only in 5.5) instead of directly accessing a member
Diffstat (limited to 'sql/item_func.cc')
-rw-r--r--sql/item_func.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/item_func.cc b/sql/item_func.cc
index 92431a552c4..9b2e8e5e614 100644
--- a/sql/item_func.cc
+++ b/sql/item_func.cc
@@ -6733,7 +6733,7 @@ Item_func_sp::fix_fields(THD *thd, Item **ref)
if (res)
DBUG_RETURN(res);
- if (thd->lex->context_analysis_only & CONTEXT_ANALYSIS_ONLY_VIEW)
+ if (thd->lex->is_view_context_analysis())
{
/*
Here we check privileges of the stored routine only during view