From defbdce7e8c69df85cdd8c630643ef1152330660 Mon Sep 17 00:00:00 2001 From: Sergey Petrunia Date: Wed, 24 Jun 2009 13:01:04 +0400 Subject: [PATCH] More comments --- sql/sql_select.cc | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/sql/sql_select.cc b/sql/sql_select.cc index 36cba4f648a..79fa62fd37c 100644 --- a/sql/sql_select.cc +++ b/sql/sql_select.cc @@ -2477,7 +2477,9 @@ static ha_rows get_quick_record_count(THD *thd, SQL_SELECT *select, DBUG_RETURN(HA_POS_ERROR); /* This shouldn't happend */ } - +/******************************************************************** + * Table elimination code starts + ********************************************************************/ typedef struct st_keyuse_w_needed_reg { KEYUSE *first; @@ -2849,6 +2851,9 @@ static void eliminate_tables(JOIN *join, uint *const_tbl_count, table_map *const DBUG_VOID_RETURN; } +/******************************************************************** + * Table elimination code ends + ********************************************************************/ /* This structure is used to collect info on potentially sargable