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

MCOL-4689 [135B blob data] in PrimPrim jounralctl records

This commit is contained in:
Alexander Barkov
2021-04-22 10:46:26 +04:00
parent 1f46baa980
commit c67f70f385

View File

@ -2984,6 +2984,7 @@ SimpleColumn* getSmallestColumn(boost::shared_ptr<CalpontSystemCatalog> csc,
}
CalpontSystemCatalog::RIDList oidlist = csc->columnRIDs(tn, true);
idbassert(oidlist.size() == table->s->fields);
CalpontSystemCatalog::TableColName tcn;
int minColWidth = -1;
int minWidthColOffset = 0;
@ -3008,7 +3009,7 @@ SimpleColumn* getSmallestColumn(boost::shared_ptr<CalpontSystemCatalog> csc,
sc->viewName(tan.view);
sc->timeZone(gwi.thd->variables.time_zone->get_name()->ptr());
sc->resultType(csc->colType(oidlist[minWidthColOffset].objnum));
sc->charsetNumber(3000);
sc->charsetNumber(table->field[minWidthColOffset]->charset()->number);
return sc;
}