Fix query cache to not cache SQLValueFunctions (CURRENT_TIME, CURRENT_USER etc.).
authorTatsuo Ishii <ishii@sraoss.co.jp>
Wed, 7 Jul 2021 04:03:59 +0000 (13:03 +0900)
committerTatsuo Ishii <ishii@sraoss.co.jp>
Wed, 7 Jul 2021 06:20:14 +0000 (15:20 +0900)
commitc7aa75cd787b84ee3708d07c7057b95a32b197b5
tree7c655528e898a0cf5823bd3be11165d021688c05
parentfd9942a32714f361ff6d04c5872ac01aeb43534f
Fix query cache to not cache SQLValueFunctions (CURRENT_TIME, CURRENT_USER etc.).

Checking SQLValueFunctions was missed whether to be cached or not and
they were regarded as non function objects. As a result they were
cached.

Also add more test cases.
src/test/regression/tests/006.memqcache/test.sh
src/utils/pool_select_walker.c