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

@ -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());

View File

@ -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

View File

@ -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