You've already forked mariadb-columnstore-engine
mirror of
https://github.com/mariadb-corporation/mariadb-columnstore-engine.git
synced 2025-12-13 23:02:14 +03:00
This patch fixes: - MCOL-4614 calShowPartitions() precision loss for huge narrow decimal - MCOL-4615 GROUP_CONCAT() precision loss for huge narrow decimal - MCOL-4660 Narow decimal to string conversion is inconsistent about zero integral Changes: - Implementing Row::getDecimalField() - Removing double arithmetic from the code printing DECIMAL values in TypeHandlerXDecimal::format64() and GroupConcator::outputRow(). Using Decimal::toString() instead. - Rewriting Decimal::toStringTSInt64(). The old implementation was wrong, too complex and slow (used unnecessary memmove, memcpy). An additional cleanup: - Removing the ENGINE=COLUMNSTORE clause from tests for MCOL-4532 and MCOL-4640 type_decimal.test is combinations-aware. It's run two times with default_storage_engine=MyISAM and default_storage_engine=COLUMNSTORE. So the CREATE TABLE statements should not specify the engine explicitly. - Adding --disable_warnings in the old fixed test. We needed to suppress warnings when the MyISAM combination is being run. Previously the table was erroneously created with ENGINE=COLUMNSTORE even with the MyISAM combination run. So warning were not generated.