diff options
author | unknown <knielsen@knielsen-hq.org> | 2010-10-22 10:51:02 +0200 |
---|---|---|
committer | unknown <knielsen@knielsen-hq.org> | 2010-10-22 10:51:02 +0200 |
commit | 45131a5b103d5a8330c50c8b9c0a7922fe22298e (patch) | |
tree | af5b685cbbf55ce5703b3a2fa2d566cfa8571228 /sql/log.h | |
parent | dcb111ff6e8deb077530a6e0779277afc3eab7ff (diff) | |
download | mariadb-git-45131a5b103d5a8330c50c8b9c0a7922fe22298e.tar.gz |
MWL#116: Efficient group commit: Fix assertion by moving init/deinit out of constructor in global static object.
Diffstat (limited to 'sql/log.h')
-rw-r--r-- | sql/log.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sql/log.h b/sql/log.h index 7a6b7f070b5..f43ae433c8a 100644 --- a/sql/log.h +++ b/sql/log.h @@ -150,6 +150,8 @@ class TC_LOG_group_commit: public TC_LOG_queued public: TC_LOG_group_commit(); ~TC_LOG_group_commit(); + void init(); + void deinit(); int log_and_order(THD *thd, my_xid xid, bool all, bool need_prepare_ordered, bool need_commit_ordered); |