Make partial revert consistent
Make partial revert consistent

If user-defined comparator is used, subdb shouldn't be opened with
MDB_INTEGERKEY.

TODO: Again, this will be added back with future schema updates.

ranok/bitmonero,ranok/bitmonero,eiabea/bitmonero,eiabea/bitmonero,ranok/bitmonero,eiabea/bitmonero,eiabea/bitmonero,ranok/bitmonero,eiabea/bitmonero,ranok/bitmonero,eiabea/bitmonero,ranok/bitmonero