summaryrefslogtreecommitdiff
path: root/sql/item.h
diff options
context:
space:
mode:
authorMarko Mäkelä <marko.makela@mariadb.com>2022-04-28 15:54:03 +0300
committerMarko Mäkelä <marko.makela@mariadb.com>2022-04-28 15:54:03 +0300
commit504a3b32f6d752dbf44b8a67001b572cffefb9bb (patch)
treeb4f9dbf83c2437feb21f27c7b8ed7f897b0e84d6 /sql/item.h
parent43fa8e0b8f3bae1ff8493cfd3adb39443da6a809 (diff)
parent133c2129cdbb77d8fd55fb303d6f73e1cd3c025c (diff)
downloadmariadb-git-504a3b32f6d752dbf44b8a67001b572cffefb9bb.tar.gz
Merge 10.8 into 10.9
Diffstat (limited to 'sql/item.h')
-rw-r--r--sql/item.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/sql/item.h b/sql/item.h
index d8f2b62c743..af357d2407f 100644
--- a/sql/item.h
+++ b/sql/item.h
@@ -2,7 +2,7 @@
#define SQL_ITEM_INCLUDED
/* Copyright (c) 2000, 2017, Oracle and/or its affiliates.
- Copyright (c) 2009, 2021, MariaDB Corporation.
+ Copyright (c) 2009, 2022, MariaDB Corporation.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
@@ -3485,6 +3485,10 @@ public:
this variable.
*/
bool can_be_depended;
+ /*
+ NOTE: came from TABLE::alias_name_used and this is only a hint!
+ See comment for TABLE::alias_name_used.
+ */
bool alias_name_used; /* true if item was resolved against alias */
Item_ident(THD *thd, Name_resolution_context *context_arg,
@@ -5492,7 +5496,7 @@ public:
Field *sp_result_field;
Item_sp(THD *thd, Name_resolution_context *context_arg, sp_name *name_arg);
Item_sp(THD *thd, Item_sp *item);
- LEX_CSTRING func_name_cstring(THD *thd) const;
+ LEX_CSTRING func_name_cstring(THD *thd, bool is_package_function) const;
void cleanup();
bool sp_check_access(THD *thd);
bool execute(THD *thd, bool *null_value, Item **args, uint arg_count);