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
01664260
Commit
01664260
authored
Feb 25, 2003
by
unknown
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
1f4fed8a
01e32fd0
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 @
01664260
...
...
@@ -525,3 +525,6 @@ vio/viotest-ssl
extra/mysql_waitpid
support-files/MacOSX/Description.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 @
01664260
...
...
@@ -3,7 +3,7 @@
path
=
`
dirname
$0
`
.
"
$path
/SETUP.sh"
extra_flags
=
"
$pentium_cflags
$debug_cflags
"
extra_flags
=
"
$pentium_cflags
$debug_cflags
-DBIG_TABLES
"
c_warnings
=
"
$c_warnings
$debug_extra_warnings
"
cxx_warnings
=
"
$cxx_warnings
$debug_extra_warnings
"
extra_configs
=
"
$pentium_configs
$debug_configs
"
...
...
include/my_pthread.h
View file @
01664260
...
...
@@ -443,6 +443,11 @@ int my_pthread_cond_timedwait(pthread_cond_t *cond, pthread_mutex_t *mutex,
struct
timespec
*
abstime
);
#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)
#undef pthread_mutex_trylock
#define pthread_mutex_trylock(a) my_pthread_mutex_trylock((a))
...
...
mysys/my_pthread.c
View file @
01664260
/* Copyright (C) 2000 MySQL AB
/* Copyright (C) 2000
-2003
MySQL AB
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
...
...
@@ -393,6 +393,7 @@ int pthread_signal(int sig, void (*func)())
#undef pthread_cond_wait
#undef pthread_cond_timedwait
#undef pthread_cond_t
#undef pthread_attr_getstacksize
/*****************************************************************************
** 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,
}
#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
/*
...
...
sql/mysqld.cc
View file @
01664260
...
...
@@ -264,6 +264,9 @@ bool opt_large_files= sizeof(my_off_t) > 4;
#define GET_HA_ROWS GET_ULONG
#endif
#ifdef HAVE_LIBWRAP
char
*
libwrapName
=
NULL
;
#endif
/*
Variables to store startup options
...
...
@@ -1855,14 +1858,13 @@ struct utsname
char
nodename
[
FN_REFLEN
];
};
int
uname
(
struct
utsname
*
a
)
{
return
-
1
;
}
#endif
#ifdef __WIN__
extern
"C"
pthread_handler_decl
(
handle_shutdown
,
arg
)
{
MSG
msg
;
...
...
@@ -1878,7 +1880,7 @@ extern "C" pthread_handler_decl(handle_shutdown,arg)
return
0
;
}
int
__stdcall
handle_kill
(
ulong
ctrl_type
)
int
STDCALL
handle_kill
(
ulong
ctrl_type
)
{
if
(
ctrl_type
==
CTRL_CLOSE_EVENT
||
ctrl_type
==
CTRL_SHUTDOWN_EVENT
)
...
...
@@ -1919,10 +1921,6 @@ extern "C" pthread_handler_decl(handle_shutdown,arg)
const
char
*
load_default_groups
[]
=
{
"mysqld"
,
"server"
,
0
};
#ifdef HAVE_LIBWRAP
char
*
libwrapName
=
NULL
;
#endif
bool
open_log
(
MYSQL_LOG
*
log
,
const
char
*
hostname
,
const
char
*
opt_name
,
const
char
*
extension
,
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