diff options
author | unknown <sasha@mysql.sashanet.com> | 2002-04-08 18:20:24 -0600 |
---|---|---|
committer | unknown <sasha@mysql.sashanet.com> | 2002-04-08 18:20:24 -0600 |
commit | 423ccf3ec976d670d50c198c988f283f479da43d (patch) | |
tree | a29549e01f5f40479b43c1a0dc2f11c3c89c8f71 /mysql-test/r/truncate.result | |
parent | e9e3c528bceeba425f663934d6411135c25e8077 (diff) | |
download | mariadb-git-423ccf3ec976d670d50c198c988f283f479da43d.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.result | 6 |
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; |