summaryrefslogtreecommitdiff
path: root/sql/item_strfunc.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_strfunc.cc
parent706a7101bfacd29f4f5728034be92240e82df583 (diff)
parentc32f71af7e4b747de223bf6b44e691941f5997cf (diff)
downloadmariadb-git-57325e470615e79f674d82b2d5b09f609508fc6a.tar.gz
Merge branch '10.3' into 10.4
Diffstat (limited to 'sql/item_strfunc.cc')
-rw-r--r--sql/item_strfunc.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/sql/item_strfunc.cc b/sql/item_strfunc.cc
index 0baa762d25f..a3ff8dd389a 100644
--- a/sql/item_strfunc.cc
+++ b/sql/item_strfunc.cc
@@ -989,7 +989,7 @@ String *Item_func_concat_ws::val_str(String *str)
goto null; // Must be a blob
}
else if (res2 == &tmp_value)
- { // This can happend only 1 time
+ { // This can happen only 1 time
if (tmp_value.replace(0,0,*sep_str) || tmp_value.replace(0,0,*res))
goto null;
res= &tmp_value;
@@ -1139,7 +1139,7 @@ bool Item_func_reverse::fix_length_and_dec()
}
/**
- Replace all occurences of string2 in string1 with string3.
+ Replace all occurrences of string2 in string1 with string3.
Don't reallocate val_str() if not needed.
@@ -3999,7 +3999,7 @@ bool Item_func_export_set::fix_length_and_dec()
using in a SQL statement.
Adds a \\ before all characters that needs to be escaped in a SQL string.
- We also escape '^Z' (END-OF-FILE in windows) to avoid probelms when
+ We also escape '^Z' (END-OF-FILE in windows) to avoid problems when
running commands from a file in windows.
This function is very useful when you want to generate SQL statements.