summaryrefslogtreecommitdiff
path: root/mysql-test/r/truncate.result
diff options
context:
space:
mode:
authorunknown <sasha@mysql.sashanet.com>2002-04-08 18:20:24 -0600
committerunknown <sasha@mysql.sashanet.com>2002-04-08 18:20:24 -0600
commitfc79f8e68ac81dfa0841c3a5899d4bed905f35c5 (patch)
treea29549e01f5f40479b43c1a0dc2f11c3c89c8f71 /mysql-test/r/truncate.result
parentd85cacfa63eeaeebb4e23c9c85c8fcd2de3712cb (diff)
downloadmariadb-git-fc79f8e68ac81dfa0841c3a5899d4bed905f35c5.tar.gz
fixed bug in truncating temp tables
fixed compilation problem on FreeBSD added test for truncating temporary tables mysql-test/r/truncate.result: truncate test mysql-test/t/truncate.test: truncate test update mysys/safemalloc.c: fixed FreeBSD compilation problem sql/sql_delete.cc: fixed bug in truncating temporary tables
Diffstat (limited to 'mysql-test/r/truncate.result')
-rw-r--r--mysql-test/r/truncate.result6
1 files changed, 6 insertions, 0 deletions
diff --git a/mysql-test/r/truncate.result b/mysql-test/r/truncate.result
index 79471611638..e02797cc8e5 100644
--- a/mysql-test/r/truncate.result
+++ b/mysql-test/r/truncate.result
@@ -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;