schema-related information (like schema version, DB syntax, etc.) moved from "config...
[public/netxms.git] / src / server / core / hk.cpp
index e31ac60..a029d3e 100644 (file)
@@ -183,7 +183,7 @@ THREAD_RESULT THREAD_CALL HouseKeeper(void *pArg)
       RWLockUnlock(g_rwlockNodeIndex);
 
       // Run DB-specific maintenance tasks
-      if (g_dwDBSyntax == DB_SYNTAX_PGSQL)
+      if (g_nDBSyntax == DB_SYNTAX_PGSQL)
          PGSQLMaintenance();
    }