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
4fb5c13e
Commit
4fb5c13e
authored
Feb 25, 2003
by
serg@serg.mysql.com
Browse files
Options
Browse Files
Download
Plain Diff
Merge work:/home/bk/mysql-4.0
into serg.mysql.com:/usr/home/serg/Abk/mysql-4.0
parents
d2b9fcee
9acbaffc
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
25 additions
and
9 deletions
+25
-9
.bzrignore
.bzrignore
+3
-0
BUILD/compile-pentium-debug-max
BUILD/compile-pentium-debug-max
+1
-1
include/my_pthread.h
include/my_pthread.h
+5
-0
mysys/my_pthread.c
mysys/my_pthread.c
+11
-1
sql/mysqld.cc
sql/mysqld.cc
+5
-7
No files found.
.bzrignore
View file @
4fb5c13e
...
@@ -525,3 +525,6 @@ vio/viotest-ssl
...
@@ -525,3 +525,6 @@ vio/viotest-ssl
extra/mysql_waitpid
extra/mysql_waitpid
support-files/MacOSX/Description.plist
support-files/MacOSX/Description.plist
support-files/MacOSX/Info.plist
support-files/MacOSX/Info.plist
support-files/MacOSX/StartupParameters.plist
support-files/MacOSX/postinstall
support-files/MacOSX/preinstall
BUILD/compile-pentium-debug-max
View file @
4fb5c13e
...
@@ -3,7 +3,7 @@
...
@@ -3,7 +3,7 @@
path
=
`
dirname
$0
`
path
=
`
dirname
$0
`
.
"
$path
/SETUP.sh"
.
"
$path
/SETUP.sh"
extra_flags
=
"
$pentium_cflags
$debug_cflags
"
extra_flags
=
"
$pentium_cflags
$debug_cflags
-DBIG_TABLES
"
c_warnings
=
"
$c_warnings
$debug_extra_warnings
"
c_warnings
=
"
$c_warnings
$debug_extra_warnings
"
cxx_warnings
=
"
$cxx_warnings
$debug_extra_warnings
"
cxx_warnings
=
"
$cxx_warnings
$debug_extra_warnings
"
extra_configs
=
"
$pentium_configs
$debug_configs
"
extra_configs
=
"
$pentium_configs
$debug_configs
"
...
...
include/my_pthread.h
View file @
4fb5c13e
...
@@ -443,6 +443,11 @@ int my_pthread_cond_timedwait(pthread_cond_t *cond, pthread_mutex_t *mutex,
...
@@ -443,6 +443,11 @@ int my_pthread_cond_timedwait(pthread_cond_t *cond, pthread_mutex_t *mutex,
struct
timespec
*
abstime
);
struct
timespec
*
abstime
);
#endif
#endif
#if defined(HPUX10)
#define pthread_attr_getstacksize(A,B) my_pthread_attr_getstacksize(A,B)
void
my_pthread_attr_getstacksize
(
pthread_attr_t
*
attrib
,
size_t
*
size
);
#endif
#if defined(HAVE_POSIX1003_4a_MUTEX) && !defined(DONT_REMAP_PTHREAD_FUNCTIONS)
#if defined(HAVE_POSIX1003_4a_MUTEX) && !defined(DONT_REMAP_PTHREAD_FUNCTIONS)
#undef pthread_mutex_trylock
#undef pthread_mutex_trylock
#define pthread_mutex_trylock(a) my_pthread_mutex_trylock((a))
#define pthread_mutex_trylock(a) my_pthread_mutex_trylock((a))
...
...
mysys/my_pthread.c
View file @
4fb5c13e
/* Copyright (C) 2000 MySQL AB
/* Copyright (C) 2000
-2003
MySQL AB
This program is free software; you can redistribute it and/or modify
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
it under the terms of the GNU General Public License as published by
...
@@ -393,6 +393,7 @@ int pthread_signal(int sig, void (*func)())
...
@@ -393,6 +393,7 @@ int pthread_signal(int sig, void (*func)())
#undef pthread_cond_wait
#undef pthread_cond_wait
#undef pthread_cond_timedwait
#undef pthread_cond_timedwait
#undef pthread_cond_t
#undef pthread_cond_t
#undef pthread_attr_getstacksize
/*****************************************************************************
/*****************************************************************************
** Patches for AIX and DEC OSF/1 3.2
** Patches for AIX and DEC OSF/1 3.2
...
@@ -465,6 +466,15 @@ int my_pthread_cond_timedwait(pthread_cond_t *cond, pthread_mutex_t *mutex,
...
@@ -465,6 +466,15 @@ int my_pthread_cond_timedwait(pthread_cond_t *cond, pthread_mutex_t *mutex,
}
}
#endif
#endif
#if defined(HPUX10)
void
my_pthread_attr_getstacksize
(
pthread_attr_t
*
connection_attrib
,
size_t
*
stack_size
)
{
*
stack_size
=
pthread_attr_getstacksize
(
*
connection_attrib
);
}
#endif
#ifdef HAVE_POSIX1003_4a_MUTEX
#ifdef HAVE_POSIX1003_4a_MUTEX
/*
/*
...
...
sql/mysqld.cc
View file @
4fb5c13e
...
@@ -264,6 +264,9 @@ bool opt_large_files= sizeof(my_off_t) > 4;
...
@@ -264,6 +264,9 @@ bool opt_large_files= sizeof(my_off_t) > 4;
#define GET_HA_ROWS GET_ULONG
#define GET_HA_ROWS GET_ULONG
#endif
#endif
#ifdef HAVE_LIBWRAP
char
*
libwrapName
=
NULL
;
#endif
/*
/*
Variables to store startup options
Variables to store startup options
...
@@ -1855,14 +1858,13 @@ struct utsname
...
@@ -1855,14 +1858,13 @@ struct utsname
char
nodename
[
FN_REFLEN
];
char
nodename
[
FN_REFLEN
];
};
};
int
uname
(
struct
utsname
*
a
)
int
uname
(
struct
utsname
*
a
)
{
{
return
-
1
;
return
-
1
;
}
}
#endif
#ifdef __WIN__
extern
"C"
pthread_handler_decl
(
handle_shutdown
,
arg
)
extern
"C"
pthread_handler_decl
(
handle_shutdown
,
arg
)
{
{
MSG
msg
;
MSG
msg
;
...
@@ -1878,7 +1880,7 @@ extern "C" pthread_handler_decl(handle_shutdown,arg)
...
@@ -1878,7 +1880,7 @@ extern "C" pthread_handler_decl(handle_shutdown,arg)
return
0
;
return
0
;
}
}
int
__stdcall
handle_kill
(
ulong
ctrl_type
)
int
STDCALL
handle_kill
(
ulong
ctrl_type
)
{
{
if
(
ctrl_type
==
CTRL_CLOSE_EVENT
||
if
(
ctrl_type
==
CTRL_CLOSE_EVENT
||
ctrl_type
==
CTRL_SHUTDOWN_EVENT
)
ctrl_type
==
CTRL_SHUTDOWN_EVENT
)
...
@@ -1919,10 +1921,6 @@ extern "C" pthread_handler_decl(handle_shutdown,arg)
...
@@ -1919,10 +1921,6 @@ extern "C" pthread_handler_decl(handle_shutdown,arg)
const
char
*
load_default_groups
[]
=
{
"mysqld"
,
"server"
,
0
};
const
char
*
load_default_groups
[]
=
{
"mysqld"
,
"server"
,
0
};
#ifdef HAVE_LIBWRAP
char
*
libwrapName
=
NULL
;
#endif
bool
open_log
(
MYSQL_LOG
*
log
,
const
char
*
hostname
,
bool
open_log
(
MYSQL_LOG
*
log
,
const
char
*
hostname
,
const
char
*
opt_name
,
const
char
*
extension
,
const
char
*
opt_name
,
const
char
*
extension
,
const
char
*
index_file_name
,
const
char
*
index_file_name
,
...
...
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