Add debug.

GitOrigin-RevId: e84446bc4ebbf21f243147b3306b3b3254c7cf0c
This commit is contained in:
levlam 2018-04-23 17:54:10 +03:00
parent 8ce75591b7
commit 8107c838c0

View File

@ -210,7 +210,7 @@ Status SqliteDb::change_key(CSlice path, const DbKey &new_db_key, const DbKey &o
}
TRY_RESULT(new_db, open_with_key(path, new_db_key));
CHECK(new_db.user_version().ok() == user_version);
CHECK(new_db.user_version().ok() == user_version) << new_db.user_version().ok() << " " << user_version;
return Status::OK();
}
Status SqliteDb::destroy(Slice path) {