Commit graph

57 commits

Author SHA1 Message Date
Gregory Burd ea7c83b32c Enable the two delete test cases. Currently the tests will hang as they execute these tests. 2011-11-30 15:01:40 -05:00
Gregory Burd 05b81cdc3b Test bdb:del within a transaction, then abort. 2011-11-28 16:22:08 -05:00
Gregory Burd 564b87a78a Whitespace 2011-11-28 13:56:28 -05:00
Gregory Burd db1eb122c6 Merge branch 'master' of git://github.com/kpy3/bdberl into merge-changes-from-kpy3
Conflicts:
	Makefile
	c_src/buildlib.sh
	include/bdberl.hrl
	int_test/DB_CONFIG
	rebar
	rebar.config
	test/bdberl_SUITE.erl
2011-11-28 12:39:11 -05:00
Gregory Burd 27438453bb Add support for cursor_get() which is used to position the cursor as
well as to get items based on its location.
2011-11-27 21:03:02 -05:00
Gregory Burd a29ccf2f22 Whitespace 2011-11-27 21:01:43 -05:00
Gregory Burd 469bf225a2 Added del()ete to Erlang API. 2011-08-10 17:26:19 -04:00
Gregory Burd 1f38bf630e Now passing all tests. 2011-08-09 12:15:08 -04:00
Gregory Burd 7b1350f899 Updated to Oracle Berkeley DB version 5.2.28 2011-08-09 11:01:44 -04:00
Sergey Yelin a1291880df Disable stress test for now 2011-07-18 15:37:32 +04:00
Sergey Yelin a765b45841 Changes 2011-07-17 23:55:48 +04:00
Sergey Yelin 7ab049b119 Bump up BerkeleyDB version to 5.1.25 2011-07-17 23:50:40 +04:00
Phillip Toland 09184b0399 Added license information. 2009-06-23 15:17:05 -05:00
Jon Meredith 700ac5c562 Removed unused line. 2009-06-23 15:02:31 -05:00
Jon Meredith 30fba1c995 Added stop(). Closes #318. 2009-06-02 13:36:07 -06:00
Jon Meredith 1409096860 Renamed get_lg_dir() to get_lg_dir_info and added get_data_dirs_info().
Both new calls return the filesystem id and the number of mbytes available
on that filesystem.
2009-05-29 12:13:19 -06:00
Jon Meredith c74beeba9f Added transaction stats. 2009-05-28 12:05:52 -06:00
Jon Meredith e4757031a2 Added mutex stats. 2009-05-27 16:49:18 -06:00
Jon Meredith e80dc97d6d Added memory pool statistics. 2009-05-27 16:31:26 -06:00
Jon Meredith 62d4522580 Added log stats 2009-05-27 15:25:50 -06:00
Jon Meredith 70dd9ee11a Added lock_stat/1 and lock_stat_print/1 functions to get lock stats. 2009-05-27 15:02:58 -06:00
Jon Meredith 05c1754e7f Added stat/2 and stat_print/1, stat_print/2 functions for retrieving/displaying stats about the BDB subsystem. 2009-05-27 14:03:11 -06:00
Phillip Toland 8b13a5aefe Bunch of changes based on input from dialyzer. 2009-02-18 15:13:09 -06:00
Phillip Toland ab1e627089 Rename tune_system to get_info and remove set calls. 2009-02-16 16:57:48 -06:00
Phillip Toland fe3606b881 Check for return values in transaction/2. Closes 818. 2009-02-16 16:09:51 -06:00
Jon Meredith a27498b6c0 Fixed annoying unused variable message. 2009-02-12 13:24:01 -07:00
Jon Meredith 2cd33e3b83 Added test for transaction/2 once bug 818 is resolved. 2009-02-12 11:13:58 -07:00
Jon Meredith 33cbe20ffb Changed the way end test cleans up tests from a file:delete to a bdberl:delete_database.
Was getting errors with the transaction code...
  api_test.db: unable to flush: No such file or directory
  txn_checkpoint: failed to flush the buffer cache: No such file or directory
2009-02-11 12:04:37 -07:00
Phillip Toland f1342dc2bd Added variant of truncate that truncates all open databases. 2009-02-03 10:57:50 -06:00
Phillip Toland aa24f888c0 Get rid of a warning during test. 2009-02-03 09:37:21 -06:00
Phillip Toland df6222a51c Added truncate command. 2009-02-02 15:51:47 -06:00
Dave Smith 45606ddf56 Change binhelper to avoid stupid user errors; now grows the buffer on demand for the specific # of bytes; fix bugs in get_data_dirs/0 (driver and erlang caller) 2008-12-17 14:45:39 -07:00
Dave Smith 3b9ba443f1 Add more triumphant configuration system for controlling BDB in unit tests 2008-12-17 13:21:19 -07:00
Dave Smith 7e7bbe574a Merge branch 'master' of ecommons@wax.hive:bdberl 2008-12-17 13:08:10 -07:00
Dave Smith 68813d0a53 Adding support for list database directories and txn'lly deleting databases 2008-12-17 13:07:36 -07:00
Phillip Toland 83c18a2bda Created a new stress test. 2008-12-16 16:22:04 -06:00
Phillip Toland 4494e9736d Added transaction retry logic. 2008-12-15 14:52:35 -06:00
Dave Smith 865f8958c5 Implemented support for put_commit 2008-12-15 11:47:38 -07:00
Dave Smith 2d323cb304 Adding support for cursor operations 2008-12-15 11:25:03 -07:00
Phillip Toland f20e46d756 Added a new update method that takes args to pass to the fun. 2008-12-12 15:50:44 -06:00
Phillip Toland cf90e88428 Removed old bdberl_port module. 2008-12-12 14:57:10 -06:00
Phillip Toland 0d64ac2146 Added tests from port_SUITE. 2008-12-12 14:56:00 -06:00
Phillip Toland e6f0cba53d Ported thrash test to new bdberl API. 2008-12-12 14:43:09 -06:00
Phillip Toland f71dd191f2 Make init/0 private and rely on lazy initialization. 2008-12-12 12:47:25 -06:00
Phillip Toland 5f2b99554a Replace bdberl_db with a merged bdberl API. 2008-12-12 12:39:51 -06:00
Phillip Toland e1bcd7aa52 Added rough cut of db api. 2008-12-12 11:14:03 -06:00
Dave Smith 987231cef9 Adding "tune" command that lets us get/set various timeouts 2008-12-11 14:13:37 -07:00
Dave Smith 28c56837c9 Increase proc count to increase contention 2008-12-11 11:52:19 -07:00
Dave Smith 3be9b64c30 Make sure to export bdberl_get/4; adjust thrash to use RMW flag to reduce deadlocks 2008-12-11 10:16:08 -07:00
Dave Smith b4c6aae90c Merge branch 'master' of ecommons@wax.hive:bdberl
Conflicts:

	c_src/bdberl_drv.c
	src/bdberl_port.erl
2008-12-11 07:30:14 -07:00