summaryrefslogtreecommitdiff
path: root/sql/compat56.h
diff options
context:
space:
mode:
authorSergei Golubchik <serg@mariadb.org>2017-02-03 19:09:19 +0100
committerSergei Golubchik <serg@mariadb.org>2017-02-13 18:12:05 +0100
commitdafb507e3ed09699230e3dd52fdc68c6094ee148 (patch)
treea1022c0b43ab611ed2324e3122f16e35d78c115c /sql/compat56.h
parente46c42217f4fc7ba43992ca54c039f2556d1859f (diff)
downloadmariadb-git-dafb507e3ed09699230e3dd52fdc68c6094ee148.tar.gz
find_all_keys: add an assert, remove current_thd
Filesort temporarily changes read_set to be tmp_set and marks only fields needed for filesort. Add an assert to ensure that it doesn't overwrite the old value of tmp_set, that is that read_set was *not* already tmp_set when filesort was invoked. Fix sql_update.cc that was was doing exactly that - changing read_set to tmp_set, configuring tmp_set for keyread, and then invoking filesort.
Diffstat (limited to 'sql/compat56.h')
0 files changed, 0 insertions, 0 deletions