diff options
author | Keith Bostic <keith@wiredtiger.com> | 2015-05-05 11:11:19 -0400 |
---|---|---|
committer | Keith Bostic <keith@wiredtiger.com> | 2015-05-05 11:11:19 -0400 |
commit | 185ab55d5ab616494f44cbf06cc7bb8c48e2f3fc (patch) | |
tree | e0f9ac429a4b072a71d91ca1678640b28c8cfc24 /dist | |
parent | 55a80b0dac1d36af2c3f316956c30dd70fc12ce6 (diff) | |
download | mongo-185ab55d5ab616494f44cbf06cc7bb8c48e2f3fc.tar.gz |
Rename LOG_ALIGN to be WT_LOG_ALIGN, avoid any collisions.
Diffstat (limited to 'dist')
-rw-r--r-- | dist/log.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/dist/log.py b/dist/log.py index 57b8fdc0f23..abe72cea5c4 100644 --- a/dist/log.py +++ b/dist/log.py @@ -114,7 +114,8 @@ __wt_logrec_alloc(WT_SESSION_IMPL *session, size_t size, WT_ITEM **logrecp) { \tWT_ITEM *logrec; -\tWT_RET(__wt_scr_alloc(session, WT_ALIGN(size + 1, LOG_ALIGN), &logrec)); +\tWT_RET( +\t __wt_scr_alloc(session, WT_ALIGN(size + 1, WT_LOG_ALIGN), &logrec)); \tWT_CLEAR(*(WT_LOG_RECORD *)logrec->data); \tlogrec->size = offsetof(WT_LOG_RECORD, record); |