Revert "Enable memdb support."

This reverts commit 1fadf619c7eaede33d73fde1da8dcfbd44b7691a.