diff --git a/dbcon/execplan/calpontsystemcatalog.cpp b/dbcon/execplan/calpontsystemcatalog.cpp index 4955e4e20..316ee10ef 100644 --- a/dbcon/execplan/calpontsystemcatalog.cpp +++ b/dbcon/execplan/calpontsystemcatalog.cpp @@ -841,10 +841,12 @@ void CalpontSystemCatalog::getSysData(CalpontSelectExecutionPlan& csep, NJLSysDa } } - if (tryCnt >= 5) + if (tryCnt >= 5){ // throw runtime_error("Error occurred when calling system catalog. ExeMgr is not functioning."); - Message::Args& args = "Cannot connect to ExeMgr re-connections tries exceeded"; + Message::Args args; + args.add("Cannot connect to ExeMgr re-connections tries exceeded"); throw IDBExcept(ERR_SYSTEM_CATALOG, args); + } } csep.sessionID(fSessionID); @@ -910,10 +912,11 @@ void CalpontSystemCatalog::getSysData_EC(CalpontSelectExecutionPlan& csep, NJLSy { if (status >= 1000) // new error system throw IDBExcept(status); - else + else{ Message::Args args; - args.add("rowGroup status: ", status); + args.add("rowGroup status: " + status); throw IDBExcept(ERR_SYSTEM_CATALOG, args); + } } if (rowCount > 0) @@ -962,7 +965,9 @@ void CalpontSystemCatalog::getSysData_FE(const CalpontSelectExecutionPlan& csep, if (bs.length() == 0) { - throw IDBExcept(ERR_LOST_CONN_EXEMGR); + Message::Args args; + args.add("look in error.log on node, having dbroot1"); + throw IDBExcept(ERR_LOST_CONN_EXEMGR, args); } string emsgStr; @@ -993,8 +998,11 @@ void CalpontSystemCatalog::getSysData_FE(const CalpontSelectExecutionPlan& csep, // @bug 1782. check ExeMgr connection lost if (bs.length() == 0) - throw IDBExcept(ERR_LOST_CONN_EXEMGR); - + { + Message::Args args; + args.add("look in error.log on node, having dbroot1"); + throw IDBExcept(ERR_LOST_CONN_EXEMGR, args); + } if (!rowGroup) { rowGroup.reset(new RowGroup()); diff --git a/dbcon/mysql/ha_mcs_ddl.cpp b/dbcon/mysql/ha_mcs_ddl.cpp index d270b75e5..0c0bd468c 100644 --- a/dbcon/mysql/ha_mcs_ddl.cpp +++ b/dbcon/mysql/ha_mcs_ddl.cpp @@ -2199,7 +2199,7 @@ int ProcessDDLStatement(string& ddlStatement, string& schema, const string& /*ta //@Bug 3602. Error message for MySql syntax for autoincrement algorithm::to_upper(ddlStatement); - std::string errMsg = "The syntax " + std::string errMsg = "The syntax "; if (ddlStatement.find("AUTO_INCREMENT") != string::npos) { errMsg += "auto_increment is not supported in Columnstore."; diff --git a/writeengine/shared/we_define.cpp b/writeengine/shared/we_define.cpp index bc0aa2265..49bfeac18 100644 --- a/writeengine/shared/we_define.cpp +++ b/writeengine/shared/we_define.cpp @@ -284,7 +284,7 @@ std::string WErrorCodes::errorString(int code) case ERR_FILE_DISK_SPACE: { logging::Message::Args args; - args.add("configured by WriteEngine.MaxFileSystemDiskUsagePct in columnstore.xml"); + args.add("configured by WriteEngine.MaxFileSystemDiskUsagePct in Columnstore.xml"); return logging::IDBErrorInfo::instance()->errorMsg(logging::ERR_EXTENT_DISK_SPACE, args); break; }