Commit graph

249 commits

Author SHA1 Message Date
Gregory Burd
d0c587bdec Various fixes. 2011-12-05 12:16:25 -05:00
Gregory Burd
1f7ca0c189 Use proper string formats 2011-12-04 15:16:54 -05:00
Gregory Burd
3d7a6e41c6 Use a more portable method to determine if PID is alive or not. 2011-12-04 15:04:55 -05:00
Gregory Burd
92c906f105 Fix macros so that they use their arguments properly. 2011-12-04 14:47:32 -05:00
Gregory Burd
91d10a7d51 Error messages 2011-12-04 14:46:13 -05:00
Gregory Burd
d7659ea8c1 Add BDB failchk support which requires thread_id and is_alive (implement thread_id_string while we're at it). 2011-12-04 14:45:30 -05:00
Gregory Burd
30b89d7808 Change scope of debugging macros. 2011-12-04 14:42:30 -05:00
Gregory Burd
b649dc7d3b Whitespace and formatting only. 2011-12-04 14:40:54 -05:00
Gregory Burd
12e3012a05 Transmit BDB event notifications into Erlang port driver. 2011-12-03 10:23:40 -05:00
Gregory Burd
9021359752 Merge remote-tracking branch 'origin/master' 2011-12-03 09:51:44 -05:00
Gregory Burd
fed8c726e2 Ensure all databases are opened with auto commit enabled. 2011-12-03 09:45:43 -05:00
Gregory Burd
eed6dfdf3a A cursor get() of an undefined Key will position the cursor. 2011-12-03 09:44:59 -05:00
Gregory Burd
5e0c4ff384 Consistently use 'Result' rather than a mix of 'Rc' and 'Result' 2011-12-01 16:24:53 -05:00
Gregory Burd
b70d9b8afa Add support for cursor->count() 2011-12-01 14:38:22 -05:00
Gregory Burd
11c864d949 Whitespace and log message formatting fixes. 2011-12-01 14:34:16 -05:00
Gregory Burd
63eb48ec24 Delete just sends back ok for success 2011-12-01 08:13:45 -05:00
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
dfa71be3c5 Merge branches 'lager-integration' and 'master' 2011-11-30 14:58:34 -05:00
Gregory Burd
72cf45ff3f Use lager for all log messages 2011-11-30 14:44:39 -05:00
Gregory Burd
7fc539984f Merge branch 'master', remote-tracking branch 'origin' 2011-11-29 13:42:21 -05:00
Gregory Burd
542f70443a Add me to the list. 2011-11-29 13:42:06 -05:00
Gregory Burd
21017f2d95 Merge branch 'master', remote-tracking branch 'origin' 2011-11-28 18:44:21 -05:00
Gregory Burd
ad64781df6 Auto-download of db package now works properly. 2011-11-28 18:39:53 -05:00
Gregory Burd
daa79ac912 Merge branch 'master' of git://github.com/jonmeredith/bdberl 2011-11-28 16:44:33 -05:00
Gregory Burd
05b81cdc3b Test bdb:del within a transaction, then abort. 2011-11-28 16:22:08 -05:00
Gregory Burd
7ff11a42a8 Consistently use driver_(alloc,realloc,free). 2011-11-28 16:02:00 -05:00
Gregory Burd
1d28a6f5f5 Add thrash test. 2011-11-28 15:59:57 -05:00
Gregory Burd
00f5549644 Cleanup 2011-11-28 14:08:27 -05:00
Gregory Burd
564b87a78a Whitespace 2011-11-28 13:56:28 -05:00
Gregory Burd
f32973b044 Grab a reduced tar-ball from GitHub gburd/libdb 2011-11-28 13:41:16 -05:00
Gregory Burd
3e1fba24a4 No longer needed. 2011-11-28 12:39:50 -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
d9ece6b7a9 Rakefile no longer needed, we use Rebar now (and some make/sh). 2011-08-09 15:05:11 -04:00
Gregory Burd
c8ec903721 Fix version, it should match Berkeley DB. 2011-08-09 15:02:04 -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
Gregory Burd
2983416786 Add a recent copy of rebar. 2011-08-08 16:29:34 -04:00
Gregory Burd
367baa8249 Add a simple .app.src file to use with rebar. 2011-08-08 16:29:06 -04:00
Gregory Burd
d9cfac5197 Add a simple Makefile that calls rebar. 2011-08-08 16:28:40 -04:00
Sergey Yelin
5b3f7fb6e2 Remove diagnostic flags - unneeded 2011-07-18 19:43:56 +04:00
Sergey Yelin
fad7dd5129 Sync flags and DB codes 2011-07-18 19:39:14 +04:00
Sergey Yelin
7bdfbacdc9 Fix flags (changed in 5.x) 2011-07-18 19:37:57 +04:00
Sergey Yelin
e874dbf319 Do not force pthread and add more diagnostic 2011-07-18 18:26:48 +04:00
Sergey Yelin
7768ac22e0 Fix statrt for cases when application not running. 2011-07-18 16:04:06 +04:00
Sergey Yelin
38643c5fb4 More cleanups 2011-07-18 15:47:57 +04:00
Sergey Yelin
a1291880df Disable stress test for now 2011-07-18 15:37:32 +04:00
Sergey Yelin
08c55326fe Remove DEBUG flag 2011-07-18 12:19:17 +04:00