diff options
author | unknown <miguel@hegel.br> | 2002-10-16 21:51:03 -0200 |
---|---|---|
committer | unknown <miguel@hegel.br> | 2002-10-16 21:51:03 -0200 |
commit | 2e6dff75ad0ae9ef8fc6664f4b4d78c90b3fe199 (patch) | |
tree | c02a595ff949f725ab6f96f5305d88a7e48dc746 /sql/nt_servc.h | |
parent | 74b73109c1304e62430faa85d2a63a6f2ffa626d (diff) | |
download | mariadb-git-2e6dff75ad0ae9ef8fc6664f4b4d78c90b3fe199.tar.gz |
Added optional NT service and fix the TZ variable bug
mysys/my_init.c:
Fix the TZ variable bug: 100% CPU usage
sql/mysqld.cc:
Added optional NT service
sql/nt_servc.cc:
Added optional NT service
sql/nt_servc.h:
Added optional NT service
Diffstat (limited to 'sql/nt_servc.h')
-rw-r--r-- | sql/nt_servc.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sql/nt_servc.h b/sql/nt_servc.h index 40d1a8c03fa..6d74eaccea2 100644 --- a/sql/nt_servc.h +++ b/sql/nt_servc.h @@ -52,7 +52,9 @@ class NTService LPCSTR szAccountName=NULL,LPCSTR szPassword=NULL); BOOL SeekStatus(LPCSTR szInternName, int OperationType); BOOL Remove(LPCSTR szInternName); - + BOOL IsService(LPCSTR ServiceName); + BOOL got_service_option(char **argv, char *service_option); + BOOL is_super_user(); void Stop(void); //to be called from app. to stop service protected: |