mirror of
https://github.com/mariadb-corporation/mariadb-columnstore-engine.git
synced 2026-10-23 21:49:05 +03:00
mcol-5983-2
User variables storing hex values (e.g., SET @mask = 0x15) are stored as binary strings in MariaDB with charset=binary. When val_str() is called, it returns raw binary data instead of text representation, causing ConstantColumn to be initialized with incorrect values (0). Fix: In buildConstantColumnMaybeNullUsingValStr(), detect binary charset user variables and interpret the string as a little-endian integer. Fixes queries like: SET @mask = 0x15; SELECT * FROM t WHERE (col & @mask) = @mask;
feat(joblist,pp): MCOL-5983 Add COMPARE_BITMASK primitive filter for bitwise AND pattern optimization (#3906)
MariaDB ColumnStore Storage engine 23.10.X
It is built by porting InfiniDB 4.6.7 on MariaDB and adding entirely new features not found anywhere else.
Building
This repository is not meant to be built independently outside of MariaDB server.
https://github.com/MariaDB/server
See building instructions here.
Issue tracking
Issue tracking of MariaDB ColumnStore happens in JIRA, https://jira.mariadb.org/browse/MCOL
Languages
C++
88.9%
Shell
2.9%
C
2.9%
Python
2.6%
Assembly
1.3%
Other
1.2%