add cross-db transaction support
update memory.c
Merge pull request #694 from BullSoft/1.2.0

add cross-db transaction support 1.2.0