mirror of
https://github.com/MariaDB/server.git
synced 2025-01-19 13:32:33 +01:00
9d120741d2
Changed TRUNCATE table_name -> TRUNCATE TABLE table_name
11 lines
254 B
Text
11 lines
254 B
Text
#
|
|
# Test of truncate
|
|
#
|
|
create table t1 (a integer, b integer,c1 CHAR(10));
|
|
truncate table 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;
|