You've already forked mariadb-columnstore-engine
mirror of
https://github.com/mariadb-corporation/mariadb-columnstore-engine.git
synced 2025-08-29 03:22:01 +03:00
* Restructured test suites and added autopilot and extended suites * Updated autopilot with correct branch - develop * Moved setup test case to a 'setup' directory, for consistency * Fixed a path issue * Updated some tests cases to keep up with development Co-authored-by: root <root@rocky8.localdomain>
30 lines
965 B
Plaintext
30 lines
965 B
Plaintext
# -------------------------------------------------------------- #
|
|
# Test case migrated from regression test suite: MCOL-1662.sql
|
|
#
|
|
# Author: Daniel Lee, daniel.lee@mariadb.com
|
|
# -------------------------------------------------------------- #
|
|
#
|
|
--source ../include/have_columnstore.inc
|
|
#
|
|
USE tpch1;
|
|
#
|
|
#-- Run an insert...select without cpimport followed by update to trigger
|
|
#-- bad cache results due to dictionary version stuck at 0
|
|
CREATE TABLE IF NOT EXISTS mcol1662 (a int, b varchar(200)) engine=columnstore;
|
|
CREATE TABLE IF NOT EXISTS mcol1662_source (a int, b varchar(200));
|
|
INSERT INTO mcol1662_source VALUES (1, 'hello');
|
|
|
|
SET columnstore_use_import_for_batchinsert=0;
|
|
|
|
INSERT INTO mcol1662 SELECT * FROM mcol1662_source;
|
|
UPDATE mcol1662 SET a = 1, b = 'Hello' WHERE a = 1 and b = 'hello';
|
|
|
|
#-- Before bug fix this returns _CpNoTf_
|
|
SELECT * FROM mcol1662;
|
|
|
|
SET columnstore_use_import_for_batchinsert=1;
|
|
DROP TABLE mcol1662_source;
|
|
DROP TABLE mcol1662;
|
|
#
|
|
|