Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | WT-3267 Upgrade copyright notices from 2016 to 2017. (#3374) | Keith Bostic | 2017-04-07 | 1 | -1/+1 |
| | |||||
* | WT-3136 bug fix: WiredTiger doesn't check sprintf calls for error return (#3340) | Keith Bostic | 2017-03-24 | 1 | -3/+3 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | * WT-3136 bug fix: WiredTiger doesn't check sprintf calls for error return Make a pass through the source base to check sprintf, snprintf, vsprintf and vsnprintf calls for errors. * A WiredTiger key is a uint64_t. Use sizeof(), don't hard-wire buffer sizes into the code. * More (u_int) vs. (uint64_t) fixes. * Use CONFIG_APPEND instead of FORMAT_APPEND, it makes more sense. * revert part of 4475ae9, there's an explicit allocation of the size of the buffer. * MVSC complaints: test\format\config.c(765): warning C4018: '<': signed/unsigned mismatch test\format\config.c(765): warning C4018: '>': signed/unsigned mismatch * Change Windows testing shim to correctly use __wt_snprintf * Change Windows test shim to use the __wt_XXX functions * MSDN's _vscprintf API returns the number of characters excluding the termininating nul byte, return that value. | ||||
* | WT-2617 Fix a bug in pluggable file system example (#2718) | Keith Bostic | 2016-05-05 | 1 | -4/+16 |
| | | | | | | | | | | | | | | | | | | | | | | Don't print "home" if it's NULL. Make ex_async work like the rest of the example programs, creating and using WT_HOME. * We need two sizes, the size of the data in the buffer and the size of the buffer itself, split the two apart, otherwise it's possible to read data that's never been written. Remove the assert the file size is never 0, that's a reasonable condition if the file has never been written. Don't bother realloc the buffer when truncating it to a smaller size. * Add a full smoke test, create a table then write it, close and reopen it, and read the values back. * main() should return EXIT_SUCCESS or EXIT_FAILURE, not a return value from the underlying WiredTiger library. | ||||
* | WT-2471: review WiredTiger "int" printf formats | Keith Bostic | 2016-03-11 | 1 | -1/+1 |
| | |||||
* | Upgrade copyright notices from 2015 to 2016. | Keith Bostic | 2016-01-01 | 1 | -1/+1 |
| | |||||
* | Copyright notices: add MongoDB, update to 2015. | Keith Bostic | 2015-01-04 | 1 | -0/+1 |
| | |||||
* | Port all examples, most tests, and wtperf to Windows | Mark Benvenuto | 2014-10-16 | 1 | -0/+6 |
| | | | | Added windows_shim to emulate most functions | ||||
* | Minor shuffling to turn on more clang warnings: | Keith Bostic | 2014-09-01 | 1 | -2/+2 |
| | | | | | | | | | | | | | | | | | | | | | | | | - a few more uninitialized variables - make variables local to a single file static - replace use of WT_UNUSED_RET with error checking of the call (the macro was using a GCC extension clang doesn't like) With these changes, clang is mostly silent using the following options: -Weverything -Wno-cast-align -Wno-conversion -Wno-covered-switch-default -Wno-documentation-unknown-command -Wno-format-nonliteral -Wno-language-extension-token -Wno-missing-noreturn -Wno-packed -Wno-padded -Wno-switch-enum -Wno-zero-length-array Also, minor KNF whitespace cleanups. | ||||
* | Lint: primarily make sure no WiredTiger call that returns an error value | Keith Bostic | 2014-08-23 | 1 | -2/+2 |
| | | | | ignores that error. | ||||
* | Return EBUSY if no async handles available and fix ex_async to look for it. ↵ | Susan LoVerso | 2014-08-05 | 1 | -2/+9 |
| | | | | #1153. | ||||
* | Uninitialized variable, thanks, Jenkins! | Keith Bostic | 2014-08-05 | 1 | -0/+2 |
| | |||||
* | Review/edit the new asynchronous doc page, lots of random | Keith Bostic | 2014-08-05 | 1 | -81/+97 |
| | | | | | cleanup/simplifications (at least, hopefully, they cleanup and/or simplify). | ||||
* | Add a section to docs for async operations. #1139 | Susan LoVerso | 2014-08-04 | 1 | -4/+4 |
| | |||||
* | Move connection config out to a macro. | Susan LoVerso | 2014-07-17 | 1 | -3/+3 |
| | |||||
* | Add use of user-private data structure to async example. | Susan LoVerso | 2014-05-22 | 1 | -5/+23 |
| | |||||
* | Accidentally committed non-compiling ex_async.c last time. | Susan LoVerso | 2014-05-22 | 1 | -3/+1 |
| | |||||
* | Fix warning. | Susan LoVerso | 2014-05-22 | 1 | -1/+3 |
| | |||||
* | Make spell happy, "op's" -> "operation's" | Keith Bostic | 2014-05-06 | 1 | -8/+8 |
| | |||||
* | Remove an unused global in ex_async. | Michael Cahill | 2014-05-02 | 1 | -1/+0 |
| | | | | refs #933 | ||||
* | Add asynchronous compact support to async API. | Susan LoVerso | 2014-04-28 | 1 | -0/+4 |
| | |||||
* | Add asyncop->get_type API and change example to use it. | Susan LoVerso | 2014-04-21 | 1 | -11/+36 |
| | |||||
* | Implement a ring buffer without locking. | Susan LoVerso | 2014-04-15 | 1 | -1/+2 |
| | |||||
* | When closing the connection, automatically flush all async ops. | Susan LoVerso | 2014-04-10 | 1 | -4/+4 |
| | |||||
* | remove unused variables | Michael Cahill | 2014-04-10 | 1 | -1/+0 |
| | |||||
* | Use an underlying cursor for async op keys/values. | Susan LoVerso | 2014-04-09 | 1 | -10/+4 |
| | |||||
* | unused | Michael Cahill | 2014-04-07 | 1 | -0/+1 |
| | |||||
* | Fix some s_string warnings. | Susan LoVerso | 2014-04-03 | 1 | -1/+1 |
| | |||||
* | Add async_op config processing. | Susan LoVerso | 2014-04-03 | 1 | -1/+1 |
| | |||||
* | Fix warning. | Susan LoVerso | 2014-04-02 | 1 | -4/+2 |
| | |||||
* | More printf cleanup. | Susan LoVerso | 2014-04-02 | 1 | -6/+5 |
| | |||||
* | Fix example and clean up. Working raw key/values. | Susan LoVerso | 2014-04-02 | 1 | -3/+3 |
| | |||||
* | Remove some printfs. Reset example to use 1 table. | Susan LoVerso | 2014-04-02 | 1 | -25/+13 |
| | |||||
* | Add raw key/value support. | Susan LoVerso | 2014-04-02 | 1 | -10/+21 |
| | |||||
* | Add ASYNCOP_API_CALL. Fix some error paths. | Susan LoVerso | 2014-04-02 | 1 | -1/+16 |
| | |||||
* | Add 2nd table to example to test cache. | Susan LoVerso | 2014-04-01 | 1 | -1/+8 |
| | |||||
* | Add enqueue and dequeue support. | Susan LoVerso | 2014-03-31 | 1 | -0/+6 |
| | |||||
* | Add ex_async to build. | Susan LoVerso | 2014-03-26 | 1 | -8/+10 |
| | |||||
* | Clean up pass for s_all. | Susan LoVerso | 2014-03-26 | 1 | -11/+25 |
| | |||||
* | Add top layer of functions. Split files. | Susan LoVerso | 2014-03-25 | 1 | -4/+3 |
| | |||||
* | Update example. | Susan LoVerso | 2014-03-25 | 1 | -15/+19 |
| | |||||
* | First bits of async code | Susan LoVerso | 2014-03-24 | 1 | -0/+108 |