You've already forked mariadb-columnstore-engine
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:
@ -356,7 +356,7 @@ AlterTableProcessor::DDLResult AlterTableProcessor::processPackage(
|
||||
{
|
||||
logging::Message::Args args;
|
||||
logging::Message message(9);
|
||||
args.add("Unknown error occured while getting unique number.");
|
||||
args.add("Unknown error occurred while getting unique number.");
|
||||
message.format(args);
|
||||
result.result = ALTER_ERROR;
|
||||
result.message = message;
|
||||
|
@ -215,7 +215,7 @@ CreateTableProcessor::DDLResult CreateTableProcessor::processPackage(
|
||||
{
|
||||
Message::Args args;
|
||||
Message message(9);
|
||||
args.add("Unknown error occured while getting unique number.");
|
||||
args.add("Unknown error occurred while getting unique number.");
|
||||
message.format(args);
|
||||
result.result = CREATE_ERROR;
|
||||
result.message = message;
|
||||
|
@ -100,7 +100,7 @@ DropPartitionProcessor::DDLResult DropPartitionProcessor::processPackage(
|
||||
{
|
||||
logging::Message::Args args;
|
||||
logging::Message message(9);
|
||||
args.add("Unknown error occured while getting unique number.");
|
||||
args.add("Unknown error occurred while getting unique number.");
|
||||
message.format(args);
|
||||
result.result = ALTER_ERROR;
|
||||
result.message = message;
|
||||
|
@ -114,7 +114,7 @@ DropTableProcessor::DDLResult DropTableProcessor::processPackage(
|
||||
{
|
||||
Message::Args args;
|
||||
Message message(9);
|
||||
args.add("Unknown error occured while getting unique number.");
|
||||
args.add("Unknown error occurred while getting unique number.");
|
||||
message.format(args);
|
||||
result.result = DROP_ERROR;
|
||||
result.message = message;
|
||||
@ -818,7 +818,7 @@ TruncTableProcessor::DDLResult TruncTableProcessor::processPackage(
|
||||
{
|
||||
Message::Args args;
|
||||
Message message(9);
|
||||
args.add("Unknown error occured while getting unique number.");
|
||||
args.add("Unknown error occurred while getting unique number.");
|
||||
message.format(args);
|
||||
result.result = DROP_ERROR;
|
||||
result.message = message;
|
||||
|
@ -93,7 +93,7 @@ DMLPackageProcessor::DMLResult DeletePackageProcessor::processPackage(dmlpackage
|
||||
{
|
||||
logging::Message::Args args;
|
||||
logging::Message message(9);
|
||||
args.add("Unknown error occured while getting unique number.");
|
||||
args.add("Unknown error occurred while getting unique number.");
|
||||
message.format(args);
|
||||
result.result = DELETE_ERROR;
|
||||
result.message = message;
|
||||
|
@ -363,7 +363,7 @@ int DMLPackageProcessor::rollBackTransaction(uint64_t uniqueId, BRM::TxnID txnID
|
||||
catch (std::exception& e)
|
||||
{
|
||||
rc = NETWORK_ERROR;
|
||||
errorMsg = "Network error occured when rolling back blocks";
|
||||
errorMsg = "Network error occurred when rolling back blocks";
|
||||
errorMsg += e.what();
|
||||
fWEClient->removeQueue(uniqueId);
|
||||
cout << "erroring out remove queue id " << uniqueId << endl;
|
||||
|
@ -100,7 +100,7 @@ DMLPackageProcessor::DMLResult InsertPackageProcessor::processPackage(dmlpackage
|
||||
{
|
||||
logging::Message::Args args;
|
||||
logging::Message message(9);
|
||||
args.add("Unknown error occured while getting unique number.");
|
||||
args.add("Unknown error occurred while getting unique number.");
|
||||
message.format(args);
|
||||
result.result = INSERT_ERROR;
|
||||
result.message = message;
|
||||
|
@ -98,7 +98,7 @@ DMLPackageProcessor::DMLResult UpdatePackageProcessor::processPackage(dmlpackage
|
||||
{
|
||||
logging::Message::Args args;
|
||||
logging::Message message(9);
|
||||
args.add("Unknown error occured while getting unique number.");
|
||||
args.add("Unknown error occurred while getting unique number.");
|
||||
message.format(args);
|
||||
result.result = UPDATE_ERROR;
|
||||
result.message = message;
|
||||
|
@ -805,7 +805,7 @@ void CalpontSystemCatalog::getSysData(CalpontSelectExecutionPlan& csep, NJLSysDa
|
||||
getSysData_FE(csep, sysDataList, sysTableName);
|
||||
break;
|
||||
}
|
||||
catch (IDBExcept&) // error already occured. this is not a broken pipe
|
||||
catch (IDBExcept&) // error already occurred. this is not a broken pipe
|
||||
{
|
||||
throw;
|
||||
}
|
||||
@ -827,7 +827,7 @@ void CalpontSystemCatalog::getSysData(CalpontSelectExecutionPlan& csep, NJLSysDa
|
||||
}
|
||||
|
||||
if (tryCnt >= 5)
|
||||
// throw runtime_error("Error occured when calling system catalog. ExeMgr is not functioning.");
|
||||
// throw runtime_error("Error occurred when calling system catalog. ExeMgr is not functioning.");
|
||||
throw IDBExcept(ERR_SYSTEM_CATALOG);
|
||||
}
|
||||
|
||||
@ -856,7 +856,7 @@ void CalpontSystemCatalog::getSysData_EC(CalpontSelectExecutionPlan& csep, NJLSy
|
||||
while (jl->status() != 0)
|
||||
{
|
||||
if (retryNum >= 6)
|
||||
throw runtime_error("Error occured when calling makeJobList");
|
||||
throw runtime_error("Error occurred when calling makeJobList");
|
||||
|
||||
sleep(1);
|
||||
jl = JobListFactory::makeJobList(&csep, rm, dummyPrimitiveServerThreadPools, true);
|
||||
@ -866,13 +866,13 @@ void CalpontSystemCatalog::getSysData_EC(CalpontSelectExecutionPlan& csep, NJLSy
|
||||
if (jl->status() != 0 || jl->putEngineComm(fEc) != 0)
|
||||
{
|
||||
string emsg = jl->errMsg();
|
||||
throw runtime_error("Error occured when calling system catalog (1). " + emsg);
|
||||
throw runtime_error("Error occurred when calling system catalog (1). " + emsg);
|
||||
}
|
||||
|
||||
if (jl->doQuery() != 0)
|
||||
{
|
||||
throw runtime_error(
|
||||
"Error occured when calling system catalog (2). Make sure all processes are running.");
|
||||
"Error occurred when calling system catalog (2). Make sure all processes are running.");
|
||||
}
|
||||
|
||||
TupleJobList* tjlp = dynamic_cast<TupleJobList*>(jl.get());
|
||||
|
@ -32,7 +32,7 @@
|
||||
* This class must implement a high degree of correctness. However, it
|
||||
* also requires file IO. Most functions throw an exception if a hard IO error
|
||||
* occurs more than MaxRetries times in a row. Right now the code makes
|
||||
* no attempt to back out changes that occured before the error although it
|
||||
* no attempt to back out changes that occurred before the error although it
|
||||
* may be possible to do so for certain errors. Probably the best course of
|
||||
* action would be to halt the system if an exception is thrown here
|
||||
* to prevent database corruption resulting allocation of OIDs from a
|
||||
|
@ -370,7 +370,7 @@ class ReturnedColumn : public TreeNode
|
||||
}
|
||||
|
||||
protected:
|
||||
std::string fErrMsg; /// error occured in evaluation
|
||||
std::string fErrMsg; /// error occurred in evaluation
|
||||
uint32_t fInputIndex; /// index to the input rowgroup
|
||||
uint32_t fOutputIndex; /// index to the output rowgroup
|
||||
uint32_t fExpressionId; /// unique id for this expression
|
||||
|
@ -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;
|
||||
}
|
||||
|
@ -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;
|
||||
|
@ -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;
|
||||
}
|
||||
|
@ -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());
|
||||
}
|
||||
|
||||
|
@ -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;
|
||||
}
|
||||
|
||||
|
@ -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.
|
||||
|
@ -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
|
||||
{
|
||||
|
@ -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
|
||||
{
|
||||
|
Reference in New Issue
Block a user