Reuse preparation of a transaction has to happen when its state gets changed to committed. Add some asserts. Move setting of the DeclCollector's active transaction to happen after the state gets changed to committed.
Reuse preparation of a transaction has to happen when its state gets changed to
committed.
Add some asserts.
Move setting of the DeclCollector's active transaction to happen after the state
gets changed to committed.


git-svn-id: acec3fd5b7ea1eb9e79d6329d318e8118ee2e14f@49321 27541ba8-7e3a-0410-8455-c3a389f83636

root-mirror/cling,marsupial/cling,root-mirror/cling,marsupial/cling,marsupial/cling,karies/cling,perovic/cling,root-mirror/cling,perovic/cling,marsupial/cling,root-mirror/cling,karies/cling,marsupial/cling,perovic/cling,root-mirror/cling,karies/cling,karies/cling,karies/cling,perovic/cling,perovic/cling,root-mirror/cling,karies/cling,marsupial/cling