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
29c3debd
Commit
29c3debd
authored
Oct 19, 2011
by
Vladislav Vaintroub
Browse files
Options
Browse Files
Download
Plain Diff
merge 5.2
parents
9f79d2f9
aa327cdd
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
10 additions
and
5 deletions
+10
-5
mysys/my_gethwaddr.c
mysys/my_gethwaddr.c
+3
-0
mysys/my_getopt.c
mysys/my_getopt.c
+4
-2
plugin/feedback/url_http.cc
plugin/feedback/url_http.cc
+1
-1
sql/mysqld.cc
sql/mysqld.cc
+2
-2
No files found.
mysys/my_gethwaddr.c
View file @
29c3debd
...
...
@@ -151,7 +151,10 @@ my_bool my_gethwaddr(uchar *to)
{
if
(
info
->
Type
==
MIB_IF_TYPE_ETHERNET
&&
info
->
AddressLength
==
ETHER_ADDR_LEN
)
{
res
=
memcpy_and_test
(
to
,
info
->
Address
,
ETHER_ADDR_LEN
);
}
info
=
info
->
Next
;
}
err:
...
...
mysys/my_getopt.c
View file @
29c3debd
...
...
@@ -396,10 +396,12 @@ int handle_options(int *argc, char ***argv,
*/
(
*
argc
)
--
;
if
(
!
optend
||
*
optend
==
'1'
||
!
my_strcasecmp
(
&
my_charset_latin1
,
optend
,
"true"
))
!
my_strcasecmp
(
&
my_charset_latin1
,
optend
,
"true"
)
||
!
my_strcasecmp
(
&
my_charset_latin1
,
optend
,
"on"
))
*
((
my_bool
*
)
value
)
=
(
my_bool
)
1
;
else
if
(
*
optend
==
'0'
||
!
my_strcasecmp
(
&
my_charset_latin1
,
optend
,
"false"
))
!
my_strcasecmp
(
&
my_charset_latin1
,
optend
,
"false"
)
||
!
my_strcasecmp
(
&
my_charset_latin1
,
optend
,
"off"
))
*
((
my_bool
*
)
value
)
=
(
my_bool
)
0
;
else
{
...
...
plugin/feedback/url_http.cc
View file @
29c3debd
...
...
@@ -198,7 +198,7 @@ int Url_http::send(const char* data, size_t data_length)
}
#ifdef HAVE_OPENSSL
struct
st_VioSSLFd
*
ssl_fd
;
struct
st_VioSSLFd
*
UNINIT_VAR
(
ssl_fd
)
;
if
(
ssl
)
{
buf
[
0
]
=
0
;
...
...
sql/mysqld.cc
View file @
29c3debd
...
...
@@ -6439,8 +6439,8 @@ struct my_option my_long_options[] =
&
opt_debugging
,
&
opt_debugging
,
0
,
GET_BOOL
,
NO_ARG
,
0
,
0
,
0
,
0
,
0
,
0
},
{
"general_log"
,
OPT_GENERAL_LOG
,
"Enable/disable general log. Filename can be specified with --general-log-file or --log-basename. Is 'hostname.
err
' by default."
,
&
opt_log
,
&
opt_log
,
0
,
GET_BOOL
,
OPT
_ARG
,
0
,
0
,
0
,
0
,
0
,
0
},
"Enable/disable general log. Filename can be specified with --general-log-file or --log-basename. Is 'hostname.
log
' by default."
,
&
opt_log
,
&
opt_log
,
0
,
GET_BOOL
,
NO
_ARG
,
0
,
0
,
0
,
0
,
0
,
0
},
#ifdef HAVE_LARGE_PAGES
{
"large-pages"
,
OPT_ENABLE_LARGE_PAGES
,
"Enable support for large pages. "
"Disable with --skip-large-pages."
,
&
opt_large_pages
,
&
opt_large_pages
,
...
...
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