~mdcallag/+junk/5.1-map

« back to all changes in this revision

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

  • Committer: msvensson at pilot
  • Date: 2007-04-24 09:11:45 UTC
  • mfrom: (2469.1.106)
  • Revision ID: sp1r-msvensson@pilot.blaudden-20070424091145-10463
Merge pilot.blaudden:/home/msvensson/mysql/my51-m-mysql_upgrade
into  pilot.blaudden:/home/msvensson/mysql/mysql-5.1-maint

Show diffs side-by-side

added added

removed removed

Lines of Context:
387
387
2
388
388
5
389
389
drop table t1;
 
390
set @save_qcache_size=@@global.query_cache_size;
 
391
set @save_qcache_type=@@global.query_cache_type;
 
392
set global query_cache_size=10*1024*1024;
 
393
set global query_cache_type=1;
 
394
drop table if exists `test`;
 
395
Warnings:
 
396
Note    1051    Unknown table 'test'
 
397
CREATE TABLE `test` (`test1` varchar(3) NOT NULL,
 
398
`test2` varchar(4) NOT NULL,PRIMARY KEY  (`test1`))
 
399
ENGINE=InnoDB DEFAULT CHARSET=latin1;
 
400
INSERT INTO `test` (`test1`, `test2`) VALUES ('tes', '5678');
 
401
select * from test;
 
402
test1   test2
 
403
tes     5678
 
404
INSERT INTO `test` (`test1`, `test2`) VALUES ('tes', '1234')
 
405
ON DUPLICATE KEY UPDATE `test2` = '1234';
 
406
select * from test;
 
407
test1   test2
 
408
tes     1234
 
409
flush tables;
 
410
select * from test;
 
411
test1   test2
 
412
tes     1234
 
413
drop table test;
 
414
set global query_cache_type=@save_qcache_type;
 
415
set global query_cache_size=@save_qcache_size;
390
416
End of 5.0 tests
391
417
CREATE TABLE t1 (a int, b int);
392
418
insert into t1 values (1,1),(1,2);