summaryrefslogtreecommitdiff
path: root/storage/tokudb/PerconaFT/portability/portability.cc
diff options
context:
space:
mode:
Diffstat (limited to 'storage/tokudb/PerconaFT/portability/portability.cc')
-rw-r--r--storage/tokudb/PerconaFT/portability/portability.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/storage/tokudb/PerconaFT/portability/portability.cc b/storage/tokudb/PerconaFT/portability/portability.cc
index dfa5153cc66..81115a516aa 100644
--- a/storage/tokudb/PerconaFT/portability/portability.cc
+++ b/storage/tokudb/PerconaFT/portability/portability.cc
@@ -88,9 +88,11 @@ Copyright (c) 2006, 2015, Percona and/or its affiliates. All rights reserved.
int
toku_portability_init(void) {
int r = toku_memory_startup();
+ assert(r==0);
if (r == 0) {
uint64_t hz;
r = toku_os_get_processor_frequency(&hz); // get and cache freq
+ assert(r==0);
}
(void) toku_os_get_pagesize(); // get and cache pagesize
return r;