Make a proper check on QUERYCACHE_ENABLE
v0.0.4