diff options
author | unknown <monty@hundin.mysql.fi> | 2001-10-31 22:24:33 +0200 |
---|---|---|
committer | unknown <monty@hundin.mysql.fi> | 2001-10-31 22:24:33 +0200 |
commit | 78b58fcac5f25496bd3b258f6c8ae2b90b072de5 (patch) | |
tree | 7518cec72f32a406f865d819c9e1f08095eb0c7c /sql/sql_select.cc | |
parent | 679e3810307de3f42619304430f31977ad8fdd83 (diff) | |
download | mariadb-git-78b58fcac5f25496bd3b258f6c8ae2b90b072de5.tar.gz |
Changed time -> query_time in slow query log.
Fixed Rows_examined in slow query log.
Docs/manual.texi:
Changlog
sql/log.cc:
Changed time -> query_time in slow query log.
sql/sql_select.cc:
Fixed Rows_examined count in slow query log.
Diffstat (limited to 'sql/sql_select.cc')
-rw-r--r-- | sql/sql_select.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/sql_select.cc b/sql/sql_select.cc index c4cd4421f98..431674a58e2 100644 --- a/sql/sql_select.cc +++ b/sql/sql_select.cc @@ -4121,7 +4121,6 @@ sub_select(JOIN *join,JOIN_TAB *join_tab,bool end_of_records) bool not_used_in_distinct=join_tab->not_used_in_distinct; ha_rows found_records=join->found_records; READ_RECORD *info= &join_tab->read_record; - join->examined_rows++; do { @@ -4130,6 +4129,7 @@ sub_select(JOIN *join,JOIN_TAB *join_tab,bool end_of_records) my_error(ER_SERVER_SHUTDOWN,MYF(0)); /* purecov: inspected */ return -2; /* purecov: inspected */ } + join->examined_rows++; if (!on_expr || on_expr->val_int()) { found=1; |