1
0
mirror of https://github.com/mariadb-corporation/mariadb-columnstore-engine.git synced 2025-07-29 08:21:15 +03:00

Fix trivial spelling errors

- occured -> occurred
- reponse -> response
- seperated -> separated

All new code of the whole pull request, including one or several files
that are either new files or modified ones, are contributed under the
BSD-new license. I am contributing on behalf of my employer Amazon Web
Services, Inc.
This commit is contained in:
Otto Kekäläinen
2023-03-11 11:59:47 -08:00
parent 967cf2e005
commit 70124ecc01
29 changed files with 42 additions and 42 deletions

View File

@ -122,7 +122,7 @@ execplan::ParseTree* ExistsSub::transform()
if (gwi.fatalParseError && !gwi.parseErrorText.empty())
fGwip.parseErrorText = gwi.parseErrorText;
else
fGwip.parseErrorText = "Error occured in ExistsSub::transform()";
fGwip.parseErrorText = "Error occurred in ExistsSub::transform()";
return NULL;
}

View File

@ -438,7 +438,7 @@ SCSEP FromSubQuery::transform()
if (!gwi.parseErrorText.empty())
fGwip.parseErrorText = gwi.parseErrorText;
else
fGwip.parseErrorText = "Error occured in FromSubQuery::transform()";
fGwip.parseErrorText = "Error occurred in FromSubQuery::transform()";
csep.reset();
return csep;

View File

@ -188,7 +188,7 @@ execplan::ParseTree* InSub::transform()
if (gwi.fatalParseError && !gwi.parseErrorText.empty())
fGwip.parseErrorText = gwi.parseErrorText;
else
fGwip.parseErrorText = "Error occured in InSub::transform()";
fGwip.parseErrorText = "Error occurred in InSub::transform()";
return NULL;
}

View File

@ -2174,7 +2174,7 @@ int ProcessDDLStatement(string& ddlStatement, string& schema, const string& tabl
{
rc = 0;
string errmsg(
"Error occured during file deletion. Restart DDLProc or use command tool ddlcleanup to clean up. ");
"Error occurred during file deletion. Restart DDLProc or use command tool ddlcleanup to clean up. ");
push_warning(thd, Sql_condition::WARN_LEVEL_WARN, 9999, errmsg.c_str());
}

View File

@ -286,7 +286,7 @@ int processPartition(SqlStatement* stmt)
{
rc = 0;
string errmsg(
"Error occured during partitioning operation. Restart DMLProc or use command tool ddlcleanup to "
"Error occurred during partitioning operation. Restart DMLProc or use command tool ddlcleanup to "
"clean up. ");
push_warnings(thd, errmsg);
}
@ -462,7 +462,7 @@ void partitionByValue_common(UDF_ARGS* args, // inp
}
catch (...)
{
errMsg = string("Error occured when calling ") + functionName;
errMsg = string("Error occurred when calling ") + functionName;
return;
}
@ -655,7 +655,7 @@ extern "C"
catch (...)
{
current_thd->get_stmt_da()->set_overwrite_status(true);
current_thd->raise_error_printf(ER_INTERNAL_ERROR, "Error occured when calling CALSHOWPARTITIONS");
current_thd->raise_error_printf(ER_INTERNAL_ERROR, "Error occurred when calling CALSHOWPARTITIONS");
return result;
}
@ -1287,7 +1287,7 @@ extern "C"
catch (...)
{
current_thd->get_stmt_da()->set_overwrite_status(true);
current_thd->raise_error_printf(ER_INTERNAL_ERROR, "Error occured when calling CALSHOWPARTITIONS");
current_thd->raise_error_printf(ER_INTERNAL_ERROR, "Error occurred when calling CALSHOWPARTITIONS");
return result;
}

View File

@ -846,7 +846,7 @@ select_handler* create_columnstore_select_handler_(THD* thd, SELECT_LEX* sel_lex
{
if (!thd->is_error())
{
my_printf_error(ER_INTERNAL_ERROR, "%s", MYF(0), "Error occured in select_lex::handle_derived()");
my_printf_error(ER_INTERNAL_ERROR, "%s", MYF(0), "Error occurred in select_lex::handle_derived()");
}
return handler;
@ -910,7 +910,7 @@ select_handler* create_columnstore_select_handler_(THD* thd, SELECT_LEX* sel_lex
// error out
if (!thd->is_error())
{
my_printf_error(ER_INTERNAL_ERROR, "%s", MYF(0), "Error occured in handler->prepare()");
my_printf_error(ER_INTERNAL_ERROR, "%s", MYF(0), "Error occurred in handler->prepare()");
}
return handler;
@ -972,7 +972,7 @@ select_handler* create_columnstore_select_handler_(THD* thd, SELECT_LEX* sel_lex
{
if (!thd->is_error())
{
my_printf_error(ER_INTERNAL_ERROR, "%s", MYF(0), "Error occured in get_schema_tables_result()");
my_printf_error(ER_INTERNAL_ERROR, "%s", MYF(0), "Error occurred in get_schema_tables_result()");
}
return handler;
@ -1015,7 +1015,7 @@ select_handler* create_columnstore_select_handler_(THD* thd, SELECT_LEX* sel_lex
if (!thd->is_error())
{
my_printf_error(ER_INTERNAL_ERROR, "%s", MYF(0), "Error occured in ha_mcs_impl_pushdown_init()");
my_printf_error(ER_INTERNAL_ERROR, "%s", MYF(0), "Error occurred in ha_mcs_impl_pushdown_init()");
}
// We had an error in `ha_mcs_impl_pushdown_init`, no need to continue execution of this query.

View File

@ -262,7 +262,7 @@ execplan::ParseTree* ScalarSub::buildParseTree(PredicateOperator* op)
if (!gwi.fatalParseError)
{
fGwip.fatalParseError = true;
fGwip.parseErrorText = "Error occured in ScalarSub::transform()";
fGwip.parseErrorText = "Error occurred in ScalarSub::transform()";
}
else
{

View File

@ -84,7 +84,7 @@ SCSEP SelectSubQuery::transform()
if (!gwi.fatalParseError)
{
fGwip.fatalParseError = true;
fGwip.parseErrorText = "Error occured in SelectSubQuery::transform()";
fGwip.parseErrorText = "Error occurred in SelectSubQuery::transform()";
}
else
{