mirror of
				https://github.com/MariaDB/server.git
				synced 2025-11-03 14:33:32 +03:00 
			
		
		
		
	env variable name is fixed. mysql-test/include/get_binlog_dump_thread_id.inc: Fixing to right env $var name. mysql-test/r/rpl_temporary.result: results
		
			
				
	
	
		
			10 lines
		
	
	
		
			384 B
		
	
	
	
		
			PHP
		
	
	
	
	
	
			
		
		
	
	
			10 lines
		
	
	
		
			384 B
		
	
	
	
		
			PHP
		
	
	
	
	
	
--exec $MYSQL test -e 'show processlist' | grep 'Binlog Dump' | cut -f1 > $MYSQLTEST_VARDIR/tmp/bl_dump_thread_id
 | 
						|
--disable_warnings
 | 
						|
drop table if exists t999;
 | 
						|
--enable_warnings
 | 
						|
create temporary table t999 (f int);
 | 
						|
--replace_result $MYSQLTEST_VARDIR "."
 | 
						|
eval LOAD DATA INFILE "$MYSQLTEST_VARDIR/tmp/bl_dump_thread_id" into table t999;
 | 
						|
let $id = `select f from t999`;
 | 
						|
drop table t999;
 |