summaryrefslogtreecommitdiff
path: root/sql/nt_servc.cc
diff options
context:
space:
mode:
authorunknown <monty@mysql.com>2004-03-25 21:52:25 +0200
committerunknown <monty@mysql.com>2004-03-25 21:52:25 +0200
commit143e585a7f5deed19e618cfa7e2987d0949d7ad7 (patch)
treeca06bdf091cbc917e5ba5da62c13909c2aabdfb8 /sql/nt_servc.cc
parent8711aa163511d5f81541bc9073f4921fa5ddd834 (diff)
downloadmariadb-git-143e585a7f5deed19e618cfa7e2987d0949d7ad7.tar.gz
Improved test case
service backport from 4.0 mysql-test/t/alter_table.test: Improved test case sql/nt_servc.cc: service backport from 4.0 BitKeeper/etc/logging_ok: Logging to logging@openlogging.org accepted
Diffstat (limited to 'sql/nt_servc.cc')
-rw-r--r--sql/nt_servc.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/nt_servc.cc b/sql/nt_servc.cc
index b18d3d00d88..320098cd8bc 100644
--- a/sql/nt_servc.cc
+++ b/sql/nt_servc.cc
@@ -498,7 +498,7 @@ BOOL NTService::IsService(LPCSTR ServiceName)
if (scm = OpenSCManager(0, 0,SC_MANAGER_ENUMERATE_SERVICE))
{
- if ((service = OpenService(scm,ServiceName, SERVICE_ALL_ACCESS )))
+ if ((service = OpenService(scm,ServiceName, SERVICE_QUERY_STATUS)))
{
ret_value=TRUE;
CloseServiceHandle(service);