mirror of
				https://github.com/MariaDB/server.git
				synced 2025-11-04 12:56:14 +01:00 
			
		
		
		
	
		
			
				
	
	
		
			27 lines
		
	
	
	
		
			705 B
		
	
	
	
		
			Text
		
	
	
	
	
	
			
		
		
	
	
			27 lines
		
	
	
	
		
			705 B
		
	
	
	
		
			Text
		
	
	
	
	
	
SET @odl_sync_frm = @@global.sync_frm;
 | 
						|
SET @@global.sync_frm = OFF;
 | 
						|
connect  locker,localhost,root,,;
 | 
						|
connect  writer,localhost,root,,;
 | 
						|
connection default;
 | 
						|
DROP TABLE IF EXISTS t1,t2,t3;
 | 
						|
CREATE TABLE t1 (
 | 
						|
a int(11) unsigned default NULL,
 | 
						|
b varchar(250) default NULL,
 | 
						|
UNIQUE KEY a (a),
 | 
						|
KEY b (b)
 | 
						|
);
 | 
						|
INSERT INTO t1 VALUES (1, 1), (2, 2), (3, 3);
 | 
						|
CREATE TABLE t2 SELECT * FROM t1;
 | 
						|
CREATE TABLE t3 SELECT * FROM t1;
 | 
						|
# test altering of columns that multiupdate doesn't use
 | 
						|
# normal mode
 | 
						|
# PS mode
 | 
						|
# test altering of columns that multiupdate uses
 | 
						|
# normal mode
 | 
						|
connection default;
 | 
						|
# PS mode
 | 
						|
connection default;
 | 
						|
DROP TABLE t1, t2, t3;
 | 
						|
disconnect locker;
 | 
						|
disconnect writer;
 | 
						|
SET @@global.sync_frm = @odl_sync_frm;
 |