~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to tests/t/truncate.test

  • Committer: Mark Atwood
  • Date: 2009-01-05 04:37:22 UTC
  • mto: (758.1.1 devel)
  • mto: This revision was merged to the branch mainline in revision 759.
  • Revision ID: me@mark.atwood.name-20090105043722-03l4mzcxi4yjjjih
replace sql_print_error etc with errmsg_print

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