1
0
mirror of https://github.com/mariadb-corporation/mariadb-columnstore-engine.git synced 2025-07-30 19:23:07 +03:00

A test to investigate problems, without expected results

Debug logs

Debug logs - fix typo

Debug logs

Debug logs

debug logs

debug logs

debug logs

debug logs

debug logs

debug logs

debug logs

debug logs

Solution to test

Remove debug logs
This commit is contained in:
Sergey Zefirov
2021-03-22 11:53:15 +03:00
parent 2f2a2d81b6
commit de8ef1eb2d
2 changed files with 16 additions and 6 deletions

View File

@ -314,6 +314,7 @@ void BRMReporter::sendCPToFile( )
fCPInfo[i].min << ' ' << fCPInfo[i].min << ' ' <<
fCPInfo[i].seqNum << ' ' << fCPInfo[i].seqNum << ' ' <<
fCPInfo[i].type << ' ' << fCPInfo[i].type << ' ' <<
fCPInfo[i].colWidth << ' ' <<
fCPInfo[i].newExtent << std::endl; fCPInfo[i].newExtent << std::endl;
} }
else else
@ -412,13 +413,13 @@ int BRMReporter::openRptFile( )
return rc; return rc;
} }
fRptFile << "#CP: startLBID max min seqnum type newExtent" << std::endl; fRptFile << "#CP: startLBID max min seqnum type colwidth newExtent" << std::endl;
fRptFile << "#HWM: oid partition segment hwm" << std::endl; fRptFile << "#HWM: oid partition segment hwm" << std::endl;
fRptFile << "#ROWS: numRowsRead numRowsInserted" << std::endl; fRptFile << "#ROWS: numRowsRead numRowsInserted" << std::endl;
fRptFile << "#DATA: columNum columnType columnOid numOutOfRangeValues" << std::endl; fRptFile << "#DATA: columNum columnType columnOid numOutOfRangeValues" << std::endl;
fRptFile << "#ERR: error message file" << std::endl; fRptFile << "#ERR: error message file" << std::endl;
fRptFile << "#BAD: bad data file, with rejected rows" << std::endl; fRptFile << "#BAD: bad data file, with rejected rows" << std::endl;
fRptFile << "#MERR: critical error messages in cpimport.bin" << std::endl; fRptFile << "#MERR: critical error messages in cpimport.bin" << std::endl;
return NO_ERROR; return NO_ERROR;
} }

View File

@ -353,6 +353,15 @@ bool WEBrmUpdater::prepareCasualPartitionInfo()
pTok = strtok(NULL, " "); pTok = strtok(NULL, " ");
if (pTok)
cpInfoMerge.colWidth = boost::lexical_cast<int32_t>(pTok);
else
{
//cout << "CP Entry : " << aEntry << endl;
throw (runtime_error("Bad column width in CP entry string"));
}
pTok = strtok(NULL, " ");
if (pTok) if (pTok)
cpInfoMerge.newExtent = (atoi(pTok) != 0); cpInfoMerge.newExtent = (atoi(pTok) != 0);
else else