diff options
author | Sergey Glukhov <sergey.glukhov@oracle.com> | 2010-11-23 13:47:35 +0300 |
---|---|---|
committer | Sergey Glukhov <sergey.glukhov@oracle.com> | 2010-11-23 13:47:35 +0300 |
commit | ee2b93944b2f7267690f29639da7e881f39379fa (patch) | |
tree | e607e928f3ef868061ab13cf586f70f9525cb25c /sql/opt_range.h | |
parent | e9379baa229be5ea4ee647ae5588dad2e040bc7a (diff) | |
parent | 7704e3c2c200d479ced1c943efb9cf9575493091 (diff) | |
download | mariadb-git-ee2b93944b2f7267690f29639da7e881f39379fa.tar.gz |
5.1-bugteam->5.5-bugteam merge
Diffstat (limited to 'sql/opt_range.h')
-rw-r--r-- | sql/opt_range.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sql/opt_range.h b/sql/opt_range.h index 33b3d561ad8..6da4d1c2776 100644 --- a/sql/opt_range.h +++ b/sql/opt_range.h @@ -279,6 +279,7 @@ public: virtual bool reverse_sorted() = 0; virtual bool unique_key_range() { return false; } + virtual bool clustered_pk_range() { return false; } enum { QS_TYPE_RANGE = 0, @@ -553,6 +554,8 @@ public: THD *thd; int read_keys_and_merge(); + bool clustered_pk_range() { return test(pk_quick_select); } + /* used to get rows collected in Unique */ READ_RECORD read_record; }; |