From 49568aefe7a9d95e303ccfe40614fd3d1ee5b12f Mon Sep 17 00:00:00 2001 From: Sergey Petrunya Date: Sat, 5 Jun 2010 12:37:16 +0400 Subject: MWL#90: Code cleanup: Unification of merged and non-merged SJM nests processing - Make join buffering code to take into account that JOIN_TABs are not a linear array anymore. --- sql/sql_select.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'sql/sql_select.h') diff --git a/sql/sql_select.h b/sql/sql_select.h index 2299d4dfbdf..8319969432c 100644 --- a/sql/sql_select.h +++ b/sql/sql_select.h @@ -500,12 +500,14 @@ protected: context can be accessed. */ JOIN *join; - +#if 0 /* 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; +#endif + JOIN_TAB *start_tab; /* The total number of flag and data fields that can appear in a record -- cgit v1.2.1