mirror of
https://github.com/MariaDB/server.git
synced 2025-12-24 11:21:21 +03:00
Added support for hex strings to mysqlimport
A lot of new tests to mysqltest Fixed bug with BDB tables and autocommit
This commit is contained in:
11
mysql-test/t/truncate.test
Normal file
11
mysql-test/t/truncate.test
Normal file
@@ -0,0 +1,11 @@
|
||||
#
|
||||
# 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;
|
||||
Reference in New Issue
Block a user