~ubuntu-branches/ubuntu/precise/mysql-5.1/precise

« back to all changes in this revision

Viewing changes to mysql-test/t/alter_table-big.test

  • Committer: Bazaar Package Importer
  • Author(s): Chuck Short
  • Date: 2010-06-21 15:31:05 UTC
  • mfrom: (1.1.3 upstream)
  • mto: This revision was merged to the branch mainline in revision 6.
  • Revision ID: james.westby@ubuntu.com-20100621153105-pbbz3t6nyrf9t2zq
Tags: upstream-5.1.48
ImportĀ upstreamĀ versionĀ 5.1.48

Show diffs side-by-side

added added

removed removed

Lines of Context:
31
31
# statement execution, so we don't need many rows in 't1' to make
32
32
# this test repeatable.
33
33
alter table t1 disable keys;
 
34
--disable_warnings
34
35
insert into t1 values (RAND()*1000, RAND()*1000, RAND()*1000);
 
36
--enable_warnings
35
37
 
36
38
# Later we use binlog to check the order in which statements are
37
39
# executed so let us reset it first.
50
52
--reap
51
53
set session debug="-d,sleep_alter_enable_indexes";
52
54
# Check that statements were executed/binlogged in correct order.
53
 
--replace_column 2 # 5 #
54
 
show binlog events in 'master-bin.000001' from 106;
 
55
source include/show_binlog_events.inc;
55
56
 
56
57
# Clean up
57
58
drop tables t1, t2;
111
112
set session debug="-d,sleep_alter_before_main_binlog";
112
113
 
113
114
# Check that all statements were logged in correct order
114
 
--replace_column 2 # 5 #
115
 
show binlog events in 'master-bin.000001' from 106;
 
115
source include/show_binlog_events.inc;
116
116
 
117
117
 
118
118
--echo End of 5.1 tests