[server] Always check CDB schema.
This commit is contained in:
parent
c2189cc03f
commit
c841cc9127
1 changed files with 17 additions and 10 deletions
|
@ -1386,6 +1386,20 @@ func main_0 () (error) {
|
|||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
// --------------------------------------------------------------------------------
|
||||
// --------------------------------------------------------------------------------
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
if _schemaVersion, _error := _cdbReader.GetWithCdbHash ([]byte (NamespaceSchemaVersion)); _error == nil {
|
||||
if _schemaVersion == nil {
|
||||
|
@ -1396,13 +1410,6 @@ func main_0 () (error) {
|
|||
} else {
|
||||
AbortError (_error, "[87cae197] [cdb.....] failed opening archive!")
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
// --------------------------------------------------------------------------------
|
||||
// --------------------------------------------------------------------------------
|
||||
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue