summaryrefslogtreecommitdiff
path: root/sql/item.cc
diff options
context:
space:
mode:
authorOleksandr Byelkin <sanja@mariadb.com>2020-08-03 14:44:06 +0200
committerOleksandr Byelkin <sanja@mariadb.com>2020-08-03 14:44:06 +0200
commit57325e470615e79f674d82b2d5b09f609508fc6a (patch)
tree7a2e84a6753a5a5592f44f96194ad7a551c4669f /sql/item.cc
parent706a7101bfacd29f4f5728034be92240e82df583 (diff)
parentc32f71af7e4b747de223bf6b44e691941f5997cf (diff)
downloadmariadb-git-57325e470615e79f674d82b2d5b09f609508fc6a.tar.gz
Merge branch '10.3' into 10.4
Diffstat (limited to 'sql/item.cc')
-rw-r--r--sql/item.cc12
1 files changed, 6 insertions, 6 deletions
diff --git a/sql/item.cc b/sql/item.cc
index 4c2c03cb3b2..61651323626 100644
--- a/sql/item.cc
+++ b/sql/item.cc
@@ -5011,7 +5011,7 @@ static bool mark_as_dependent(THD *thd, SELECT_LEX *last, SELECT_LEX *current,
@note
We have to mark all items between current_sel (including) and
- last_select (excluding) as dependend (select before last_select should
+ last_select (excluding) as dependent (select before last_select should
be marked with actual table mask used by resolved item, all other with
OUTER_REF_TABLE_BIT) and also write dependence information to Item of
resolved identifier.
@@ -5387,7 +5387,7 @@ Item_field::fix_outer_field(THD *thd, Field **from_field, Item **reference)
bool upward_lookup= FALSE;
TABLE_LIST *table_list;
- /* Calulate the TABLE_LIST for the table */
+ /* Calculate the TABLE_LIST for the table */
table_list= (cached_table ? cached_table :
field_found && (*from_field) != view_ref_found ?
(*from_field)->table->pos_in_table_list : 0);
@@ -6123,7 +6123,7 @@ Item *Item_field::propagate_equal_fields(THD *thd,
but failed to create a valid DATE literal from the given string literal.
Do not do constant propagation in such cases and unlink
- "this" from the found Item_equal (as this equality not usefull).
+ "this" from the found Item_equal (as this equality not useful).
*/
item_equal= NULL;
return this;
@@ -7844,7 +7844,7 @@ bool Item_ref::fix_fields(THD *thd, Item **reference)
/*
Due to cache, find_field_in_tables() can return field which
doesn't belong to provided outer_context. In this case we have
- to find proper field context in order to fix field correcly.
+ to find proper field context in order to fix field correctly.
*/
do
{
@@ -8029,9 +8029,9 @@ Item* Item_ref::transform(THD *thd, Item_transformer transformer, uchar *arg)
callback functions.
First the function applies the analyzer to the Item_ref object. Then
- if the analizer succeeeds we first applies the compile method to the
+ if the analyzer succeeds we first apply the compile method to the
object the Item_ref object is referencing. If this returns a new
- item the old item is substituted for a new one. After this the
+ item the old item is substituted for a new one. After this the
transformer is applied to the Item_ref object itself.
The compile function is not called if the analyzer returns NULL
in the parameter arg_p.