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

MCOL-5021 Some minor fixes.

This commit is contained in:
Gagan Goel
2022-07-14 17:53:17 -04:00
parent 94e9f55940
commit 1355237ca3
8 changed files with 46 additions and 15 deletions

View File

@ -4730,7 +4730,7 @@ int WE_DMLCommandProc::validateColumnHWMs(CalpontSystemCatalog::RIDList& ridList
// Find out column width
if (hasAuxCol && (k == segFileInfo.size() - 1))
{
colWidth = 1;
colWidth = execplan::AUX_COL_WIDTH;
}
else
{
@ -4805,7 +4805,7 @@ int WE_DMLCommandProc::validateColumnHWMs(CalpontSystemCatalog::RIDList& ridList
if (hasAuxCol && (k1 == segFileInfo.size() - 1))
{
colWidth2 = 1;
colWidth2 = execplan::AUX_COL_WIDTH;
}
else
{
@ -4963,7 +4963,7 @@ errorCheck:
if (hasAuxCol && (refCol == ridList.size() - 1))
{
colWidth1 = 1;
colWidth1 = execplan::AUX_COL_WIDTH;
}
else
{
@ -4973,7 +4973,7 @@ errorCheck:
if (hasAuxCol && (colIdx == ridList.size() - 1))
{
colWidth2 = 1;
colWidth2 = execplan::AUX_COL_WIDTH;
}
else
{

View File

@ -188,13 +188,13 @@ void Config::checkReload()
const std::string fastDeleteTemp = cf->getConfig("WriteEngine", "FastDelete");
if (fastDeleteTemp.length() == 0 || boost::iequals(fastDeleteTemp, "false"))
if (fastDeleteTemp.length() != 0 && boost::iequals(fastDeleteTemp, "true"))
{
m_FastDelete = false;
m_FastDelete = true;
}
else
{
m_FastDelete = true;
m_FastDelete = false;
}
//--------------------------------------------------------------------------