From: Sergey Petrunia Date: February 15 2009 10:58am Subject: bzr commit into mysql-6.0-opt branch (sergefp:2698) List-Archive: http://lists.mysql.com/commits/66391 Message-Id: <20090215105818.8B41C2EA04E@pslp2.localdomain> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7BIT #At file:///home/spetrunia/dev/mysql-6.0-opt/ based on revid:sergefp@stripped 2698 Sergey Petrunia 2009-02-15 Better comments modified: sql/sql_select.cc per-file messages: sql/sql_select.cc Better comments === modified file 'sql/sql_select.cc' --- a/sql/sql_select.cc 2009-02-11 14:39:21 +0000 +++ b/sql/sql_select.cc 2009-02-15 10:58:02 +0000 @@ -21487,13 +21487,13 @@ void select_describe(JOIN *join, bool ne item_list.push_back(item_null); } - /* Add "rows" field to item_list. */ + /* "rows" and "filtered" columns */ if (table_list->schema_table) { - /* in_rows */ + /* rows */ if (join->thd->lex->describe & DESCRIBE_EXTENDED) item_list.push_back(item_null); - /* rows */ + /* filtered */ item_list.push_back(item_null); } else @@ -21507,10 +21507,11 @@ void select_describe(JOIN *join, bool ne else examined_rows= join->best_positions[i].records_read; + /* "rows" column */ item_list.push_back(new Item_int((longlong) (ulonglong) examined_rows, MY_INT64_NUM_DECIMAL_DIGITS)); - /* Add "filtered" field to item_list. */ + /* "filtered" column */ if (join->thd->lex->describe & DESCRIBE_EXTENDED) { float f= 0.0;