Commit Graph

12 Commits

Author SHA1 Message Date
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
7b8e1086a8 If the default leaf/internal page size is 4KB, then setting it to
something smaller requires setting the allocation size as well,
because page sizes must be multiples of the allocation size.
2013-05-23 12:32:21 -04:00
Keith Bostic
99ca9955f1 Typo, two tests with the same name. 2013-02-13 10:45:23 -05:00
Keith Bostic
963d37a4e6 Update copyright notice to 2013. 2013-01-01 09:45:50 +00:00
Keith Bostic
016a035d3a Having a next-random cursor open could block transactions or checkpoints
because the cursor.reset method failed with not-supported.   Two fixes:
explicitly change next-random cursors to call the underlying reset method,
they're btree handles so it makes sense for them.  Additionally, make the
default cursor.reset method be a no-op rather than a not-supported error,
bulk cursors don't want to block transactions/checkpoints either.
2012-09-13 17:00:37 +00:00
Keith Bostic
6d3dc3c6b8 Now that we export cursor.compare; move the cursor positioning for
session.truncate back out of the cursor layer and into the session
layer (ref #314).

Change session.truncate to support any cursor position for range
truncation, not just keys that are known to exist.  This also
allows us to simplify the testing, because row-store can now deal
with "implicit" keys.

This is an API change, note in the "Upgrading" section of the docs.
2012-09-07 20:54:19 +00:00
Keith Bostic
7a3b1353f0 We're sending a mixed message -- remove the copyright notices from files
where we've placed our content in the public domain.
2012-08-15 17:46:54 +00:00
Keith Bostic
aa1b8bb078 Remove the cursor.reconfigure method, and replace it with documentation
showing how to "reconfigure" cursors using the session.open_cursor
method to duplicate them with different configuration strings.
Close #282.
2012-08-03 18:43:03 +00:00
Keith Bostic
e43ca0ac63 replace tabs with spaces. 2012-07-28 12:06:01 +00:00
Keith Bostic
71442cc95f Change cursor.equals to return a standard error value and store the cursor
equality result in a separate argument: close #274.

Add connection.is_new to the list of methods in the SWIG file that don't
require error handling, add a connection.is_new smoke test to the test
suite.

Add a connection.get_home smoke test to the test suite.
2012-07-28 11:56:53 +00:00
Keith Bostic
593431a4d2 review/rework cursor next-random test. 2012-07-27 21:40:13 +00:00
Keith Bostic
755b6cbfc2 Lightly modified diff from Rolf's random-cursor test pull request. 2012-07-27 16:12:22 +00:00