mirror of
				https://github.com/MariaDB/server.git
				synced 2025-11-03 14:33:32 +03:00 
			
		
		
		
	fixes for restore table test case for backup/restore extra/resolve_stack_dump.c: fixed buffer overrun mysql-test/t/rpl000004.test: updated load table from master test case sql/ha_myisam.cc: verbose error messages during backup table, very silent repair on restore sql/sql_table.cc: fixed bugs in restore table
		
			
				
	
	
		
			31 lines
		
	
	
		
			811 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			31 lines
		
	
	
		
			811 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
source include/master-slave.inc;
 | 
						|
connection master;
 | 
						|
use test;
 | 
						|
set SQL_LOG_BIN=0;
 | 
						|
drop table if exists t1;
 | 
						|
create table t1 (word char(20) not null, index(word));
 | 
						|
load data infile '../../std_data/words.dat' into table t1;
 | 
						|
drop table if exists t2;
 | 
						|
create table t2 (word char(20) not null);
 | 
						|
load data infile '../../std_data/words.dat' into table t2;
 | 
						|
create table t3 (word char(20) not null primary key);
 | 
						|
connection slave;
 | 
						|
use test;
 | 
						|
drop table if exists t1;
 | 
						|
load table t1 from master;
 | 
						|
drop table if exists t2;
 | 
						|
load table t2 from master;
 | 
						|
drop table if exists t3;
 | 
						|
load table t3 from master;
 | 
						|
check table t1;
 | 
						|
select count(*) from t2;
 | 
						|
select count(*) from t3;
 | 
						|
connection master;
 | 
						|
set SQL_LOG_BIN=1;
 | 
						|
drop table if exists t1,t2,t3;
 | 
						|
save_master_pos;
 | 
						|
connection slave;
 | 
						|
sync_with_master;
 | 
						|
create table t1(n int);
 | 
						|
drop table t1;
 |