MySQLOnRocksDB/mysql-5.6
forked from facebook/mysql-5.6

Loading…
Support index-only scans for type DOUBLE #56
Closed
spetrunia opened this Issue
· 0 comments
Collaborator
spetrunia
commented
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
(branching this off from issue #26)
Currently, index-only scans are not supported for column type DOUBLE.
Testcase:
It is actually possible to restore double from its mem-comparable form and thus support index-only scans.
See filesort.cc: void change_double_for_sort(double nr,uchar *to) for the code that needs to be inverted.