Convenience function to detect cross-db DMLs.
Ignore cross-db transactions in rowcache invalidator