~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to tests/t/truncate.test

  • Committer: Padraig O'Sullivan
  • Date: 2009-03-21 20:26:28 UTC
  • mto: (960.2.5 mordred)
  • mto: This revision was merged to the branch mainline in revision 961.
  • Revision ID: osullivan.padraig@gmail.com-20090321202628-nh6qsi825m4d4av6
Removing the queues.[h,cc] files from the mysys directory. The only place
where they are needed now is in the MyISAM storage engine. Thus, I moved the
files there and updated the files in the MyISAM storage engine
appropriately.

Show diffs side-by-side

added added

removed removed

Lines of Context:
52
52
drop table t1;
53
53
 
54
54
# End of 4.1 tests
55
 
 
56
 
# Test for Bug#5507 "TRUNCATE should work with views"
57
 
#
58
 
# when it'll be fixed, the error should become 1347
59
 
# (test.v1' is not BASE TABLE)
60
 
#
61
 
 
62
 
create table t1 (s1 int); 
63
 
insert into t1 (s1) values (1), (2), (3), (4), (5);
64
 
create view v1 as select * from t1;
65
 
--error 1146
66
 
truncate table v1;
67
 
drop view v1;
68
 
drop table t1;
69
 
 
70
 
# End of 5.0 tests
71