Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
MariaDB
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
MariaDB
Commits
6f604246
Commit
6f604246
authored
Jul 23, 2003
by
greg@gcw.ath.cx
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mysql_test_run.c and associated files, with my initial changes and WAX's changes for Windows
parent
19efafcc
Changes
5
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
939 additions
and
553 deletions
+939
-553
BitKeeper/etc/logging_ok
BitKeeper/etc/logging_ok
+1
-0
netware/Makefile.am
netware/Makefile.am
+28
-28
netware/my_manage.c
netware/my_manage.c
+521
-247
netware/my_manage.h
netware/my_manage.h
+32
-2
netware/mysql_test_run.c
netware/mysql_test_run.c
+357
-276
No files found.
BitKeeper/etc/logging_ok
View file @
6f604246
...
...
@@ -22,6 +22,7 @@ carsten@tsort.bitbybit.dk
davida@isil.mysql.com
gluh@gluh.(none)
gluh@gluh.mysql.r18.ru
greg@gcw.ath.cx
greg@mysql.com
guilhem@mysql.com
gweir@work.mysql.com
...
...
netware/Makefile.am
View file @
6f604246
netware/my_manage.c
View file @
6f604246
This diff is collapsed.
Click to expand it.
netware/my_manage.h
View file @
6f604246
...
...
@@ -26,17 +26,41 @@
******************************************************************************/
#include <stdlib.h>
#ifndef __WIN__
#include <unistd.h>
#endif
/******************************************************************************
macros
******************************************************************************/
#ifdef __WIN__
#define PATH_MAX _MAX_PATH
#define NAME_MAX _MAX_FNAME
#define kill(A,B) TerminateProcess((HANDLE)A,0)
#define NOT_NEED_PID 0
#define MASTER_PID 1
#define SLAVE_PID 2
#define mysqld_timeout 60000
intptr_t
master_server
;
intptr_t
slave_server
;
int
pid_mode
;
bool
run_server
;
char
win_args
[
1024
];
bool
skip_first_param
;
#endif
#define ARG_BUF 10
#define TRY_MAX 5
#ifdef __NETWARE__
#define strstr(A,B) strindex(A,B)
#endif
/******************************************************************************
structures
...
...
@@ -53,6 +77,8 @@ typedef struct
}
arg_list_t
;
typedef
int
pid_t
;
/******************************************************************************
global variables
...
...
@@ -66,7 +92,7 @@ typedef struct
******************************************************************************/
void
init_args
(
arg_list_t
*
);
void
add_arg
(
arg_list_t
*
,
char
*
,
...);
void
add_arg
(
arg_list_t
*
,
c
onst
c
har
*
,
...);
void
free_args
(
arg_list_t
*
);
int
sleep_until_file_exists
(
char
*
);
...
...
@@ -80,8 +106,12 @@ pid_t get_server_pid(char *);
void
kill_server
(
pid_t
pid
);
void
del_tree
(
char
*
);
int
removef
(
char
*
,
...);
int
removef
(
c
onst
c
har
*
,
...);
void
get_basedir
(
char
*
,
char
*
);
char
mysqladmin_file
[
PATH_MAX
];
#endif
/* _MY_MANAGE */
netware/mysql_test_run.c
View file @
6f604246
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment