diff options
author | Keith Bostic <keith@wiredtiger.com> | 2016-01-14 14:57:27 -0500 |
---|---|---|
committer | Keith Bostic <keith@wiredtiger.com> | 2016-01-14 14:57:27 -0500 |
commit | 2aae973c0925049c0e296fdda78310787ed37839 (patch) | |
tree | 0ad6fdf52c33b32522e9900897034d14400813bc /src/support/global.c | |
parent | 00dd453e0e2fb2f36d7ed75d643893c12cbc49f9 (diff) | |
download | mongo-2aae973c0925049c0e296fdda78310787ed37839.tar.gz |
WT-60: big endian support
The cityhash code isn't endian-independent, so we can't cache the same
metadata file name value on both little- and big-endian systems. Cache
a value in the WT_CONNECTION_IMPL structure when we start up.
Diffstat (limited to 'src/support/global.c')
-rw-r--r-- | src/support/global.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/support/global.c b/src/support/global.c index 6be33829f7c..e0d5bafeaa8 100644 --- a/src/support/global.c +++ b/src/support/global.c @@ -60,10 +60,6 @@ __wt_global_once(void) TAILQ_INIT(&__wt_process.connqh); #ifdef HAVE_DIAGNOSTIC - /* Verify the pre-computed metadata hash. */ - WT_ASSERT(NULL, WT_METAFILE_NAME_HASH == - __wt_hash_city64(WT_METAFILE_URI, strlen(WT_METAFILE_URI))); - /* Load debugging code the compiler might optimize out. */ (void)__wt_breakpoint(); #endif |