diff options
Diffstat (limited to 'sql/sql_select.h')
-rw-r--r-- | sql/sql_select.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/sql/sql_select.h b/sql/sql_select.h index dfa96f1c81c..50168f6592c 100644 --- a/sql/sql_select.h +++ b/sql/sql_select.h @@ -1071,6 +1071,10 @@ public: (if sql_calc_found_rows is used, LIMIT is ignored) */ ha_rows select_limit; + /* + Number of duplicate rows found in UNION. + */ + ha_rows duplicate_rows; /** Used to fetch no more than given amount of rows per one fetch operation of server side cursor. @@ -1347,7 +1351,7 @@ public: sort_and_group= 0; first_record= 0; do_send_rows= 1; - send_records= 0; + duplicate_rows= send_records= 0; found_records= 0; fetch_limit= HA_POS_ERROR; join_examined_rows= 0; |