UpdateMaxVersion 修改版本号
(version int64)
| 280 | |
| 281 | // UpdateMaxVersion 修改版本号 |
| 282 | func (this *SQLiteIPList) UpdateMaxVersion(version int64) error { |
| 283 | if this.isClosed { |
| 284 | return nil |
| 285 | } |
| 286 | |
| 287 | _, err := this.updateVersionStmt.Exec(version) |
| 288 | return err |
| 289 | } |
| 290 | |
| 291 | func (this *SQLiteIPList) Close() error { |
| 292 | this.isClosed = true |