WT-2352: Allow build and test without requiring lz4
Remove support for the bzip2 compression engine.
This commit is contained in:
@@ -516,12 +516,6 @@ session_ops(Session session)
|
||||
* the code snippets, use if (false) to avoid running it.
|
||||
*/
|
||||
if (false) { // MIGHT_NOT_RUN
|
||||
/*! [Create a bzip2 compressed table] */
|
||||
ret = session.create("table:mytable",
|
||||
"block_compressor=bzip2,key_format=S,value_format=S");
|
||||
/*! [Create a bzip2 compressed table] */
|
||||
ret = session.drop("table:mytable", null);
|
||||
|
||||
/*! [Create a lz4 compressed table] */
|
||||
ret = session.create("table:mytable",
|
||||
"block_compressor=lz4,key_format=S,value_format=S");
|
||||
@@ -899,13 +893,6 @@ allExample()
|
||||
* be installed, causing the open to fail. The documentation requires
|
||||
* the code snippets, use if (false) to avoid running it.
|
||||
*/
|
||||
/*! [Configure bzip2 extension] */
|
||||
conn = wiredtiger.open(home,
|
||||
"create," +
|
||||
"extensions=[/usr/local/lib/libwiredtiger_bzip2.so]");
|
||||
/*! [Configure bzip2 extension] */
|
||||
conn.close(null);
|
||||
|
||||
/*! [Configure lz4 extension] */
|
||||
conn = wiredtiger.open(home,
|
||||
"create," +
|
||||
|
||||
Reference in New Issue
Block a user