Commit Graph

18 Commits

Author SHA1 Message Date
Keith Bostic
344a714c3d Upgrade copyright notices from 2015 to 2016. 2016-01-01 16:37:39 -05:00
David Hows
29477b0ac5 Add testutils to all tests 2015-05-05 14:51:23 +10:00
Keith Bostic
30b61e8abd Make the die() function look like all the other test programs,
support variadic arguments.
2015-04-14 08:41:52 -04:00
Keith Bostic
1f9098871a Copyright notices: add MongoDB, update to 2015. 2015-01-04 14:07:56 -05:00
Keith Bostic
d0158f3105 Coverity report 1215467, open FILE handle could be leaked. 2014-05-23 08:27:20 -04:00
Keith Bostic
176dccefc2 Add a -F option to thread, to create a separate file for every thread.
With this option, the command line combination "-FS -R 0 -W 10" will
trigger the checkpoint problem where closing a file fails because there
is an update for the file we can't write.

Reference #844, #957.
2014-05-20 10:47:54 -04:00
Keith Bostic
5b509b7220 Update copyright notices for 2014.
Move lang/java and lang/python into the public domain.
2014-01-07 10:30:12 -05:00
Keith Bostic
963d37a4e6 Update copyright notice to 2013. 2013-01-01 09:45:50 +00:00
Keith Bostic
45c1e2a5a3 Move test program software into the public domain, if anyone wants to
cut-and-paste from it, that's fine with us.
2012-10-26 13:22:45 +00:00
Michael Cahill
12e95a3fa7 Apply style scripts to the test sources. 2012-02-24 20:41:03 +11:00
Michael Cahill
1e5200e0cb Remove the config string from WT_CURSOR::close: it is no longer required and simplifies the code. 2012-02-02 10:56:15 +11:00
Keith Bostic
4879e63e5b More copyright cleanup. 2012-02-01 15:32:36 +00:00
Michael Cahill
85874d07c9 Fix up various places that accessed statistics keys via the old interface.
--HG--
extra : rebase_source : 33fd091053a50769c30c407488d2a764248c763e
2012-01-20 12:22:36 +11:00
Keith Bostic
a21f05690e typo, missed == 0 test. 2011-09-28 15:15:21 +00:00
Keith Bostic
7e7cd59988 Fill in the rest of the statistics cursor methods, adding prev, last,
set-key, search and search-near.

Change the statistics cursor "key" to be the description field of the
statistic (the previous key was the internal name, and while the
description field isn't a great choice because it might easily change,
the internal name is completely useless).

Change the order of the raw statistics return from v,pval to pval,v,
so it matches the printable return.

Add the -p option to the "wt stat" command, it prints out all stats
with the specified prefix.
2011-09-28 11:54:51 +00:00
Keith Bostic
6693e9d8e5 Change statistics cursor get_value method signature from
(uint64_t value, const char *description, const char *printvalue)
to:
	(const char *description, const char *printvalue, uint64_t value)
Don't bother retrieving the key when printing the statistics, we don't
much care about it.
Minor cleanup of the docs to match.
2011-09-27 09:53:16 +00:00
Keith Bostic
4eeee1b69e Re-write the thread's stat cursors to match current behavior. 2011-09-27 09:21:48 +00:00
Keith Bostic
23b20d4de1 Add a small thread-test program. 2011-07-31 11:11:15 -04:00