diff options
author | Sergey Petrunya <psergey@askmonty.org> | 2011-02-15 22:25:10 +0300 |
---|---|---|
committer | Sergey Petrunya <psergey@askmonty.org> | 2011-02-15 22:25:10 +0300 |
commit | cdccdea951b85b3bbe0588b492f6385e75f303a5 (patch) | |
tree | 7a53ff2680c0dc697aaffecb68f135d39ad40fbb /sql/sql_join_cache.h | |
parent | bbd4bb310d7b500a57be56b8f0501fa8eee6d40f (diff) | |
parent | e4325ff60b234c9bc5e79cebead7376b59b3dcc5 (diff) | |
download | mariadb-git-cdccdea951b85b3bbe0588b492f6385e75f303a5.tar.gz |
MWL#90: Merge (4)
Diffstat (limited to 'sql/sql_join_cache.h')
-rw-r--r-- | sql/sql_join_cache.h | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/sql/sql_join_cache.h b/sql/sql_join_cache.h index 45aded46de4..866c53339c9 100644 --- a/sql/sql_join_cache.h +++ b/sql/sql_join_cache.h @@ -125,7 +125,15 @@ protected: Cardinality of the range of join tables whose fields can be put into the cache. A table from the range not necessarily contributes to the cache. */ - uint tables; + // psergey-merge: gone: uint tables; + /* + JOIN_TAB of the first table that can have it's fields in the join cache. + That is, tables in the [start_tab, tab) range can have their fields in the + join cache. + If a join tab in the range represents an SJM-nest, then all tables from the + nest can have their fields in the join cache, too. + */ + JOIN_TAB *start_tab; /* The total number of flag and data fields that can appear in a record @@ -647,7 +655,7 @@ public: buff= 0; } - JOIN_TAB *get_next_table(JOIN_TAB *tab); + // JOIN_TAB *get_next_table(JOIN_TAB *tab); friend class JOIN_CACHE_HASHED; friend class JOIN_CACHE_BNL; |