summaryrefslogtreecommitdiff
path: root/mysql-test/r/truncate.result
diff options
context:
space:
mode:
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;