diff options
author | Aleksey Midenkov <midenok@gmail.com> | 2019-08-21 16:06:29 +0300 |
---|---|---|
committer | Aleksey Midenkov <midenok@gmail.com> | 2019-08-21 16:08:31 +0300 |
commit | b96e4424fb4d35dd5de52f44ed6b726a3f0dd010 (patch) | |
tree | f6f31bee060377e14d90fb285b363f065a020102 /mysql-test/lib | |
parent | 32ec5fb979760ba2db52d8afc39e8e090cf80a9c (diff) | |
download | mariadb-git-b96e4424fb4d35dd5de52f44ed6b726a3f0dd010.tar.gz |
MDEV-17613 MIN/MAX Optimization (Select tables optimized away) does not work
Current easy fix is not possible, because SELECT clones ha_partition
and then closes the clone which leads to unclosed transaction in
partitions we forcely prune out. We cound solve this by closing these
partitions (and release from transaction) in
change_partitions_to_open() at versioning conditions stage, but this
is problematic because table lock is acquired for each partition at
open stage and therefore must be released when we close partition
handler in change_partitions_to_open(). More details in MDEV-20376.
This should change after MDEV-20250 where mechanism of opening
partitions will be improved.
This reverts commit cdbac54df0bd857a053decd66b6067abf15a6801.
Diffstat (limited to 'mysql-test/lib')
0 files changed, 0 insertions, 0 deletions