diff options
author | bell@sanja.is.com.ua <> | 2004-05-20 02:02:49 +0300 |
---|---|---|
committer | bell@sanja.is.com.ua <> | 2004-05-20 02:02:49 +0300 |
commit | c7396f8d207510456e37143a3f3e1d0ae7c1a305 (patch) | |
tree | de54f6ead302056d37992e52523ed0bec48700fc /sql/sql_lex.h | |
parent | 9620715679e21196e087a57f10f42b974c281fe3 (diff) | |
download | mariadb-git-c7396f8d207510456e37143a3f3e1d0ae7c1a305.tar.gz |
PS and SP made compatible in mechanism used for preparing query for rexecutions (Bug #2266)
Diffstat (limited to 'sql/sql_lex.h')
-rw-r--r-- | sql/sql_lex.h | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/sql/sql_lex.h b/sql/sql_lex.h index 60965209cc9..0f0c39ab493 100644 --- a/sql/sql_lex.h +++ b/sql/sql_lex.h @@ -405,8 +405,6 @@ public: enum olap_type olap; SQL_LIST table_list, group_list; /* FROM & GROUP BY clauses */ List<Item> item_list; /* list of fields & expressions */ - List<Item> item_list_copy; /* For SPs */ - byte *table_list_first_copy; /* For SPs */ List<String> interval_list, use_index, *use_index_ptr, ignore_index, *ignore_index_ptr; /* @@ -435,6 +433,11 @@ public: uint cond_count; /* number of arguments of and/or/xor in where/having */ enum_parsing_place parsing_place; /* where we are parsing expression */ bool with_sum_func; /* sum function indicator */ + /* + PS or SP cond natural joins was alredy processed with permanent + arena and all additional items which we need alredy stored in it + */ + bool conds_processed_with_permanent_arena; ulong table_join_options; uint in_sum_expr; @@ -445,6 +448,7 @@ public: bool having_fix_field; /* explicit LIMIT clause was used */ bool explicit_limit; + bool first_execution; /* first execution in SP or PS */ /* SELECT for SELECT command st_select_lex. Used to privent scaning |