~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to tests/t/myisam.test

  • Committer: Monty Taylor
  • Date: 2009-01-28 04:37:46 UTC
  • mto: (779.7.3 devel)
  • mto: This revision was merged to the branch mainline in revision 816.
  • Revision ID: mordred@inaugust.com-20090128043746-d2yukekishwn3ftm
TurnedĀ onĀ -Wshadow.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1393
1393
  c2 VARCHAR(1)
1394
1394
) ENGINE=MyISAM;
1395
1395
# Using Tamil Letter A, Unicode U+0B85
1396
 
INSERT INTO t1 VALUES(REPEAT(_utf8 x'e0ae85',43), 'b');
 
1396
INSERT INTO t1 VALUES(REPEAT( x'e0ae85',43), 'b');
1397
1397
SELECT COUNT(*) FROM t1;
1398
1398
CHECK TABLE t1;
1399
1399
REPAIR TABLE t1;
1409
1409
  c2 VARCHAR(1)
1410
1410
) ENGINE=MyISAM;
1411
1411
# Using Tamil Letter A, Unicode U+0B85
1412
 
INSERT INTO t1 VALUES(REPEAT(_utf8 x'e0ae85',43), 'b');
 
1412
INSERT INTO t1 VALUES(REPEAT( x'e0ae85',43), 'b');
1413
1413
SELECT COUNT(*) FROM t1;
1414
1414
CHECK TABLE t1 EXTENDED;
1415
1415
REPAIR TABLE t1 EXTENDED;
1425
1425
  c2 VARCHAR(1)
1426
1426
) ENGINE=MyISAM;
1427
1427
# Using Tamil Letter A, Unicode U+0B85
1428
 
INSERT INTO t1 VALUES(REPEAT(_utf8 x'e0ae85',43), 'b');
 
1428
INSERT INTO t1 VALUES(REPEAT( x'e0ae85',43), 'b');
1429
1429
# Insert more rows and delete one in the middle to force optimize.
1430
1430
INSERT INTO t1 VALUES('b', 'b');
1431
1431
INSERT INTO t1 VALUES('c', 'b');
1460
1460
#
1461
1461
# Change most of the rows into long character values with > 42 characters.
1462
1462
# Using Tamil Letter A, Unicode U+0B85
1463
 
UPDATE t1 SET c1=REPEAT(_utf8 x'e0ae85',43) LIMIT 90;
 
1463
UPDATE t1 SET c1=REPEAT( x'e0ae85',43) LIMIT 90;
1464
1464
SELECT COUNT(*) FROM t1;
1465
1465
ALTER TABLE t1 ENGINE=MyISAM;
1466
1466
#