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
3dc35ee4
Commit
3dc35ee4
authored
Mar 30, 2012
by
Michael Widenius
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Compatibility fixes by U Orsini
parent
474ee1ee
Changes
6
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
7 additions
and
4 deletions
+7
-4
cmd-line-utils/libedit/chartype.h
cmd-line-utils/libedit/chartype.h
+1
-1
cmd-line-utils/libedit/np/unvis.c
cmd-line-utils/libedit/np/unvis.c
+1
-1
cmd-line-utils/libedit/np/vis.c
cmd-line-utils/libedit/np/vis.c
+1
-1
mysys/my_getsystime.c
mysys/my_getsystime.c
+1
-1
plugin/handler_socket/handlersocket/hstcpsvr_worker.cpp
plugin/handler_socket/handlersocket/hstcpsvr_worker.cpp
+1
-0
sql/mysqld.cc
sql/mysqld.cc
+2
-0
No files found.
cmd-line-utils/libedit/chartype.h
View file @
3dc35ee4
...
@@ -49,7 +49,7 @@
...
@@ -49,7 +49,7 @@
TODO : Verify if FreeBSD & AIX stores ISO 10646 in wchar_t. */
TODO : Verify if FreeBSD & AIX stores ISO 10646 in wchar_t. */
#if !defined(__NetBSD__) && !defined(__sun) \
#if !defined(__NetBSD__) && !defined(__sun) \
&& !(defined(__APPLE__) && defined(__MACH__)) \
&& !(defined(__APPLE__) && defined(__MACH__)) \
&& !defined(__FreeBSD__) && !defined(_AIX)
&& !defined(__FreeBSD__) && !defined(_AIX)
&& !defined(__OpenBSD__)
#ifndef __STDC_ISO_10646__
#ifndef __STDC_ISO_10646__
/* In many places it is assumed that the first 127 code points are ASCII
/* In many places it is assumed that the first 127 code points are ASCII
* compatible, so ensure wchar_t indeed does ISO 10646 and not some other
* compatible, so ensure wchar_t indeed does ISO 10646 and not some other
...
...
cmd-line-utils/libedit/np/unvis.c
View file @
3dc35ee4
...
@@ -64,7 +64,7 @@ static char sccsid[] = "@(#)unvis.c 8.1 (Berkeley) 6/4/93";
...
@@ -64,7 +64,7 @@ static char sccsid[] = "@(#)unvis.c 8.1 (Berkeley) 6/4/93";
#include "np/vis.h"
#include "np/vis.h"
#ifdef __weak_alias
#ifdef __weak_alias
__weak_alias
(
strnunvisx
,
_strnunvisx
)
__weak_alias
(
strnunvisx
,
_strnunvisx
)
;
#endif
#endif
#if !HAVE_VIS
#if !HAVE_VIS
...
...
cmd-line-utils/libedit/np/vis.c
View file @
3dc35ee4
...
@@ -77,7 +77,7 @@
...
@@ -77,7 +77,7 @@
#include <stdlib.h>
#include <stdlib.h>
#ifdef __weak_alias
#ifdef __weak_alias
__weak_alias
(
strvisx
,
_strvisx
)
__weak_alias
(
strvisx
,
_strvisx
)
;
#endif
#endif
#if !HAVE_VIS || !HAVE_SVIS
#if !HAVE_VIS || !HAVE_SVIS
...
...
mysys/my_getsystime.c
View file @
3dc35ee4
...
@@ -124,7 +124,7 @@ void my_time_init()
...
@@ -124,7 +124,7 @@ void my_time_init()
ulonglong
my_getcputime
()
ulonglong
my_getcputime
()
{
{
#ifdef
HAVE_CLOCK_GETTIME
#ifdef
CLOCK_THREAD_CPUTIME_ID
struct
timespec
tp
;
struct
timespec
tp
;
if
(
clock_gettime
(
CLOCK_THREAD_CPUTIME_ID
,
&
tp
))
if
(
clock_gettime
(
CLOCK_THREAD_CPUTIME_ID
,
&
tp
))
return
0
;
return
0
;
...
...
plugin/handler_socket/handlersocket/hstcpsvr_worker.cpp
View file @
3dc35ee4
...
@@ -7,6 +7,7 @@
...
@@ -7,6 +7,7 @@
*/
*/
#include <my_config.h>
#include <my_config.h>
#include <sys/types.h>
#include <netinet/in.h>
#include <netinet/in.h>
#include <errno.h>
#include <errno.h>
#include <poll.h>
#include <poll.h>
...
...
sql/mysqld.cc
View file @
3dc35ee4
...
@@ -2678,6 +2678,7 @@ static void init_signals(void)
...
@@ -2678,6 +2678,7 @@ static void init_signals(void)
my_sigset
(
THR_SERVER_ALARM
,
print_signal_warning
);
// Should never be called!
my_sigset
(
THR_SERVER_ALARM
,
print_signal_warning
);
// Should never be called!
#ifdef HAVE_STACKTRACE
if
(
opt_stack_trace
||
(
test_flags
&
TEST_CORE_ON_SIGNAL
))
if
(
opt_stack_trace
||
(
test_flags
&
TEST_CORE_ON_SIGNAL
))
{
{
sa
.
sa_flags
=
SA_RESETHAND
|
SA_NODEFER
;
sa
.
sa_flags
=
SA_RESETHAND
|
SA_NODEFER
;
...
@@ -2700,6 +2701,7 @@ static void init_signals(void)
...
@@ -2700,6 +2701,7 @@ static void init_signals(void)
sigaction
(
SIGILL
,
&
sa
,
NULL
);
sigaction
(
SIGILL
,
&
sa
,
NULL
);
sigaction
(
SIGFPE
,
&
sa
,
NULL
);
sigaction
(
SIGFPE
,
&
sa
,
NULL
);
}
}
#endif
#ifdef HAVE_GETRLIMIT
#ifdef HAVE_GETRLIMIT
if
(
test_flags
&
TEST_CORE_ON_SIGNAL
)
if
(
test_flags
&
TEST_CORE_ON_SIGNAL
)
...
...
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