cache_stat.sql multiple c.oid fix