Introduce a txn memory region
Attach a separate memory region for each txn structure in order to store all txn internal data until the transaction finished. This patch is a preparation to detach a txn from a fiber and a fiber gc storage. Prerequisites: #1254 (cherry picked from commit c1486242445ebf82b8644c21ac7434d89ddeb3b1)
Showing
- src/box/errcode.h 1 addition, 1 deletionsrc/box/errcode.h
- src/box/sql/vdbe.c 1 addition, 1 deletionsrc/box/sql/vdbe.c
- src/box/txn.c 57 additions, 14 deletionssrc/box/txn.c
- src/box/txn.h 10 additions, 0 deletionssrc/box/txn.h
- test/box/misc.result 1 addition, 1 deletiontest/box/misc.result
- test/engine/savepoint.result 1 addition, 1 deletiontest/engine/savepoint.result
- test/sql/savepoints.result 3 additions, 3 deletionstest/sql/savepoints.result
Loading
Please register or sign in to comment