add comment: db.dataref is readonly

master
funkygao 2015-03-25 22:05:58 +08:00
parent 20852b29c4
commit 6d043164a9
1 changed files with 1 additions and 1 deletions

2
db.go
View File

@ -73,7 +73,7 @@ type DB struct {
path string
file *os.File
dataref []byte
dataref []byte // mmap'ed readonly, write throws SEGV
data *[maxMapSize]byte
datasz int
meta0 *meta