~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to tests/t/update.test

  • Committer: Paul McCullagh
  • Date: 2008-10-09 20:02:10 UTC
  • mto: (499.1.1 codestyle)
  • mto: This revision was merged to the branch mainline in revision 505.
  • Revision ID: paul.mccullagh@primebase.org-20081009200210-bibbmfemeaekqow0
Changes to .test files to run both PBXT and InnoDB

Show diffs side-by-side

added added

removed removed

Lines of Context:
222
222
delete from t1 order by a limit 1;
223
223
show status like 'handler_read%';
224
224
 
 
225
# PBXT: this select returns a different result to
 
226
# innodb because the 2 updates above change different rows
225
227
select * from t1;
226
228
update t1 set a=a+10,b=1 order by a limit 3;
227
229
update t1 set a=a+11,b=2 order by a limit 3;
364
366
update t2 set a=id;
365
367
insert into t1 select * from t2;
366
368
 
 
369
# PBXT: Rows changed are different here between InnoDB and PBXT
 
370
# because PBXT does not update the rows that are not modified!
 
371
# InnoDB seems to do this....
367
372
# Check that the number of matched rows is correct when the temporary
368
373
# table is small enough to not be converted to MyISAM
369
374
select count(*) from t1 join t2 on (t1.a=t2.a);