summaryrefslogtreecommitdiff
path: root/test/fops/file.c
Commit message (Collapse)AuthorAgeFilesLines
* WT-3267 Upgrade copyright notices from 2016 to 2017. (#3374)Keith Bostic2017-04-071-1/+1
|
* WT-3136 bug fix: WiredTiger doesn't check sprintf calls for error return (#3340)Keith Bostic2017-03-241-2/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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-3207 Report a message for conflicting forced checkpoints, rather than an ↵Alex Gorrod2017-03-101-9/+18
| | | | | | | error (#3326) Have test/fops handle EBUSY returns from forced checkpoints and EINVAL from bulk cursors.
* WT-2471: review WiredTiger "int" printf formatsKeith Bostic2016-03-111-1/+1
|
* Change WT_SESSION.rebalance to silently succeed if the tree hasKeith Bostic2016-01-041-0/+17
| | | | | never been written to disk. Add support for WT_SESSION.rebalance to the fops test program.
* Consistently use __wt_yield() in all of the test programs.Keith Bostic2016-01-041-3/+3
|
* Upgrade copyright notices from 2015 to 2016.Keith Bostic2016-01-011-1/+1
|
* Add forced drops to test/fops. We have seen failures where a checkpoint ↵Michael Cahill2015-05-181-6/+8
| | | | | | interleaves between a bulk load and a forced drop to try to operate on a dead handle. refs SERVER-18014
* Code review ChangesDavid Hows2015-05-011-39/+38
|
* Move utilities to .i and add fixes for WindowsDavid Hows2015-05-011-1/+1
|
* Remove relative pathingdaveh862015-05-011-1/+1
|
* Fix Broken Includes and other minor thingsdaveh862015-05-011-0/+1
|
* Copyright notices: add MongoDB, update to 2015.Keith Bostic2015-01-041-0/+1
|
* Add tests for creating bulk and non-bulk items that we know will succeed;Keith Bostic2014-11-211-2/+69
| | | | | I did this change to test for #1397, but it's a reasonable way to do more testing in fops.
* Move the test run into a subdirectory, WT_TEST.Keith Bostic2014-11-211-24/+24
| | | | Make it possible to pass additional information to the die functon's fprintf.
* Update copyright notices for 2014.Keith Bostic2014-01-071-1/+1
| | | | Move lang/java and lang/python into the public domain.
* Avoid named checkpoints in test/fops now that they are prohibited with LSM.Michael Cahill2013-05-241-5/+2
|
* Update copyright notice to 2013.Keith Bostic2013-01-011-1/+1
|
* Move test program software into the public domain, if anyone wants toKeith Bostic2012-10-261-3/+23
| | | | cut-and-paste from it, that's fine with us.
* Add in session.open_cursor operations, reference #373.Keith Bostic2012-10-201-0/+22
|
* Add sanity check of cache size to LSM open.Alex Gorrod2012-10-031-2/+2
|
* Bulk-load is only possible if the we just created the file, which meansKeith Bostic2012-09-201-1/+1
| | | | | we have to allow an EINVAL return from a bulk-load cursor open, where the object wasn't just created.
* lintKeith Bostic2012-09-121-1/+2
|
* Fix bulk loads concurrent with schema modifying operations.Michael Cahill2012-09-111-10/+10
|
* Add a bulk cursor operation into fop test.Alex Gorrod2012-09-071-0/+27
|
* Get rid of "snapshot" at the API layer, drive the change down to the btreeKeith Bostic2012-06-181-1/+1
| | | | handles; we'll get rid of "snapshot" in the rest of the system over time.
* Rename the "snapshot" config key in session.checkpoint to "name".Keith Bostic2012-06-161-3/+7
| | | | | | | | | | | Delete the session.sync method, replace session.sync calls with session.checkpoint calls, setting "target=(uri),name=xxx". Add a "drop" config key to session.checkpoint, providing a list of snapshot names to discard. Replace session.drop snapshot discard calls with calls to session.checkpoint. Rework relevant documentation.
* Add tests for table-level operations to test/fops.Michael Cahill2012-06-041-10/+10
| | | | refs #191
* session-drop normally returns EBUSY if the handle isn't available.Keith Bostic2012-05-281-1/+1
|
* Fix error messages to have the right method names.Keith Bostic2012-05-281-4/+4
|
* Split test/thread into two parts, test/thread and test/fops.Keith Bostic2012-05-281-0/+93