21 lines
		
	
	
		
			539 B
		
	
	
	
		
			Plaintext
		
	
	
	
		
		
			
		
	
	
			21 lines
		
	
	
		
			539 B
		
	
	
	
		
			Plaintext
		
	
	
	
|  | SET @odl_sync_frm = @@global.sync_frm; | ||
|  | SET @@global.sync_frm = OFF; | ||
|  | DROP TABLE IF EXISTS t1,t2,t3; | ||
|  | CREATE TABLE t1 ( | ||
|  | a int(11) unsigned default NULL, | ||
|  | b varchar(255) 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 | ||
|  | # PS mode | ||
|  | DROP TABLE t1, t2, t3; | ||
|  | SET @@global.sync_frm = @odl_sync_frm; |