~jlukas79/+junk/mysql-server

« back to all changes in this revision

Viewing changes to mysql-test/r/myisam.result

manual merge 6.0-main --> 6.0-bka-review

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
drop table if exists t1,t2;
 
1
drop table if exists t1,t2,t3;
2
2
SET SQL_WARNINGS=1;
3
3
CREATE TABLE t1 (
4
4
STRING_DATA char(255) default NULL,
553
553
insert t2 select * from t1;
554
554
checksum table t1, t2, t3 quick;
555
555
Table   Checksum
556
 
test.t1 2948697075
 
556
test.t1 3442722830
557
557
test.t2 NULL
558
558
test.t3 NULL
559
559
Warnings:
560
560
Error   1146    Table 'test.t3' doesn't exist
561
561
checksum table t1, t2, t3;
562
562
Table   Checksum
563
 
test.t1 2948697075
564
 
test.t2 2948697075
 
563
test.t1 3442722830
 
564
test.t2 3442722830
565
565
test.t3 NULL
566
566
Warnings:
567
567
Error   1146    Table 'test.t3' doesn't exist
568
568
checksum table t1, t2, t3 extended;
569
569
Table   Checksum
570
 
test.t1 2948697075
571
 
test.t2 2948697075
 
570
test.t1 3442722830
 
571
test.t2 3442722830
572
572
test.t3 NULL
573
573
Warnings:
574
574
Error   1146    Table 'test.t3' doesn't exist
1088
1088
insert into t1 values (concat('+',@a),concat('+',@a),concat('+',@a));
1089
1089
Warnings:
1090
1090
Note    1265    Data truncated for column 'v' at row 1
1091
 
Note    1265    Data truncated for column 'c' at row 1
1092
1091
select concat('*',v,'*',c,'*',t,'*') from t1;
1093
1092
concat('*',v,'*',c,'*',t,'*')
1094
1093
*+ *+*+ *
1834
1833
3       2
1835
1834
4       5
1836
1835
DROP TABLE t1, t2;
 
1836
CREATE TABLE t1 (line LINESTRING NOT NULL) engine=myisam;
 
1837
INSERT INTO t1 VALUES (GeomFromText("POINT(0 0)"));
 
1838
checksum table t1;
 
1839
Table   Checksum
 
1840
test.t1 326284887
 
1841
CREATE TABLE t2 (line LINESTRING NOT NULL) engine=myisam;
 
1842
INSERT INTO t2 VALUES (GeomFromText("POINT(0 0)"));
 
1843
checksum table t2;
 
1844
Table   Checksum
 
1845
test.t2 326284887
 
1846
CREATE TABLE t3 select * from t1;
 
1847
checksum table t3;
 
1848
Table   Checksum
 
1849
test.t3 326284887
 
1850
drop table t1,t2,t3;
1837
1851
End of 5.0 tests
1838
1852
create table t1 (a int not null, key `a` (a) key_block_size=1024);
1839
1853
show create table t1;
2207
2221
1   2     40  multip. varchar              
2208
2222
2   43    40  multip. char NULL            
2209
2223
DROP TABLE t1;
 
2224
create table t1 (n int not null, c char(1)) transactional=1;
 
2225
Warnings:
 
2226
Error   1478    Table storage engine 'MyISAM' does not support the create option 'TRANSACTIONAL=1'
 
2227
show create table t1;
 
2228
Table   Create Table
 
2229
t1      CREATE TABLE `t1` (
 
2230
  `n` int(11) NOT NULL,
 
2231
  `c` char(1) DEFAULT NULL
 
2232
) ENGINE=MyISAM DEFAULT CHARSET=latin1 TRANSACTIONAL=1
 
2233
drop table t1;
 
2234
CREATE TABLE t1 (line LINESTRING NOT NULL) engine=myisam;
 
2235
INSERT INTO t1 VALUES (GeomFromText("POINT(0 0)"));
 
2236
checksum table t1;
 
2237
Table   Checksum
 
2238
test.t1 326284887
 
2239
CREATE TABLE t2 (line LINESTRING NOT NULL) engine=myisam;
 
2240
INSERT INTO t2 VALUES (GeomFromText("POINT(0 0)"));
 
2241
checksum table t2;
 
2242
Table   Checksum
 
2243
test.t2 326284887
 
2244
CREATE TABLE t3 select * from t1;
 
2245
checksum table t3;
 
2246
Table   Checksum
 
2247
test.t3 326284887
 
2248
drop table t1,t2,t3;
2210
2249
End of 5.1 tests