You've already forked mariadb-columnstore-engine
							
							
				mirror of
				https://github.com/mariadb-corporation/mariadb-columnstore-engine.git
				synced 2025-11-03 17:13:17 +03:00 
			
		
		
		
	
		
			
				
	
	
		
			34 lines
		
	
	
		
			785 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			34 lines
		
	
	
		
			785 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
# -------------------------------------------------------------- #
 | 
						|
# Test case migrated from regression test suite: MCOL-736.sql
 | 
						|
#
 | 
						|
# Author: Daniel Lee, daniel.lee@mariadb.com
 | 
						|
# -------------------------------------------------------------- #
 | 
						|
#
 | 
						|
--source ../include/have_columnstore.inc
 | 
						|
--source ../include/detect_maxscale.inc
 | 
						|
#
 | 
						|
USE tpch1;
 | 
						|
#
 | 
						|
#-- SELECT was triggering implicit commit
 | 
						|
 | 
						|
--disable_warnings
 | 
						|
DROP TABLE IF EXISTS MCOL_736;
 | 
						|
--enable_warnings
 | 
						|
 | 
						|
CREATE TABLE `MCOL_736` (
 | 
						|
	`code` varchar(255) NOT NULL
 | 
						|
) ENGINE=InnoDB;
 | 
						|
INSERT INTO MCOL_736 (code) VALUES ('BR');
 | 
						|
BEGIN;
 | 
						|
INSERT INTO MCOL_736 (code) VALUES ('UK');
 | 
						|
SELECT 'INSIDE TRANSACTION' AS '';
 | 
						|
ROLLBACK;
 | 
						|
 | 
						|
#-- Result should be BR and not UK
 | 
						|
SELECT * FROM MCOL_736;
 | 
						|
--disable_warnings
 | 
						|
DROP TABLE MCOL_736;
 | 
						|
--enable_warnings
 | 
						|
#
 | 
						|
 |