aboutsummaryrefslogtreecommitdiff
path: root/bolt_windows.go (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Move code to src/ and tests/EuAndreh2024-10-251-144/+0
|
* Fix return statement inside else block at the end of function and gofmt ↵nick2016-10-311-1/+1
| | | | | | windows file Signed-off-by: nick <nicholasjamesrusso@gmail.com>
* move to separate lock file on windowsBen Johnson2016-03-011-4/+18
|
* add WriteToFlag to TxXiang Li2015-11-061-2/+0
| | | | | | For in memory workload, it does not make sense to use o_direct to copy the file. Adding a option to clear out o_direct and for other future cases.
* windows: implement file lockingJames Tucker2015-09-161-3/+59
|
* make ignoring Truncate() explicitsasha-s2015-05-181-3/+5
| | | | https://github.com/boltdb/bolt/pull/371#issuecomment-103176330
* use a shared lock in read-only modesasha-s2015-05-181-1/+1
| | | | https://github.com/boltdb/bolt/pull/371#issuecomment-103119486
* open read-only databases in read-only modesasha-s2015-05-141-1/+1
|
* Fix bolt on OpenBSD.Josh Rickmar2014-09-181-2/+2
| | | | | | | | | | | OpenBSD does not include a UBC kernel and writes must be synchronized with the msync(2) syscall. In addition, the NoSync field of the DB struct should be ignored on OpenBSD, since unlike other platforms, missing msyncs will result in data corruption. Depends on PR #258. Fixes #257.
* Fixed cast for 32-bit windows.Casey Marshall2014-07-131-1/+1
|
* Add Open() options, flock timeout.Ben Johnson2014-06-211-1/+2
| | | | | | | | This commit changes Open() to provide an additional Options argument. The options argument currently only has a Timeout which will cause the Open() to return ErrTimeout if a file lock cannot be obtained in time. Fixes #207.
* Add Windows support.Ben Johnson2014-06-121-12/+25
| | | | | This commit adds Windows support to Bolt. Windows memory maps return an address instead of a byte slice so the DB.data field had to be refactored to be a pointer to a large byte array.
* Add Windows support.Ben Johnson2014-06-111-0/+60