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
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
mariadb
Commits
ea7f982e
Commit
ea7f982e
authored
Jun 06, 2005
by
jani@a193-229-222-105.elisa-laajakaista.fi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Some fixes for Netware.
parent
fb533312
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
1 deletion
+6
-1
include/my_sys.h
include/my_sys.h
+4
-1
netware/mysql_test_run.c
netware/mysql_test_run.c
+2
-0
No files found.
include/my_sys.h
View file @
ea7f982e
...
@@ -181,7 +181,7 @@ extern void my_large_free(gptr ptr, myf my_flags);
...
@@ -181,7 +181,7 @@ extern void my_large_free(gptr ptr, myf my_flags);
#endif
/* _AIX */
#endif
/* _AIX */
#if defined(__MWERKS__)
#if defined(__MWERKS__)
#undef alloca
#undef alloca
#define alloca _
_
alloca
#define alloca _alloca
#endif
/* __MWERKS__ */
#endif
/* __MWERKS__ */
#if defined(__GNUC__) && !defined(HAVE_ALLOCA_H) && ! defined(alloca)
#if defined(__GNUC__) && !defined(HAVE_ALLOCA_H) && ! defined(alloca)
#define alloca __builtin_alloca
#define alloca __builtin_alloca
...
@@ -836,7 +836,10 @@ my_bool my_gethwaddr(uchar *to);
...
@@ -836,7 +836,10 @@ my_bool my_gethwaddr(uchar *to);
#define MAP_NOSYNC 0x0800
#define MAP_NOSYNC 0x0800
#define MAP_FAILED ((void *)-1)
#define MAP_FAILED ((void *)-1)
#define MS_SYNC 0x0000
#define MS_SYNC 0x0000
#ifndef __NETWARE__
#define HAVE_MMAP
#define HAVE_MMAP
#endif
int
my_getpagesize
(
void
);
int
my_getpagesize
(
void
);
void
*
my_mmap
(
void
*
,
size_t
,
int
,
int
,
int
,
my_off_t
);
void
*
my_mmap
(
void
*
,
size_t
,
int
,
int
,
int
,
my_off_t
);
...
...
netware/mysql_test_run.c
View file @
ea7f982e
...
@@ -1162,6 +1162,8 @@ void setup(char *file)
...
@@ -1162,6 +1162,8 @@ void setup(char *file)
setenv
(
"MYSQL_TCP_PORT"
,
"3306"
,
1
);
setenv
(
"MYSQL_TCP_PORT"
,
"3306"
,
1
);
snprintf
(
file_path
,
PATH_MAX
*
2
,
"%s/mysql_client_test --no-defaults --testcase--user=root --port=%u "
,
bin_dir
,
master_port
);
snprintf
(
file_path
,
PATH_MAX
*
2
,
"%s/mysql_client_test --no-defaults --testcase--user=root --port=%u "
,
bin_dir
,
master_port
);
setenv
(
"MYSQL_CLIENT_TEST"
,
file_path
,
1
);
setenv
(
"MYSQL_CLIENT_TEST"
,
file_path
,
1
);
snprintf
(
file_path
,
PATH_MAX
*
2
,
"%s/mysql --no-defaults --user=root --port=%u "
,
bin_dir
,
master_port
);
setenv
(
"MYSQL"
,
file_path
,
1
);
}
}
/******************************************************************************
/******************************************************************************
...
...
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