diff options
author | unknown <monty@mishka.local> | 2004-09-17 03:08:23 +0300 |
---|---|---|
committer | unknown <monty@mishka.local> | 2004-09-17 03:08:23 +0300 |
commit | d209efc0a90258aa1f67b47ede06f28746adfe08 (patch) | |
tree | a8b336253346895e427b74008617db6d076f5fa3 /mysql-test/r | |
parent | 4ff57e80f745412b9e4cea67fb51ad3ecd75995f (diff) | |
download | mariadb-git-d209efc0a90258aa1f67b47ede06f28746adfe08.tar.gz |
Removed wrong warnings in test suite (This was because select_insert / select_create results was not freed.
Added thd to openfrm() for initialization of TABLE->in_use. This fixed a bug in BDB handling where table->in_use was used early
mysql-test/r/key.result:
Added new tests that shows a bug in warnings hat
mysql-test/t/key.test:
Added new tests that shows a bug in warnings hat
sql/handler.cc:
Added thd to openfrm() for initialization of TABLE->in_use
sql/item.cc:
New function to avoid warnings when giving field a value
sql/item.h:
New function to avoid warnings when giving field a value
sql/mysql_priv.h:
Added thd to openfrm() for initialization of TABLE->in_use
sql/opt_range.cc:
Don't give warnings in optimizer when internally storing a field value in a field. (Should be ok as we ar checking the feild in the WHERE clause later)
sql/sql_base.cc:
Give memroot explicitely to open_unireg_entry() and open_table() (Makes code simpler)
Ensure that table->in_use is set early
New arguments for openfrm()
sql/sql_insert.cc:
More debugging & comments
sql/sql_parse.cc:
Delete results for select_insert and select_create. This fixed a bug that generated warnings in test suite
sql/sql_select.h:
Don't give warnings in optimizer when internally storing a field value in a field. (Should be ok as we ar checking the feild in the WHERE clause later)
sql/sql_table.cc:
New arguments to open_table() and openfrm()
sql/table.cc:
Added thd to openfrm() for initialization of TABLE->in_use
This fixes some bugs in BDB where table->in_use was used
Diffstat (limited to 'mysql-test/r')
-rw-r--r-- | mysql-test/r/key.result | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/mysql-test/r/key.result b/mysql-test/r/key.result index bb553825caa..98ff5fad7b2 100644 --- a/mysql-test/r/key.result +++ b/mysql-test/r/key.result @@ -110,7 +110,11 @@ name_id name SELECT * FROM t2 WHERE name='[T,U]_axpby'; name_id name 2 [T,U]_axpby -drop table t1,t2; +CREATE TABLE t3 SELECT * FROM t2 WHERE name='[T,U]_axpby'; +SELECT * FROM t2 WHERE name='[T,U]_axpby'; +name_id name +2 [T,U]_axpby +drop table t1,t2,t3; create table t1 ( SEQNO numeric(12 ) not null, |