示例#1
0
// 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
// 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)
}