1
0
mirror of https://github.com/mariadb-corporation/mariadb-columnstore-engine.git synced 2025-07-29 08:21:15 +03:00

MCOL-267 Add blob support for INSERT_SELECT

* Note there is a 1MB buffer limit, rows longer than 512KB will fail (2x
due to hex of blob data)
* cpimport needs to use hex of blob data
This commit is contained in:
Andrew Hutchings
2017-03-23 14:04:14 +00:00
parent b1d04c04fb
commit b7a01ce02e
2 changed files with 44 additions and 1 deletions

View File

@ -1792,7 +1792,7 @@ int ColumnInfo::updateDctnryStore(char* buf,
// column.
// This only applies to default text mode. This step is bypassed for
// binary imports, because in that case, the data is already true binary.
if ((curCol.colType == WR_VARBINARY) &&
if (((curCol.colType == WR_VARBINARY) || (curCol.colType == WR_BLOB)) &&
(fpTableInfo->getImportDataMode() == IMPORT_DATA_TEXT))
{
#ifdef PROFILE