diff options
author | guilhem@mysql.com <> | 2005-11-18 16:38:01 +0100 |
---|---|---|
committer | guilhem@mysql.com <> | 2005-11-18 16:38:01 +0100 |
commit | 2f95fc2701bd83a9aea31e167f69c16ee51a6317 (patch) | |
tree | 07e22cfddd8927526e3bb2ef581822106278886f /sql/sql_select.h | |
parent | 50afa94dd509be490ebe274b8feec966864b502b (diff) | |
parent | 43bbd352e3aa4af23f479e33ba80a6dfdeb6774f (diff) | |
download | mariadb-git-2f95fc2701bd83a9aea31e167f69c16ee51a6317.tar.gz |
Merge mysql.com:/home/mysql_src/mysql-5.0
into mysql.com:/home/mysql_src/mysql-5.1-merge-of-5.0 (not all files are good,
I'll fix; I'll ask some devs to check their part)
Diffstat (limited to 'sql/sql_select.h')
-rw-r--r-- | sql/sql_select.h | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/sql/sql_select.h b/sql/sql_select.h index ec969e51c8d..30c36e67528 100644 --- a/sql/sql_select.h +++ b/sql/sql_select.h @@ -137,7 +137,9 @@ typedef struct st_join_table { TABLE_REF ref; JOIN_CACHE cache; JOIN *join; - + /* Bitmap of nested joins this table is part of */ + nested_join_map embedding_map; + void cleanup(); } JOIN_TAB; @@ -194,6 +196,13 @@ class JOIN :public Sql_alloc */ ha_rows fetch_limit; POSITION positions[MAX_TABLES+1],best_positions[MAX_TABLES+1]; + + /* + Bitmap of nested joins embedding the position at the end of the current + partial join (valid only during join optimizer run). + */ + nested_join_map cur_embedding_map; + double best_read; List<Item> *fields; List<Cached_item> group_fields, group_fields_cache; |