diff options
author | unknown <monty@mashka.mysql.fi> | 2003-02-10 17:59:16 +0200 |
---|---|---|
committer | unknown <monty@mashka.mysql.fi> | 2003-02-10 17:59:16 +0200 |
commit | 96273457dd172291892b279c420a770e64e0a5a3 (patch) | |
tree | afc92b80727719cbb09f63c506e547cb0aed94f4 /sql/sql_lex.cc | |
parent | ed95131e0637d6adb280e3501134dbf7496da3a4 (diff) | |
download | mariadb-git-96273457dd172291892b279c420a770e64e0a5a3.tar.gz |
Move tmp_table_used to THD
Optimize depending sub querys
Remove valgrind warnings
libmysqld/lib_sql.cc:
Better way to reset errors
mysql-test/mysql-test-run.sh:
Remove wrong `
mysql-test/r/subselect.result:
Don't use table t1
mysql-test/t/subselect.test:
Don't use table t1
sql/item.cc:
Indentation fix
sql/item.h:
optimize depending sub querys
sql/item_func.cc:
Remove warning for uninitalized data
sql/item_row.cc:
Remove warning
sql/item_strfunc.h:
Fixed memory overrun
sql/item_subselect.cc:
Better debugging names
sql/log_event.cc:
Move tmp_table_used to THD
sql/sql_base.cc:
Move tmp_table_used to THD
sql/sql_class.cc:
Move tmp_table_used to THD
sql/sql_class.h:
Move tmp_table_used to THD
sql/sql_lex.cc:
Move tmp_table_used to THD
sql/sql_lex.h:
Move tmp_table_used to THD
sql/sql_parse.cc:
Move tmp_table_used to THD
sql/sql_select.cc:
optimize depending sub querys
sql/sql_table.cc:
Move tmp_table_used to THD
Diffstat (limited to 'sql/sql_lex.cc')
-rw-r--r-- | sql/sql_lex.cc | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/sql/sql_lex.cc b/sql/sql_lex.cc index 6bb81de5fcf..29d56905788 100644 --- a/sql/sql_lex.cc +++ b/sql/sql_lex.cc @@ -167,7 +167,6 @@ LEX *lex_start(THD *thd, uchar *buf,uint length) lex->slave_thd_opt=0; lex->sql_command=SQLCOM_END; lex->safe_to_cache_query= 1; - lex->tmp_table_used= 0; bzero(&lex->mi,sizeof(lex->mi)); return lex; } @@ -1051,8 +1050,7 @@ void st_select_lex::init_select() use_index.empty(); ftfunc_list_alloc.empty(); ftfunc_list= &ftfunc_list_alloc; - if (linkage != UNION_TYPE) - linkage= UNSPECIFIED_TYPE; + linkage= UNSPECIFIED_TYPE; } /* |