Database: previously accessed columns cache is bound with stack trace

This is just experiment and breaks current tests.