~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to tests/t/delete.test

  • Committer: Brian Aker
  • Date: 2009-12-03 01:17:53 UTC
  • mto: (1237.3.2 push)
  • mto: This revision was merged to the branch mainline in revision 1238.
  • Revision ID: brian@gaz-20091203011753-159h2no5m5c5dt9b
Small cleanups, did in MERGE table only engine flag.

Show diffs side-by-side

added added

removed removed

Lines of Context:
112
112
-- error 1242
113
113
delete from t11 where t11.b <> (select b from t2 where t11.a < t2.a);
114
114
select * from t11;
115
 
 
116
 
# PBXT doesn't currently support DELETE IGNORE and turns it into plain DELETE
117
 
if (`select if (@@storage_engine = 'PBXT', 0, 1)`) { 
118
 
  delete ignore from t11 where t11.b <> (select b from t2 where t11.a < t2.a);
119
 
}
 
115
delete ignore from t11 where t11.b <> (select b from t2 where t11.a < t2.a);
120
116
select * from t11;
121
117
drop table t11, t12, t2;
122
118
 
247
243
CREATE TABLE db2.t2 AS SELECT * FROM db2.t1;
248
244
CREATE TABLE t1 AS SELECT * FROM db2.t2;
249
245
CREATE TABLE t2 AS SELECT * FROM t1;
250
 
 
251
 
DROP DATABASE db1;
252
 
DROP DATABASE db2;
253
 
DROP TABLE t1, t2;