1
0
mirror of https://github.com/mariadb-corporation/mariadb-columnstore-engine.git synced 2025-08-01 06:46:55 +03:00

Merge pull request #1052 from mariadb-corporation/MCOL-3791

MCOL-3791 This patch implicitly enables disk space preallocation for …
This commit is contained in:
Patrick LeBlanc
2020-02-17 08:06:22 -06:00
committed by Patrick LeBlanc
parent da32afc0b2
commit ffcd527c4e

View File

@ -1130,7 +1130,7 @@ int FileOp::initColumnExtent(
// Couldn't avoid preallocation for full extents,
// e.g. ADD COLUMN DDL b/c CS has to fill the file
// with empty magics.
if ( !bOptExtension )
if ( !bOptExtension || !m_compressionType )
{
#ifdef PROFILE
Stats::startParseEvent(WE_STATS_INIT_COL_EXTENT);