diff options
author | monty@mysql.com <> | 2005-09-22 03:23:07 +0300 |
---|---|---|
committer | monty@mysql.com <> | 2005-09-22 03:23:07 +0300 |
commit | 82fc54781b7694c060418996c6b6a6b5bc4b9df4 (patch) | |
tree | 33776d264017bbe56f0deca483d75143bed9762a /mysql-test/t/temp_table.test | |
parent | 6f8d3c4844e7f7dd760f09a5ab8ad309d1d690d6 (diff) | |
download | mariadb-git-82fc54781b7694c060418996c6b6a6b5bc4b9df4.tar.gz |
Fixed problems found by valgrind
Fixed problems in test suite where some test failed
Fixed access to not initialized memory in federated
Fixed access to not initialized memory when using BIT fields in internal temporary tables
Diffstat (limited to 'mysql-test/t/temp_table.test')
-rw-r--r-- | mysql-test/t/temp_table.test | 25 |
1 files changed, 13 insertions, 12 deletions
diff --git a/mysql-test/t/temp_table.test b/mysql-test/t/temp_table.test index 9a7678ed712..6b3991c9c78 100644 --- a/mysql-test/t/temp_table.test +++ b/mysql-test/t/temp_table.test @@ -4,6 +4,7 @@ --disable_warnings drop table if exists t1,t2; +drop view if exists v1; --enable_warnings CREATE TABLE t1 (c int not null, d char (10) not null); @@ -91,18 +92,18 @@ show status like "created_tmp%tables"; drop table t1; # Fix for BUG#8921: Check that temporary table is ingored by view commands. -create temporary table t1 as select 'This is temp. table' A; -create view t1 as select 'This is view' A; -select * from t1; -show create table t1; -show create view t1; -drop view t1; -select * from t1; -create view t1 as select 'This is view again' A; -select * from t1; -drop table t1; -select * from t1; -drop view t1; +create temporary table v1 as select 'This is temp. table' A; +create view v1 as select 'This is view' A; +select * from v1; +show create table v1; +show create view v1; +drop view v1; +select * from v1; +create view v1 as select 'This is view again' A; +select * from v1; +drop table v1; +select * from v1; +drop view v1; # Bug #8497: tmpdir with extra slashes would cause failures # |