Hi there, I'd like https://gerrit.libreoffice.org/gitweb?p=core.git;a=commitdiff;h=f4ed9a5adbea3de88870ff4f5cb202bd606e0746 cherry-picked to 3-6 and preferably to 3-6-1 as well. This fixes https://bugs.freedesktop.org/show_bug.cgi?id=53640It's a safe fix in that, the pivot table currently doesn't work at all when pulling data from database source. So, it'd be near impossible to make it any worse.
Also, optionally I'd like https://gerrit.libreoffice.org/gitweb?p=core.git;a=commitdiff;h=88979ef6ffe7921200311513d6601f9c5d582a42backported as well. Leaving this code in would result in re-populating the pivot cache twice unnecessarily, which would degrade performance.
Kohei -- Kohei Yoshida, LibreOffice hacker, Calc