summaryrefslogtreecommitdiff
path: root/client
diff options
context:
space:
mode:
authorAleksey Midenkov <midenok@gmail.com>2019-08-21 16:06:29 +0300
committerAleksey Midenkov <midenok@gmail.com>2019-08-21 16:08:31 +0300
commitb96e4424fb4d35dd5de52f44ed6b726a3f0dd010 (patch)
treef6f31bee060377e14d90fb285b363f065a020102 /client
parent32ec5fb979760ba2db52d8afc39e8e090cf80a9c (diff)
downloadmariadb-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 'client')
0 files changed, 0 insertions, 0 deletions