diff options
author | unknown <guilhem@gbichot3.local> | 2006-12-20 19:01:07 +0100 |
---|---|---|
committer | unknown <guilhem@gbichot3.local> | 2006-12-20 19:01:07 +0100 |
commit | 649b3b46055594e77cadabe5768b762b8aa486da (patch) | |
tree | 3b4b8c5dd739ab43de4894976188a1eb39c79492 /storage/maria/trnman.h | |
parent | 714f3b73e513f2d12fb45e8256fa6299e60cd5a2 (diff) | |
download | mariadb-git-649b3b46055594e77cadabe5768b762b8aa486da.tar.gz |
WL#3071 - Maria checkpoint:
a function to store information about transactions into buffers,
is added to the transaction manager, and called by the Checkpoint module.
storage/maria/ma_checkpoint.c:
"collecting info about transactions" moves to trnman.c
storage/maria/trnman.c:
a function to store information about the active transactions list
and committed transactions list, into buffers, for use by the
Checkpoint module.
This function needs to know how many trns there are in the committed
list, so we introduce a counter, trnman_committed_transactions.
m_string.h is needed for LEX_STRING.
storage/maria/trnman.h:
A function to store information about the active transactions list
and committed transactions list, into buffers, for use by the
Checkpoint module.
storage/maria/unittest/trnman-t.c:
trnman.h needs LEX_STRING so m_string.h
Diffstat (limited to 'storage/maria/trnman.h')
-rw-r--r-- | storage/maria/trnman.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/storage/maria/trnman.h b/storage/maria/trnman.h index 409e354d423..267e3cabd7a 100644 --- a/storage/maria/trnman.h +++ b/storage/maria/trnman.h @@ -51,6 +51,7 @@ void trnman_end_trn(TRN *trn, my_bool commit); #define trnman_abort_trn(T) trnman_end_trn(T, FALSE) void trnman_free_trn(TRN *trn); my_bool trnman_can_read_from(TRN *trn, TrID trid); +my_bool trnman_collect_transactions(LEX_STRING *str_act, LEX_STRING *str_com); #endif |