summaryrefslogtreecommitdiff
path: root/src/config/config_api.c
Commit message (Collapse)AuthorAgeFilesLines
* WT-2998 add error messages to error returns that might be confusing. (#3110)Keith Bostic2016-11-011-9/+0
|
* WT-2916 Fix and simplify s_whitespace. (#3047)Michael Cahill2016-09-161-1/+1
|
* WT-2888 Switch functions to return void where possible (#3019)Keith Bostic2016-09-061-8/+3
| | | Some functions return an error code even though they don't need to. That adds complexity to our code. Switch to returning a void.
* Upgrade copyright notices from 2015 to 2016.Keith Bostic2016-01-011-1/+1
|
* Whitespace: 3 spaces after a period in a comment.Keith Bostic2015-06-141-2/+2
| | | | Sorry, but it just bugged me.
* __wt_strdup and __wt_strndup both handle NULL source arguments.Keith Bostic2015-05-011-2/+1
|
* Return EINVAL if both a session and error handler specified toKeith Bostic2015-04-231-0/+8
| | | | wiredtiger_config_validate.
* Change wiredtiger_config_validate to take a WT_EVENT_HANDLER as an argument,Keith Bostic2015-04-231-7/+21
| | | | | | | if no WT_SESSION is supplied, dummy up a WT_SESSION/WT_CONNECTION pair and configure in the specified WT_EVENT_HANDLER. This allows applications to control the error output when calling wiredtiger_config_validate before the database has been opened.
* Push renaming down into `api_data.py`, replacing lower-case handleKeith Bostic2015-04-211-76/+6
| | | | naming with the standard public name.
* The bug fix: look up the translated value, not the original method name.Keith Bostic2015-04-151-1/+1
|
* Fix the loops that walk the WT_CONNECTION list of config-entries -- it's aKeith Bostic2015-04-151-6/+10
| | | | | little obscure if we should be testing (*epp) or (*epp)->method for a NULL (end-of-walk) value, write the code to be paranoid and test both.
* Change WT_CONNECTION.configure_method() to do the same name translationKeith Bostic2015-04-151-1/+212
| | | | | | | | as wiredtiger_config_validate(), that is, specify a method name using the concatentation of the public handle name, a period and a method name, rather than using our internal configuration string names. Move the WT_CONNECTION.configure_method() code into config/config_api.c.
* Instead of requiring applications use our configuration strings, translateKeith Bostic2015-04-151-9/+78
| | | | | | a short list of possible function or method names, where method names are the public handle (for example, "WT_SESSION"), a dot, and the method name, for example ("WT_SESSION.create").
* Add an API to validate configuration strings.Keith Bostic2015-03-091-2/+42
|
* Copyright notices: add MongoDB, update to 2015.Keith Bostic2015-01-041-0/+1
|
* Most WiredTiger calloc calls are to allocate a single structure,Keith Bostic2014-12-151-1/+1
| | | | | create the macro __wt_calloc_one that doesn't take a count or a sizeof.
* Update the configuration parsing API. Including:Alex Gorrod2014-02-251-40/+15
| | | | | | * Don't copy the input string. * Remove reset and remove complex semantics. * Rename search back to get.
* Update the configuration parsing API. Not finalized, but a step closer.Alex Gorrod2014-02-241-53/+87
|
* Add configuration parsing to the public API.Alex Gorrod2014-02-131-0/+96
Don't remove it from the extension API for now - to match the value packing code. Updated inline documentation, but not the official documentation - since I suspect this will change before it's merged. Update wtperf usage of configuration parsing API.