Phillip Toland
6e9d6784ae
Version bump.
2009-02-27 11:09:00 -06:00
Phillip Toland
50e2fc4600
Fix b0rked commit.
2009-02-26 15:37:07 -06:00
Phillip Toland
277e9cbfe6
Added definitions for more error codes.
2009-02-20 09:47:45 -06:00
Phillip Toland
5b5642a957
Fleshed out API documentation.
2009-02-19 17:06:00 -06:00
Phillip Toland
da4386967d
Added skeleton documentation.
2009-02-18 17:11:12 -06:00
Phillip Toland
8b13a5aefe
Bunch of changes based on input from dialyzer.
2009-02-18 15:13:09 -06:00
Phillip Toland
73c69b3ce7
Ignore edoc output.
2009-02-18 10:18:46 -06:00
Phillip Toland
6e841ad8fa
Fixed some specs.
2009-02-17 16:18:33 -06:00
Phillip Toland
eede56ed4f
Added type specs.
2009-02-17 14:47:42 -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
Phillip Toland
6c03f7fd40
Whitespace cleanup.
2009-02-16 12:38:51 -06:00
Jon Meredith
1d755f7280
Bumping vsn to 5 for release
2009-02-12 13:39:43 -07:00
Jon Meredith
a27498b6c0
Fixed annoying unused variable message.
2009-02-12 13:24:01 -07:00
Jon Meredith
449fc0ce48
Merge branch 'master' of ecommons@wax.hive:bdberl
2009-02-12 13:21:55 -07:00
Jon Meredith
552f2ac89a
Made sure all erlang binary signed/unsigned integers match up with C data types
...
through the control function.
2009-02-12 13:20:14 -07:00
Phillip Toland
58970fd32c
Use Erlbox.
2009-02-12 12:49:50 -06:00
Jon Meredith
d3dba23aed
Moved zero-ing of async_pool/job inside mutex to avoid risk of race
...
in bdberl_drv_stop.
2009-02-12 11:19:51 -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
Jon Meredith
62e8fa569c
Changed driver shutdown to clear util thread active flags before signalling them.
...
Added debug messages on util thread error.
2009-02-11 11:58:39 -07:00
Jon Meredith
09081f000b
Changed the utility thread sleep function to use a custom sleep based on pipe/select
...
so they can be terminated quickly when the driver shuts down.
2009-02-11 11:22:44 -07: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
Jon Meredith
c8699679c3
Added protection for growing past too many entries to the hash going off the end of the primes list.
2009-02-10 15:22:02 -07:00
Jon Meredith
153d4615cd
Merge branch 'master' of ecommons@wax.hive:bdberl
2009-02-10 13:11:35 -07:00
Jon Meredith
f6e84539d4
Added return value check to db_env_create.
...
Fixed uninitizialized variable error with fn pointer.
2009-02-10 08:59:16 -07:00
Jon Meredith
d833ca708c
Changed bdberl_tpool_run to set a pointer to the job structure
...
rather than return it. There was an issue where the async thread cleanup
code finished before bdberl_tpool_run returned and wrote the address
of a freed TPoolJob structure into the ErlDrvPort.
2009-02-09 15:01:25 -07:00
Phillip Toland
567107ab37
Ignore the faxien package directory.
2009-02-04 10:11:03 -06:00
Phillip Toland
1979820d2d
Bumping vsn to 4
2009-02-03 12:36:06 -06:00
Phillip Toland
0c1401398a
Merge branch 'master' of ecommons@wax.hive:bdberl
2009-02-03 11:25:59 -06: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
1c11f81416
Refactored to eliminate some code duplication.
2009-02-03 09:37:08 -06:00
Phillip Toland
ed24fd72e4
Removed some unnecessary debugging statements.
2009-02-03 09:14:11 -06:00
Phillip Toland
1d7f86ed74
Added \r to the end of debug output so that things line up in the Erlang console properly.
2009-02-03 09:13:48 -06:00
Phillip Toland
df6222a51c
Added truncate command.
2009-02-02 15:51:47 -06:00
Dave Smith
8ec9bfa342
Bumping vsn to 3
2009-02-02 08:49:17 -07:00
Phillip Toland
4ba6a03aec
Change the way timing is handled for the checkpointer
...
to avoid problems on shutdown.
2009-01-30 12:42:58 -06:00
Phillip Toland
6bbb503da1
Remove old log files after a checkpoint.
2009-01-29 11:54:33 -06:00
Phillip Toland
75afb8502a
Add background checkpoint thread.
2009-01-29 11:27:37 -06:00
Dave Smith
068ddec7b2
Bumping to vsn 2
2008-12-18 10:46:20 -07: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
695597a10e
Merge branch 'master' of ecommons@wax.hive:bdberl
...
Conflicts:
Rakefile
2008-12-16 16:23:22 -06:00
Phillip Toland
83c18a2bda
Created a new stress test.
2008-12-16 16:22:04 -06:00
Dave Smith
f9b3354c50
Adding support for packaging to enable easier publishing via faxien
2008-12-16 13:16:23 -07:00
Dave Smith
036e12fd62
Updating build lib to copy over the utilities
2008-12-15 15:52:24 -07:00
Dave Smith
61207c1482
Merge branch 'master' of ecommons@wax.hive:bdberl
2008-12-15 14:35:02 -07:00