add comment: db.dataref is readonly

This commit is contained in:
funkygao 2015-03-25 22:05:58 +08:00
parent 20852b29c4
commit 6d043164a9

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