mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-01-19 20:18:09 +00:00
Fix db management version (do not go backward)
This commit is contained in:
parent
e9f857c731
commit
701685a9fc
1 changed files with 1 additions and 1 deletions
|
|
@ -968,7 +968,7 @@ unsigned int MainDbPrivate::getModuleVersion (const string &name) {
|
|||
|
||||
void MainDbPrivate::updateModuleVersion (const string &name, unsigned int version) {
|
||||
unsigned int oldVersion = getModuleVersion(name);
|
||||
if (oldVersion == version)
|
||||
if (version <= oldVersion)
|
||||
return;
|
||||
|
||||
soci::session *session = dbSession.getBackendSession();
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue