mariadb/mysql-test/t/truncate.test
monty@donna.mysql.com c0f40d14cc Added support for hex strings to mysqlimport
A lot of new tests to mysqltest
Fixed bug with BDB tables and autocommit
2000-12-28 03:56:38 +02:00

11 lines
248 B
Text

#
# Test of truncate
#
create table t1 (a integer, b integer,c1 CHAR(10));
truncate t1;
select count(*) from t1;
insert into t1 values(1,2,"test");
select count(*) from t1;
drop table t1;
# The following should fail
!$1146 select count(*) from t1;