fix some typo error

This commit is contained in:
obdev
2023-09-08 12:35:44 +08:00
committed by ob-robot
parent 23e5e34042
commit ca21045824
21 changed files with 86 additions and 86 deletions

View File

@ -513,7 +513,7 @@ int ObSqlPlan::escape_quotes(ObSqlPlanItem &plan_item)
}
/**
* escape qutotes for string value
* escape quotes for string value
* oracle: ' => ''
* mysql: ' => \'
*/
@ -532,7 +532,7 @@ int ObSqlPlan::inner_escape_quotes(char* &ptr, int64_t &length)
int64_t pos = 0;
if (OB_ISNULL(buf=(char*)allocator_.alloc(buf_len))) {
ret = OB_ALLOCATE_MEMORY_FAILED;
LOG_WARN("failed to allocate mempry", K(ret));
LOG_WARN("failed to allocate memory", K(ret));
} else {
for (int64_t i = 0; i < length; ++i) {
if (ptr[i] == '\'') {