Commit 45f079d7 authored by Rich Prohaska's avatar Rich Prohaska Committed by Yoni Fogel

#4836 fix icc compilation refs[t:4836]

git-svn-id: file:///svn/toku/tokudb@43037 c7de825b-a66e-492c-adef-691d508d4ae1
parent d3dd8730
...@@ -69,7 +69,7 @@ with_open_db(db_callback cb, void *cb_extra, bool set_method, enum toku_compress ...@@ -69,7 +69,7 @@ with_open_db(db_callback cb, void *cb_extra, bool set_method, enum toku_compress
// we should not be able to successfully do this on an unopened DB // we should not be able to successfully do this on an unopened DB
r = db->set_compression_method(db, TOKU_NO_COMPRESSION); r = db->set_compression_method(db, TOKU_NO_COMPRESSION);
assert(r != 0); assert(r != 0);
enum toku_compression_method m = 999; enum toku_compression_method m = (enum toku_compression_method) 999;
r = db->get_compression_method(db, &m); r = db->get_compression_method(db, &m);
assert(r != 0); assert(r != 0);
assert(m == 999); assert(m == 999);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment