mirror of
				https://github.com/MariaDB/server.git
				synced 2025-10-30 04:26:45 +03:00 
			
		
		
		
	into mysql.com:/home/jimw/my/mysql-5.0-clean mysql-test/r/func_str.result: Auto merged mysql-test/r/lowercase_table2.result: Auto merged mysql-test/r/rpl_failed_optimize.result: Auto merged vio/viossl.c: Auto merged mysql-test/t/func_str.test: Merge from 4.1 sql/item_func.cc: Merge from 4.1 sql/sql_table.cc: Merge from 4.1
		
			
				
	
	
		
			21 lines
		
	
	
		
			656 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			21 lines
		
	
	
		
			656 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
| stop slave;
 | |
| drop table if exists t1,t2,t3,t4,t5,t6,t7,t8,t9;
 | |
| reset master;
 | |
| reset slave;
 | |
| drop table if exists t1,t2,t3,t4,t5,t6,t7,t8,t9;
 | |
| start slave;
 | |
| CREATE TABLE t1 ( a int ) ENGINE=InnoDB;
 | |
| BEGIN;
 | |
| INSERT INTO t1 VALUES (1);
 | |
| OPTIMIZE TABLE t1;
 | |
| Table	Op	Msg_type	Msg_text
 | |
| test.t1	optimize	error	Lock wait timeout exceeded; try restarting transaction
 | |
| test.t1	optimize	status	Operation failed
 | |
| Warnings:
 | |
| Error	1205	Lock wait timeout exceeded; try restarting transaction
 | |
| OPTIMIZE TABLE non_existing;
 | |
| Table	Op	Msg_type	Msg_text
 | |
| test.non_existing	optimize	error	Table 'test.non_existing' doesn't exist
 | |
| Warnings:
 | |
| Error	1146	Table 'test.non_existing' doesn't exist
 |