You've already forked mariadb-columnstore-engine
mirror of
https://github.com/mariadb-corporation/mariadb-columnstore-engine.git
synced 2025-07-29 08:21:15 +03:00
Fixes MCOL-5599 where LIKE operator never finishes
This is a fix of logging subsystem, nothing else. The old code expanded an argument into string and advanced too little and, if expansion contained argument's index, it expanded it again. And again.
This commit is contained in:
committed by
Leonid Fedorov
parent
8632c85ecf
commit
792aea2a7c
@ -0,0 +1,7 @@
|
||||
DROP DATABASE IF EXISTS MCOL5599;
|
||||
CREATE DATABASE MCOL5599;
|
||||
USE MCOL5599;
|
||||
CREATE TABLE t (t TEXT) ENGINE = COLUMNSTORE;
|
||||
SELECT * FROM t WHERE t LIKE '%1%';
|
||||
t
|
||||
DROP DATABASE MCOL5599;
|
@ -0,0 +1,11 @@
|
||||
--disable_warnings
|
||||
DROP DATABASE IF EXISTS MCOL5599;
|
||||
--enable_warnings
|
||||
CREATE DATABASE MCOL5599;
|
||||
USE MCOL5599;
|
||||
CREATE TABLE t (t TEXT) ENGINE = COLUMNSTORE;
|
||||
# This tests logging facility to correctly process agruments
|
||||
# with "logging argument index" (like "%1%") in them. This has
|
||||
# nothing to do with regexps. This query just have to finish.
|
||||
SELECT * FROM t WHERE t LIKE '%1%';
|
||||
DROP DATABASE MCOL5599;
|
Reference in New Issue
Block a user