diff options
author | Sergey Petrunya <psergey@askmonty.org> | 2011-09-05 20:51:37 +0400 |
---|---|---|
committer | Sergey Petrunya <psergey@askmonty.org> | 2011-09-05 20:51:37 +0400 |
commit | e1435a51786f7975da79f62fc430fc3b3bf1a45f (patch) | |
tree | a148ae7d5ffd283850762209dc11def9d522240f /sql/sql_select.h | |
parent | 6035d0d755a2465421da3ac845ab970c504c90d7 (diff) | |
download | mariadb-git-e1435a51786f7975da79f62fc430fc3b3bf1a45f.tar.gz |
BUG#834739: Wrong result with 3-way inner join, LooseScan,multipart keys
- Don't use join buffering for tables that are within ranges that are
covered by LooseScan strategy.
Diffstat (limited to 'sql/sql_select.h')
-rw-r--r-- | sql/sql_select.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sql/sql_select.h b/sql/sql_select.h index 9b53c53f690..15711dca7b3 100644 --- a/sql/sql_select.h +++ b/sql/sql_select.h @@ -347,6 +347,9 @@ typedef struct st_join_table { NULL - Not doing a loose scan on this join tab. */ struct st_join_table *loosescan_match_tab; + + /* TRUE <=> we are inside LooseScan range */ + bool inside_loosescan_range; /* Buffer to save index tuple to be able to skip duplicates */ uchar *loosescan_buf; |