Explorar o código

wal: better comment

Xiang Li %!s(int64=11) %!d(string=hai) anos
pai
achega
cec1956b8f
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      wal/wal.go

+ 1 - 1
wal/wal.go

@@ -60,7 +60,7 @@ type WAL struct {
 	decoder *decoder // decoder to decode records
 
 	f       *os.File // underlay file opened for appending, sync
-	seq     int64    // current sequence of the wal file to be written
+	seq     int64    // the sequence of the current writting wal file
 	enti    int64    // index of the last entry that has been saved to wal
 	encoder *encoder // encoder to encode records
 }