Commit d6f9fa03 authored by monty@mysql.com's avatar monty@mysql.com

Improved test case

service backport from 4.0
parent eea20509
...@@ -25,6 +25,7 @@ monty@donna.mysql.fi ...@@ -25,6 +25,7 @@ monty@donna.mysql.fi
monty@hundin.mysql.fi monty@hundin.mysql.fi
monty@mashka.mysql.fi monty@mashka.mysql.fi
monty@mishka.mysql.fi monty@mishka.mysql.fi
monty@mysql.com
monty@narttu. monty@narttu.
monty@narttu.mysql.fi monty@narttu.mysql.fi
monty@tik. monty@tik.
......
...@@ -117,4 +117,6 @@ connection user1; ...@@ -117,4 +117,6 @@ connection user1;
-- error 1142 -- error 1142
alter table t1 rename t2; alter table t1 rename t2;
connection root; connection root;
revoke all privileges on mysqltest.t1 from mysqltest_1@localhost;
delete from mysql.user where user='mysqltest_1';
drop database mysqltest; drop database mysqltest;
...@@ -498,7 +498,7 @@ BOOL NTService::IsService(LPCSTR ServiceName) ...@@ -498,7 +498,7 @@ BOOL NTService::IsService(LPCSTR ServiceName)
if (scm = OpenSCManager(0, 0,SC_MANAGER_ENUMERATE_SERVICE)) 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; ret_value=TRUE;
CloseServiceHandle(service); CloseServiceHandle(service);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment