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 
			
		
		
		
	
		
			
				
	
	
		
			29 lines
		
	
	
		
			711 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			29 lines
		
	
	
		
			711 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
-- source ../include/have_columnstore.inc
 | 
						|
--source ../include/functions.inc
 | 
						|
 | 
						|
--disable_warnings
 | 
						|
DROP DATABASE IF EXISTS cal_test_db;
 | 
						|
--enable_warnings
 | 
						|
 | 
						|
CREATE DATABASE cal_test_db;
 | 
						|
USE cal_test_db;
 | 
						|
 | 
						|
create table t1(a int, b int comment 'autoincrement=1') engine=columnstore;
 | 
						|
 | 
						|
select calflushcache();
 | 
						|
select calsettrace(0);
 | 
						|
select calsetparms("pmmaxmemorysmallside","2048000000");
 | 
						|
select calgettrace();
 | 
						|
select calgetversion()=mcsgetversion();
 | 
						|
 | 
						|
 | 
						|
select calviewtablelock("t1");
 | 
						|
select calcleartablelock(0);
 | 
						|
select callastinsertid("t1");
 | 
						|
--replace_regex /(Running SQL statements 1)/Running SQL statements 0/
 | 
						|
select calgetsqlcount();
 | 
						|
 | 
						|
DROP TABLE t1;
 | 
						|
DROP DATABASE cal_test_db;
 | 
						|
--source ../include/drop_functions.inc
 |