summaryrefslogtreecommitdiff
path: root/sql/nt_servc.cc
diff options
context:
space:
mode:
authormiguel@light.local <>2002-02-20 23:20:15 -0300
committermiguel@light.local <>2002-02-20 23:20:15 -0300
commita4a150454ea706fa811cfddb3c25259f2fe3fe2b (patch)
tree834b74e42590215d9e9024027fe504361ef3d7b7 /sql/nt_servc.cc
parentfce63b0044fe200936ccc3a3bcf0198def5cc2b9 (diff)
downloadmariadb-git-a4a150454ea706fa811cfddb3c25259f2fe3fe2b.tar.gz
Changes for to control the tables and log clean up.
Diffstat (limited to 'sql/nt_servc.cc')
-rw-r--r--sql/nt_servc.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/sql/nt_servc.cc b/sql/nt_servc.cc
index 6930800982e..8c705a94f55 100644
--- a/sql/nt_servc.cc
+++ b/sql/nt_servc.cc
@@ -28,7 +28,7 @@ NTService::NTService()
//time-out variables
nStartTimeOut = 15000;
- nStopTimeOut = 15000;
+ nStopTimeOut = 86400000;
nPauseTimeOut = 5000;
nResumeTimeOut = 5000;
@@ -253,7 +253,7 @@ void NTService::ServiceMain(DWORD argc, LPTSTR *argv)
WaitForSingleObject (pService->hExitEvent, INFINITE);
// wait for thread to exit
- if (WaitForSingleObject (pService->hThreadHandle, 1000) == WAIT_TIMEOUT)
+ if (WaitForSingleObject (pService->hThreadHandle, INFINITE) == WAIT_TIMEOUT)
CloseHandle(pService->hThreadHandle);
pService->Exit(0);