fixed path to SQL init files in Windows configuration wizard
authorVictor Kirhenshtein <victor@netxms.org>
Wed, 6 Dec 2017 14:25:19 +0000 (16:25 +0200)
committerVictor Kirhenshtein <victor@netxms.org>
Wed, 6 Dec 2017 14:25:50 +0000 (16:25 +0200)
src/server/tools/nxconfig/WizardWorker.cpp

index 2b3584d..7477c52 100644 (file)
@@ -524,7 +524,7 @@ static DWORD __stdcall WorkerThread(void *pArg)
 
       PostMessage(m_hStatusWnd, WM_START_STAGE, 0, (LPARAM)_T("Initializing database"));
 
-      _sntprintf(szInitFile, MAX_PATH, _T("%s\\lib\\sql\\dbinit_%s.sql"),
+      _sntprintf(szInitFile, MAX_PATH, _T("%s\\share\\sql\\dbinit_%s.sql"),
                  pc->m_szInstallDir, szEngineName[pc->m_iDBEngine]);
       bResult = ExecSQLBatch(hConn, szInitFile);