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
bf1d6f46
Commit
bf1d6f46
authored
Apr 02, 2012
by
Michael Widenius
Browse files
Options
Browse Files
Download
Plain Diff
automatic merge
parents
4291899f
c1b2b515
Changes
7
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
10 additions
and
7 deletions
+10
-7
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
sql/sql_plugin.cc
sql/sql_plugin.cc
+3
-3
No files found.
cmd-line-utils/libedit/chartype.h
View file @
bf1d6f46
...
...
@@ -49,7 +49,7 @@
TODO : Verify if FreeBSD & AIX stores ISO 10646 in wchar_t. */
#if !defined(__NetBSD__) && !defined(__sun) \
&& !(defined(__APPLE__) && defined(__MACH__)) \
&& !defined(__FreeBSD__) && !defined(_AIX)
&& !defined(__FreeBSD__) && !defined(_AIX)
&& !defined(__OpenBSD__)
#ifndef __STDC_ISO_10646__
/* 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
...
...
cmd-line-utils/libedit/np/unvis.c
View file @
bf1d6f46
...
...
@@ -64,7 +64,7 @@ static char sccsid[] = "@(#)unvis.c 8.1 (Berkeley) 6/4/93";
#include "np/vis.h"
#ifdef __weak_alias
__weak_alias
(
strnunvisx
,
_strnunvisx
)
__weak_alias
(
strnunvisx
,
_strnunvisx
)
;
#endif
#if !HAVE_VIS
...
...
cmd-line-utils/libedit/np/vis.c
View file @
bf1d6f46
...
...
@@ -77,7 +77,7 @@
#include <stdlib.h>
#ifdef __weak_alias
__weak_alias
(
strvisx
,
_strvisx
)
__weak_alias
(
strvisx
,
_strvisx
)
;
#endif
#if !HAVE_VIS || !HAVE_SVIS
...
...
mysys/my_getsystime.c
View file @
bf1d6f46
...
...
@@ -124,7 +124,7 @@ void my_time_init()
ulonglong
my_getcputime
()
{
#ifdef
HAVE_CLOCK_GETTIME
#ifdef
CLOCK_THREAD_CPUTIME_ID
struct
timespec
tp
;
if
(
clock_gettime
(
CLOCK_THREAD_CPUTIME_ID
,
&
tp
))
return
0
;
...
...
plugin/handler_socket/handlersocket/hstcpsvr_worker.cpp
View file @
bf1d6f46
...
...
@@ -7,6 +7,7 @@
*/
#include <my_config.h>
#include <sys/types.h>
#include <netinet/in.h>
#include <errno.h>
#include <poll.h>
...
...
sql/mysqld.cc
View file @
bf1d6f46
...
...
@@ -2678,6 +2678,7 @@ static void init_signals(void)
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
))
{
sa
.
sa_flags
=
SA_RESETHAND
|
SA_NODEFER
;
...
...
@@ -2700,6 +2701,7 @@ static void init_signals(void)
sigaction
(
SIGILL
,
&
sa
,
NULL
);
sigaction
(
SIGFPE
,
&
sa
,
NULL
);
}
#endif
#ifdef HAVE_GETRLIMIT
if
(
test_flags
&
TEST_CORE_ON_SIGNAL
)
...
...
sql/sql_plugin.cc
View file @
bf1d6f46
...
...
@@ -2203,7 +2203,7 @@ static int check_func_bool(THD *thd, struct st_mysql_sys_var *var,
{
if
(
value
->
val_int
(
value
,
&
tmp
)
<
0
)
goto
err
;
if
(
tmp
>
1
)
if
(
tmp
!=
0
&&
tmp
!=
1
)
{
llstr
(
tmp
,
buff
);
strvalue
=
buff
;
...
...
@@ -2211,7 +2211,7 @@ static int check_func_bool(THD *thd, struct st_mysql_sys_var *var,
}
result
=
(
int
)
tmp
;
}
*
(
my_bool
*
)
save
=
-
result
;
*
(
my_bool
*
)
save
=
result
?
1
:
0
;
return
0
;
err:
my_error
(
ER_WRONG_VALUE_FOR_VAR
,
MYF
(
0
),
var
->
name
,
strvalue
);
...
...
@@ -2392,7 +2392,7 @@ static int check_func_set(THD *thd, struct st_mysql_sys_var *var,
static
void
update_func_bool
(
THD
*
thd
,
struct
st_mysql_sys_var
*
var
,
void
*
tgt
,
const
void
*
save
)
{
*
(
my_bool
*
)
tgt
=
*
(
my_bool
*
)
save
?
TRUE
:
FALSE
;
*
(
my_bool
*
)
tgt
=
*
(
my_bool
*
)
save
?
1
:
0
;
}
...
...
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