1
0
mirror of https://github.com/mariadb-corporation/mariadb-columnstore-engine.git synced 2026-10-23 21:49:05 +03:00
Leonid Fedorov 1c5420ad78 fix(execplan): Handle binary user variables in bitmask filter optimization
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;
2026-02-06 11:29:52 +00:00
2022-08-05 16:30:18 +03:00
2025-11-13 19:00:33 +04:00
2026-01-26 21:15:03 +04:00
2022-01-21 16:43:49 +00:00
2022-07-13 15:51:50 +03:00
2025-07-25 14:46:56 +01:00
2016-01-06 14:08:59 -06:00
2016-01-06 14:08:59 -06:00
2020-07-24 13:52:01 +02:00
2016-01-06 14:08:59 -06:00
2026-01-21 16:59:16 +00:00

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

Description
Ядро системы хранения данных - код процесса единой системы обмена сообщениями и PM
Readme 226 MiB
Languages
C++ 88.9%
Shell 2.9%
C 2.9%
Python 2.6%
Assembly 1.3%
Other 1.2%