diff options
author | Michael Cahill <michael.cahill@wiredtiger.com> | 2011-08-09 13:30:01 +1000 |
---|---|---|
committer | Michael Cahill <michael.cahill@wiredtiger.com> | 2011-08-09 13:30:01 +1000 |
commit | e209845419b200fb3beacf24f6aeb4ee6e40515d (patch) | |
tree | 32201bc90f63bdb7892b76e1a2dc4d46c207fc01 /src/btree/bt_debug.c | |
parent | e0d83ac43c2a939d53050e66ab274fabfdb89d65 (diff) | |
download | mongo-e209845419b200fb3beacf24f6aeb4ee6e40515d.tar.gz |
Mark WT_COL_RLE as "packed" to save 4 bytes in memory per repeated item in variable-length column stores.
Diffstat (limited to 'src/btree/bt_debug.c')
-rw-r--r-- | src/btree/bt_debug.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/btree/bt_debug.c b/src/btree/bt_debug.c index 58dfad3d906..96c79eb21e2 100644 --- a/src/btree/bt_debug.c +++ b/src/btree/bt_debug.c @@ -41,7 +41,8 @@ static int __debug_page_work(WT_DBG *, WT_PAGE *, uint32_t); static void __debug_ref(WT_DBG *, WT_REF *); static void __debug_row_insert(WT_DBG *, WT_INSERT_HEAD *); static void __debug_update(WT_DBG *, WT_UPDATE *, int); -static void __dmsg(WT_DBG *, const char *, ...); +static void __dmsg(WT_DBG *, const char *, ...) + WT_GCC_ATTRIBUTE((format (printf, 2, 3))); static void __dmsg_wrapup(WT_DBG *); /* @@ -111,7 +112,6 @@ __dmsg_wrapup(WT_DBG *ds) */ static void __dmsg(WT_DBG *ds, const char *fmt, ...) - WT_GCC_ATTRIBUTE ((format (printf, 2, 3))) { va_list ap; WT_BUF *msg; |