1
0
mirror of https://github.com/mariadb-corporation/mariadb-columnstore-engine.git synced 2025-07-29 08:21:15 +03:00

MCOL-4758 Limit LONGTEXT and LONGBLOB to 16MB (#1995)

MCOL-4758 Limit LONGTEXT and LONGBLOB to 16MB

Also add the original test case from MCOL-3879.
This commit is contained in:
David.Hall
2021-07-05 01:09:41 -05:00
committed by GitHub
parent 643c06b7fe
commit 237cad347f
9 changed files with 96 additions and 17 deletions

View File

@ -1,4 +1,5 @@
drop database if exists test_mcol2000;
SET @@SQL_MODE = CONCAT(@@SQL_MODE, ',STRICT_TRANS_TABLES');
create database test_mcol2000;
use test_mcol2000;
drop table if exists orig;
@ -1079,7 +1080,7 @@ g text 65535
h datetime 8
i text 16777215
j datetime 8
k text 2100000000
k text 16777215
l datetime 8
drop table if exists cs1;
drop table if exists cs2;
@ -1186,7 +1187,7 @@ g text 65535
h datetime 8
i text 16777215
j datetime 8
k text 2100000000
k text 16777215
l datetime 8
drop table if exists cs1;
drop table if exists cs2;
@ -1293,7 +1294,7 @@ g text 65535
h datetime 8
i text 16777215
j datetime 8
k text 2100000000
k text 16777215
l datetime 8
drop table cs1;
drop table cs2;

View File

@ -9,6 +9,8 @@
drop database if exists test_mcol2000;
-- enable_warnings
SET @@SQL_MODE = CONCAT(@@SQL_MODE, ',STRICT_TRANS_TABLES');
#let $saved_cs = `SELECT @@character_set_client`;
#SET CHARSET utf8;