mirror of
https://github.com/MariaDB/server.git
synced 2025-05-02 19:25:03 +03:00
12 lines
248 B
Plaintext
12 lines
248 B
Plaintext
#
|
|
# 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;
|