bugs.core_5837_test. Inconsistent results when working with GLOBAL TEMPORARY TABLE ON COMMIT PRESERVE ROWS