summaryrefslogtreecommitdiff
path: root/ext
diff options
context:
space:
mode:
authorsueloverso <sue@mongodb.com>2016-12-15 14:40:09 -0500
committerKeith Bostic <keith.bostic@mongodb.com>2016-12-15 14:40:09 -0500
commit876a85fbc566d0062bd04c8ce55be30773387707 (patch)
tree7fc9e647237e69229b7089df6992810453896687 /ext
parente8d8fd81109554f7ae845b92c716ed54364b433d (diff)
downloadmongo-876a85fbc566d0062bd04c8ce55be30773387707.tar.gz
Fix data source examples to include alter. (#3200)
Diffstat (limited to 'ext')
-rw-r--r--ext/datasources/helium/helium.c1
-rw-r--r--ext/test/kvs_bdb/kvs_bdb.c3
2 files changed, 3 insertions, 1 deletions
diff --git a/ext/datasources/helium/helium.c b/ext/datasources/helium/helium.c
index dff86bd73ac..c584141b00d 100644
--- a/ext/datasources/helium/helium.c
+++ b/ext/datasources/helium/helium.c
@@ -3329,6 +3329,7 @@ wiredtiger_extension_init(WT_CONNECTION *connection, WT_CONFIG_ARG *config)
* compile-time should the structure change underneath us.
*/
static const WT_DATA_SOURCE wtds = {
+ NULL, /* No session.alter */
helium_session_create, /* session.create */
NULL, /* No session.compaction */
helium_session_drop, /* session.drop */
diff --git a/ext/test/kvs_bdb/kvs_bdb.c b/ext/test/kvs_bdb/kvs_bdb.c
index 866cd0663ce..0791b077750 100644
--- a/ext/test/kvs_bdb/kvs_bdb.c
+++ b/ext/test/kvs_bdb/kvs_bdb.c
@@ -1016,9 +1016,10 @@ wiredtiger_extension_init(WT_CONNECTION *connection, WT_CONFIG_ARG *config)
{
/*
* List of the WT_DATA_SOURCE methods -- it's static so it breaks at
- * compile-time should the structure changes underneath us.
+ * compile-time should the structure change underneath us.
*/
static WT_DATA_SOURCE wtds = {
+ NULL, /* No session.alter */
kvs_session_create, /* session.create */
NULL, /* No session.compaction */
kvs_session_drop, /* session.drop */