diff options
author | Michael Cahill <michael.cahill@wiredtiger.com> | 2013-06-05 18:20:51 +1000 |
---|---|---|
committer | Michael Cahill <michael.cahill@wiredtiger.com> | 2013-06-05 18:20:51 +1000 |
commit | 90dd22309573c8da6d5771df4ae5e804ad57f1b0 (patch) | |
tree | b014f25aeb6a1b6d9588f9ecfdf6179f84c9980a | |
parent | 8fbe2561edc396c972552d968d489d10506ec0d3 (diff) | |
download | mongo-90dd22309573c8da6d5771df4ae5e804ad57f1b0.tar.gz |
Make the "source" key to WT_SESSION::create undocumented. There are problems associated with using it from application (e.g., rename becomes ambiguous), and we don't have a real world use case yet.
-rw-r--r-- | dist/api_data.py | 2 | ||||
-rw-r--r-- | src/docs/upgrading.dox | 7 | ||||
-rw-r--r-- | src/include/wiredtiger.in | 5 |
3 files changed, 8 insertions, 6 deletions
diff --git a/dist/api_data.py b/dist/api_data.py index c60779589f6..92f2726787a 100644 --- a/dist/api_data.py +++ b/dist/api_data.py @@ -64,7 +64,7 @@ source_meta = [ table. By default, the data source URI is derived from the \c type and the column group or index name. Applications can create tables from existing data sources by supplying a \c - source configuration'''), + source configuration''', undoc=True), Config('type', 'file', r''' set the type of data source used to store a column group, index or simple table. By default, a \c "file:" URI is derived from diff --git a/src/docs/upgrading.dox b/src/docs/upgrading.dox index 289d7985a81..82115ce66dc 100644 --- a/src/docs/upgrading.dox +++ b/src/docs/upgrading.dox @@ -10,6 +10,13 @@ extension methods; applications using the extension methods will require recompilation. </dd> +<dt>WT_SESSION::create no longer accepts a "source" configuration</dt> +<dd> +The \c "source" configuration key has been removed from WT_SESSION::create. +Normal applications should not have been using it, and there were a number of +bugs associated with it. +</dd> + </dl> <hr> @section version_161 Upgrading to Version 1.6.1 diff --git a/src/include/wiredtiger.in b/src/include/wiredtiger.in index 24009e370f2..f80e5f45c0f 100644 --- a/src/include/wiredtiger.in +++ b/src/include/wiredtiger.in @@ -761,11 +761,6 @@ struct __wt_session { * cache., an integer greater than or equal to 0; default \c 0.} * @config{prefix_compression, configure row-store format key prefix * compression., a boolean flag; default \c true.} - * @config{source, set a custom data source URI for a column group\, - * index or simple table. By default\, the data source URI is derived - * from the \c type and the column group or index name. Applications - * can create tables from existing data sources by supplying a \c source - * configuration., a string; default empty.} * @config{split_pct, the Btree page split size as a percentage of the * maximum Btree page size\, that is\, when a Btree page is split\, it * will be split into smaller pages\, where each page is the specified |