summaryrefslogtreecommitdiff
path: root/sql/mysqld.h
diff options
context:
space:
mode:
authormithun <mithun.c.y@oracle.com>2014-05-08 14:49:53 +0530
committermithun <mithun.c.y@oracle.com>2014-05-08 14:49:53 +0530
commit263d47d3a1a5c007d3f7675605e1412c3128ca70 (patch)
treef4850420e2ee2b793d1dc87100218d1e719ed37b /sql/mysqld.h
parentb9c03d41e492984bdea2da923eac1e62cf5264f7 (diff)
downloadmariadb-git-263d47d3a1a5c007d3f7675605e1412c3128ca70.tar.gz
Bug #17059925: UNIONS COMPUTES ROWS_EXAMINED INCORRECTLY
ISSUE: ------ For UNION of selects, rows examined by the query will be sum of rows examined by individual select operations and rows examined for union operation. The value of session level global counter that is used to count the rows examined by a select statement should be accumulated and reset before it is used for next select statement. But we have missed to reset the same. Because of this examined row count of a select query is accounted more than once. SOLUTION: --------- In union reset the session level global counter used to accumulate count of examined rows after its value is saved.
Diffstat (limited to 'sql/mysqld.h')
0 files changed, 0 insertions, 0 deletions