~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to tests/t/delete.test

  • Committer: Brian Aker
  • Date: 2010-09-20 00:00:20 UTC
  • Revision ID: brian@tangent.org-20100920000020-s6x30brpajr83pkr
Update session/memory to use boost specific.

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
 
delete ignore from t11 where t11.b <> (select b from t2 where t11.a < t2.a);
 
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
}
116
120
select * from t11;
117
121
drop table t11, t12, t2;
118
122
 
243
247
CREATE TABLE db2.t2 AS SELECT * FROM db2.t1;
244
248
CREATE TABLE t1 AS SELECT * FROM db2.t2;
245
249
CREATE TABLE t2 AS SELECT * FROM t1;
 
250
 
 
251
DROP DATABASE db1;
 
252
DROP DATABASE db2;
 
253
DROP TABLE t1, t2;