Commit graph

36 commits

Author SHA1 Message Date
Gregory Burd
30b89d7808 Change scope of debugging macros. 2011-12-04 14:42:30 -05:00
Gregory Burd
b70d9b8afa Add support for cursor->count() 2011-12-01 14:38:22 -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
7b1350f899 Updated to Oracle Berkeley DB version 5.2.28 2011-08-09 11:01:44 -04:00
Sergey Yelin
fad7dd5129 Sync flags and DB codes 2011-07-18 19:39:14 +04:00
Phillip Toland
e20a91e082 Updated Jon's email address. 2009-06-23 15:27:37 -05:00
Phillip Toland
09184b0399 Added license information. 2009-06-23 15:17:05 -05:00
Jon Meredith
0affeb825c Cleaned up driver
- removed the lock checks now we are happy with the mutex
 - replaced 'const == var' tests with 'var == const' to make code consistent.
2009-06-23 15:02:33 -05:00
Jon Meredith
2077413b9e Added active counts to dbref and portref to help see what is being corrupted
in the coredump.
2009-06-23 15:02:33 -05:00
Jon Meredith
13240670c3 Added bdberl:driver_info() function to get driver parameters. 2009-06-23 15:02:32 -05:00
Jon Meredith
1e3b89e24e Broke stats code out into bdberl_stats.h module.
Had to rename some functions that became non-static.
Added some accessors to module static variables as needed.
2009-06-23 15:02:32 -05:00
Jon Meredith
def6d9376a Changed stats functions to use async_dbref/async_flags to pass parameters
to async functions rather than work buffer.
2009-06-23 15:02:32 -05:00
Jon Meredith
dc867e363b Incorporated Diz's crc generation/checking patch to bdberl.erl.
Added crc checking before/after BDB accesses in C driver.
Changed get to use malloc DBTs rather than the user supplied buffer
previously.
2009-06-23 15:02:31 -05: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
Dave Smith
22f33e0b0d Adding support for registering a logger port/pid to capture BDB messages 2009-04-16 07:08:22 -06:00
Phillip Toland
ab1e627089 Rename tune_system to get_info and remove set calls. 2009-02-16 16:57:48 -06:00
Jon Meredith
5ccd73c2ea Added some pedantic defaults to make super-duper-extra-special sure things are as we expect. 2009-02-10 15:24:04 -07:00
Phillip Toland
df6222a51c Added truncate command. 2009-02-02 15:51:47 -06:00
Dave Smith
68813d0a53 Adding support for list database directories and txn'lly deleting databases 2008-12-17 13:07:36 -07: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
Dave Smith
f56351e1dc Overhaul driver to avoid use of pipes and simplify memory management 2008-12-15 09:23:19 -07:00
Dave Smith
987231cef9 Adding "tune" command that lets us get/set various timeouts 2008-12-11 14:13:37 -07:00
Dave Smith
8fc3cc3701 Interstitial commit 2008-12-10 18:17:44 -07:00
Dave Smith
2f83430708 Adding support for get/put and basic transactions 2008-12-09 13:18:55 -07:00
Dave Smith
ade3f99f81 Open/Close now seems to be functional 2008-12-07 23:28:04 -07:00
Dave Smith
20f872cdef Lots more work on getting basic system fleshed out. Basic structures in place for tracking open databases. 2008-12-06 22:08:36 -07:00