List:Commits« Previous MessageNext Message »
From:Daogang Qu Date:July 27 2010 8:12am
Subject:Re: bzr commit into mysql-5.1-bugteam branch (Dao-Gang.Qu:3470)
Bug#34283
View as plain text  
Libing Song wrote:
> Hi Daogang,
>
>   
>> === added file 'mysql-test/suite/binlog/t/binlog_mixed_load_data.test'
>> --- a/mysql-test/suite/binlog/t/binlog_mixed_load_data.test	1970-01-01 00:00:00
> +0000
>> +++ b/mysql-test/suite/binlog/t/binlog_mixed_load_data.test	2010-07-27 05:28:11
> +0000
>> @@ -0,0 +1,14 @@
>> +#
>> +# Bug #34283  mysqlbinlog leaves tmpfile after termination
>> +# if binlog contains load data infile, so in mixed mode we
>> +# go to row-based for avoiding the problem.
>> +#
>> +
>> +--source include/have_binlog_format_mixed.inc
>> +--source include/have_log_bin.inc
>>     
> Please reset master. We have to do that, as we want to show binlog
> events.
>   
Why reset master as we just start the master?
And we set $binlog_start for show_binlog_events.inc.
>> +
>> +CREATE TABLE t1 (word CHAR(20) NOT NULL) ENGINE=MYISAM;
>> +let $binlog_start= query_get_value(SHOW MASTER STATUS, Position, 1);
>> +LOAD DATA INFILE '../../std_data/words.dat' INTO TABLE t1;
>> +--source include/show_binlog_events.inc
>> +DROP TABLE t1;
>>
>>     
>
>   

Thread
bzr commit into mysql-5.1-bugteam branch (Dao-Gang.Qu:3470) Bug#34283Dao-Gang.Qu27 Jul
  • Re: bzr commit into mysql-5.1-bugteam branch (Dao-Gang.Qu:3470)Bug#34283Libing Song27 Jul
    • Re: bzr commit into mysql-5.1-bugteam branch (Dao-Gang.Qu:3470)Bug#34283Daogang Qu27 Jul
    • Re: bzr commit into mysql-5.1-bugteam branch (Dao-Gang.Qu:3470)Bug#34283Daogang Qu27 Jul