retrieve undo log
| 255 | |
| 256 | // retrieve undo log |
| 257 | UndoLog QueryCtx_GetUndoLog(void) { |
| 258 | QueryCtx *ctx = _QueryCtx_GetCtx(); |
| 259 | ASSERT(ctx != NULL); |
| 260 | |
| 261 | if(ctx->undo_log == NULL) { |
| 262 | ctx->undo_log = UndoLog_New(); |
| 263 | } |
| 264 | return ctx->undo_log; |
| 265 | } |
| 266 | |
| 267 | // rollback the current command |
| 268 | void QueryCtx_Rollback(void) { |
no test coverage detected