dbTalk Databases Forums  

bk commit into 5.0 tree (ramil:1.1933) BUG#10303

mailing.database.mysql-internals mailing.database.mysql-internals


Discuss bk commit into 5.0 tree (ramil:1.1933) BUG#10303 in the mailing.database.mysql-internals forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
ramil@mysql.com
 
Posts: n/a

Default bk commit into 5.0 tree (ramil:1.1933) BUG#10303 - 09-01-2005 , 05:08 AM






Below is the list of changes that have just been committed into a local
5.0 repository of ram. When ram does a push these changes will
be propagated to the main repository and, within 24 hours after the
push, to the public repository.
For information on how to access the public repository
see http://dev.mysql.com/doc/mysql/en/in...urce-tree.html

ChangeSet
1.1933 05/09/01 15:06:36 ramil (AT) mysql (DOT) com +1 -0
a fix (bug #10303: Misleading Last_query_cost value).

sql/sql_select.cc
1.365 05/09/01 15:06:29 ramil (AT) mysql (DOT) com +3 -0
a fix (bug #10303: Misleading Last_query_cost value).
reset last_query_cost in the very beginning.

# This is a BitKeeper patch. What follows are the unified diffs for the
# set of deltas contained in the patch. The rest of the patch, the part
# that BitKeeper cares about, is below these diffs.
# User: ramil
# Host: gw.mysql.r18.ru
# Root: /usr/home/ram/work/5.0.b10303

--- 1.364/sql/sql_select.cc 2005-08-31 23:05:02 +05:00
+++ 1.365/sql/sql_select.cc 2005-09-01 15:06:29 +05:00
@@ -541,6 +541,9 @@
DBUG_RETURN(0);
optimized= 1;

+ if (thd->lex->orig_sql_command != SQLCOM_SHOW_STATUS)
+ thd->status_var.last_query_cost= 0.0;
+
row_limit= ((select_distinct || order || group_list) ? HA_POS_ERROR :
unit->select_limit_cnt);
/* select_limit is used to decide if we are likely to scan the whole table */

--
MySQL Internals Mailing List
For list archives: http://lists.mysql.com/internals
To unsubscribe: http://lists.mysql.com/internals?uns...ie.nctu.edu.tw


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.