예제 #1
0
파일: keydb.go 프로젝트: JonathanLogan/mute
// Vacuum executes VACUUM command in keyDB. If autoVacuumMode is not nil and
// different from the current one, the auto_vacuum mode is changed before
// VACUUM is executed.
func (keyDB *KeyDB) Vacuum(autoVacuumMode string) error {
	return encdb.Vacuum(keyDB.encDB, autoVacuumMode)
}
예제 #2
0
파일: msgdb.go 프로젝트: JonathanLogan/mute
// Vacuum executes VACUUM command in msgDB. If autoVacuumMode is not nil and
// different from the current one, the auto_vacuum mode is changed before
// VACUUM is executed.
func (msgDB *MsgDB) Vacuum(autoVacuumMode string) error {
	return encdb.Vacuum(msgDB.encDB, autoVacuumMode)
}