mirror of
https://github.com/MariaDB/server.git
synced 2025-01-16 03:52:35 +01:00
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
This commit is contained in:
parent
8711aa1635
commit
143e585a7f
3 changed files with 4 additions and 1 deletions
|
@ -25,6 +25,7 @@ monty@donna.mysql.fi
|
|||
monty@hundin.mysql.fi
|
||||
monty@mashka.mysql.fi
|
||||
monty@mishka.mysql.fi
|
||||
monty@mysql.com
|
||||
monty@narttu.
|
||||
monty@narttu.mysql.fi
|
||||
monty@tik.
|
||||
|
|
|
@ -117,4 +117,6 @@ connection user1;
|
|||
-- error 1142
|
||||
alter table t1 rename t2;
|
||||
connection root;
|
||||
revoke all privileges on mysqltest.t1 from mysqltest_1@localhost;
|
||||
delete from mysql.user where user='mysqltest_1';
|
||||
drop database mysqltest;
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue