1
0
mirror of https://github.com/MariaDB/server.git synced 2025-12-24 11:21:21 +03:00

fixed bug in truncating temp tables

fixed compilation problem on FreeBSD
added test for truncating temporary tables
This commit is contained in:
sasha@mysql.sashanet.com
2002-04-08 18:20:24 -06:00
parent 2472736698
commit d196201107
4 changed files with 20 additions and 2 deletions

View File

@@ -14,3 +14,9 @@ a b c1
drop table t1;
select count(*) from t1;
Table 'test.t1' doesn't exist
create temporary table t1 (n int);
insert into t1 values (1),(2),(3);
truncate table t1;
select * from t1;
n
drop table t1;