Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | WT-2888 Switch functions to return void where possible (#3019) | Keith Bostic | 2016-09-06 | 1 | -8/+8 |
| | | | Some functions return an error code even though they don't need to. That adds complexity to our code. Switch to returning a void. | ||||
* | WT-2471: review WiredTiger "int" printf formats | Keith Bostic | 2016-03-11 | 1 | -6/+6 |
| | |||||
* | Upgrade copyright notices from 2015 to 2016. | Keith Bostic | 2016-01-01 | 1 | -1/+1 |
| | |||||
* | Boolean conversion pass over schema. | Keith Bostic | 2015-09-24 | 1 | -16/+16 |
| | |||||
* | Copyright notices: add MongoDB, update to 2015. | Keith Bostic | 2015-01-04 | 1 | -0/+1 |
| | |||||
* | Custom-extractor lint, whitespace, reference #1215. | Keith Bostic | 2014-11-04 | 1 | -2/+1 |
| | |||||
* | Only append primary key columns to the index key format once. | Michael Cahill | 2014-10-22 | 1 | -0/+1 |
| | |||||
* | Fix the extractor example, remove a debugging message. | Michael Cahill | 2014-10-17 | 1 | -5/+1 |
| | | | | | * * * warning: 64-bit implicit cast. | ||||
* | More implementation of custom extractors: pass the number of columns ↵ | Michael Cahill | 2014-10-10 | 1 | -8/+15 |
| | | | | calculated by index creation through to the open, use that to generate correct key formats and a plan that can extract the primary key. | ||||
* | More implementation of the custom extractor API. Still working on ↵ | Michael Cahill | 2014-10-09 | 1 | -2/+13 |
| | | | | | | generating plans and key formats between index creation and open. refs #1199 | ||||
* | Update copyright notices for 2014. | Keith Bostic | 2014-01-07 | 1 | -1/+1 |
| | | | | Move lang/java and lang/python into the public domain. | ||||
* | Always initialize WT_PACK_VALUE before use. | Michael Cahill | 2013-11-25 | 1 | -9/+3 |
| | |||||
* | Clear WT_PACK_VALUE before calling __pack_next. Static analysis can't ↵ | Michael Cahill | 2013-11-22 | 1 | -0/+2 |
| | | | | figure out that it isn't required. | ||||
* | Merge branch 'develop' into fine-grained-durability | Michael Cahill | 2013-11-15 | 1 | -4/+8 |
|\ | |||||
| * | __wt_config_next() has lots of possible errors, check for not-found | Keith Bostic | 2013-11-14 | 1 | -4/+8 |
| | | | | | | | | at the end of the loop. | ||||
* | | Create a Python pass for source code style checking (to eventually replace ↵ | Michael Cahill | 2013-11-05 | 1 | -0/+8 |
|/ | | | | s_style). | ||||
* | Add a condition variable to signal when LSM checkpoints should start, rather ↵ | Michael Cahill | 2013-03-20 | 1 | -13/+9 |
| | | | | than sleeping for a fixed amount of time. While in this code, cleanup places that set session->btree in order to make a function call. | ||||
* | Update copyright notice to 2013. | Keith Bostic | 2013-01-01 | 1 | -1/+1 |
| | |||||
* | Fix a bug populating column groups with complex schema. | Michael Cahill | 2012-12-11 | 1 | -6/+6 |
| | | | | closes #409 | ||||
* | Revert one of the schema plan logic changes: they weren't necessary and ↵ | Michael Cahill | 2012-12-10 | 1 | -6/+6 |
| | | | | introduced bugs. | ||||
* | Fix a schema bug where value columns appearing in multiple column groups ↵ | Michael Cahill | 2012-12-10 | 1 | -7/+11 |
| | | | | would not always be populated correctly. Back out the last attempted fix. | ||||
* | More schema layer cleanup: | Michael Cahill | 2012-12-10 | 1 | -5/+14 |
| | | | | | | | * allow empty column lists in projection cursors; * do another pass over the schema documentation and example code; * add docs for the variable-length argument lists for WT_CURSOR:{g,s}et_{key,value}. closes #409 | ||||
* | Fix compiler warning. | Alex Gorrod | 2012-12-10 | 1 | -2/+1 |
| | | | | | ../src/schema/schema_plan.c:299:6: error: variable 'empty' set but not used [-Werror=unused-but-set-variable] | ||||
* | Fix a segfault cleaning up a bad index cursor open. | Michael Cahill | 2012-12-10 | 1 | -2/+6 |
| | | | | | Improve the error message if no columns are specified to a projection. closes #409. | ||||
* | Use UINT_MAX instead of -1U, it makes lint happy. | Keith Bostic | 2012-11-30 | 1 | -3/+3 |
| | |||||
* | Fix warnings from "gcc -Wsign-conversion". Mostly this involved changing ↵ | Michael Cahill | 2012-11-30 | 1 | -10/+11 |
| | | | | loop counters to unsigned, but there were also some cases where arithmetic mixed signed and unsigned expressions. | ||||
* | Whitespace cleanups, no semantic changes. | Keith Bostic | 2012-08-07 | 1 | -1/+1 |
| | |||||
* | Don't repeatedly look up btree handles for schema operations. | Michael Cahill | 2012-07-31 | 1 | -16/+6 |
| | | | | | | | | | | | | | | | | | | When the schema layer was originally written, tables kept a list of btree handles for column groups and indices, and walked those lists directly to get the settings. Then to support operations like drop, btree handles were no longer referenced directly from the schema layer, leading to multiple handle lookups for some operations. This change goes closer to the original version: the schema-level configuration has been removed from WT_BTREE and stored in the table handle. This leads to far fewer handle lookups, and makes operations on complex tables much more efficient. This is also one step towards layering tables on top of data sources other than files, including LSM trees. refs #168 | ||||
* | Fix some functions to work with the new check for returns after "goto err". | Michael Cahill | 2012-05-14 | 1 | -1/+1 |
| | |||||
* | Lint (probably not a bug, but it's safer to initialize cgtree). | Keith Bostic | 2012-05-10 | 1 | -1/+1 |
| | |||||
* | Don't cache btree handles in the schema layer: always look up handles by ↵ | Michael Cahill | 2012-05-04 | 1 | -13/+27 |
| | | | | name (usually from the session cache, so this isn't as bad as it sounds). | ||||
* | Move the "close_any_btree" logic into conn_btree.c | Michael Cahill | 2012-05-04 | 1 | -1/+2 |
| | | | | closes #156 | ||||
* | Replace local "ret" declarations with WT_DECL_RET. | Keith Bostic | 2012-04-26 | 1 | -4/+8 |
| | |||||
* | Fixes to make test_schema02 pass. Much more careful checking and cleanup ↵ | Michael Cahill | 2012-02-02 | 1 | -9/+43 |
| | | | | | | during complex object creation. Check that the number of named columns matches the key and value formats. Use the schema tracking code to cleanup after errors. Detach btree handles from tables when closing. refs #131 | ||||
* | Fix uninitialized warnings with GCC 4.6. | Michael Cahill | 2012-01-31 | 1 | -0/+2 |
| | |||||
* | Fix uninitialized warnings with GCC 4.2. | Michael Cahill | 2012-01-31 | 1 | -0/+4 |
| | |||||
* | Add WT_CURSOR::uri containing the cursor source URI, primarily in support of ↵ | Michael Cahill | 2012-01-31 | 1 | -1/+1 |
| | | | | | | WT_CURSOR::equals. closes #153 | ||||
* | Merge WT_BUF into WT_ITEM. | Michael Cahill | 2012-01-23 | 1 | -3/+3 |
| | |||||
* | Update copyright notices to 2012. | Keith Bostic | 2012-01-22 | 1 | -3/+3 |
| | | | | | | | | | | | | Change the copyright check script to always use the current year. Change the example code copyright notices to document them as freeware, anybody using WiredTiger example code is free to use it in any way they choose, including commercially, WiredTiger claims no rights in such a copy. Minor re-ordering of the standard copyright notice so the preamble is always the copyright notice itself, not the mention of the LICENSE file. | ||||
* | Add the WT_RET_MSG and WT_ERR_MSG macros that output a message and then return. | Keith Bostic | 2012-01-02 | 1 | -11/+8 |
| | | | | | --HG-- rename : src/include/debug.h => src/include/error.h | ||||
* | Rename __wt_buf_sprintf/__wt_buf_sprintf_append to __wt_buf_fmt and | Keith Bostic | 2011-10-10 | 1 | -11/+9 |
| | | | | | | | | __wt_buf_catfmt, discard a couple of __wt_buf_init calls that aren't necessary. --HG-- extra : rebase_source : cf5b101e7b1975f31d8fc7cce99b7de9fe33a72e | ||||
* | Split __wt_buf_sprintf into two functions: __wt_buf_sprintf that sets the | Keith Bostic | 2011-10-10 | 1 | -14/+14 |
| | | | | | | | | buffer to a formatted string, and __wt_buf_sprintf_append that appends a formatted string to the existing buffer contents. --HG-- extra : rebase_source : d0269e698a9d0cddd4aa10436314f765857acc02 | ||||
* | Restrict visible columns in index cursors, hide primary key columns. | Michael Cahill | 2011-09-26 | 1 | -0/+25 |
| | | | | closes #78 | ||||
* | lint: | Michael Cahill | 2011-09-14 | 1 | -0/+1 |
| | | | | | - "break" indented at the wrong level - Symbol 'current_coltype' (line 135) not initialized | ||||
* | Cleanup some formatting / spelling that crept in. | Michael Cahill | 2011-09-02 | 1 | -3/+3 |
| | |||||
* | When calculating projection plans for complex tables, scan key columns as ↵ | Michael Cahill | 2011-09-02 | 1 | -24/+46 |
| | | | | well as value columns in each column group. | ||||
* | Finish implementation of indices -- populate them as the primary is updated, ↵ | Michael Cahill | 2011-08-16 | 1 | -14/+38 |
| | | | | allow searches on index cursors. | ||||
* | unused variables. | Keith Bostic | 2011-08-19 | 1 | -8/+6 |
| | |||||
* | Include all .i files from wt_internal.h. | Michael Cahill | 2011-07-14 | 1 | -2/+0 |
| | |||||
* | Fix schema handling for simple tables: keep the common configuration in the ↵ | Michael Cahill | 2011-07-09 | 1 | -0/+3 |
| | | | | WT_TABLE struct to avoid special cases. |