~maria-captains/maria/mysql-6.0-backup

« back to all changes in this revision

Viewing changes to mysql-test/t/merge.test

  • Committer: Thava Alagu
  • Date: 2010-03-11 19:18:17 UTC
  • mfrom: (3719.14.62 mysql-6.0-codebase)
  • Revision ID: thavamuni.alagu@sun.com-20100311191817-5nigmq884xo9fuut
Merge from mysql-6.0-codebase

Show diffs side-by-side

added added

removed removed

Lines of Context:
2370
2370
execute stmt;
2371
2371
drop table t4, t3, t2, t1;
2372
2372
 
 
2373
 
 
2374
--echo #
 
2375
--echo # Bug#51240 ALTER TABLE of a locked MERGE table fails
 
2376
--echo #
 
2377
 
 
2378
--disable_warnings
 
2379
DROP TABLE IF EXISTS m1, t1;
 
2380
--enable_warnings
 
2381
 
 
2382
CREATE TABLE t1 (c1 INT);
 
2383
CREATE TABLE m1 (c1 INT) ENGINE=MRG_MyISAM UNION=(t1);
 
2384
LOCK TABLE m1 WRITE;
 
2385
# This used to cause an error.
 
2386
ALTER TABLE m1 ADD INDEX (c1);
 
2387
 
 
2388
UNLOCK TABLES;
 
2389
DROP TABLE m1, t1;
 
2390
 
 
2391
 
2373
2392
--echo End of 6.0 tests
2374
2393
 
2375
2394
--disable_result_log