fixed DB upgrade procedure
authorVictor Kirhenshtein <victor@netxms.org>
Fri, 20 Oct 2017 15:17:57 +0000 (18:17 +0300)
committerVictor Kirhenshtein <victor@netxms.org>
Fri, 20 Oct 2017 15:17:57 +0000 (18:17 +0300)
src/server/tools/nxdbmgr/upgrade_v22.cpp

index 0f6d11e..e868395 100644 (file)
@@ -72,7 +72,7 @@ bool MajorSchemaUpgrade_V22()
    if (!DBGetSchemaVersion(g_hCoreDB, &major, &minor))
       return false;
 
-   while(major == 21)
+   while(major == 22)
    {
       // Find upgrade procedure
       int i;