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
01ac7455
Commit
01ac7455
authored
Nov 07, 2022
by
Oleksandr Byelkin
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch '10.3' into bb-10.3-release
parents
3303748f
baa6b052
Changes
10
Show whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
56 additions
and
26 deletions
+56
-26
VERSION
VERSION
+1
-1
extra/mariabackup/xtrabackup.cc
extra/mariabackup/xtrabackup.cc
+0
-4
include/my_alarm.h
include/my_alarm.h
+3
-1
man/mysqld_safe.1
man/mysqld_safe.1
+3
-16
mysql-test/suite/mariabackup/full_backup.opt
mysql-test/suite/mariabackup/full_backup.opt
+1
-0
mysql-test/suite/mariabackup/full_backup.result
mysql-test/suite/mariabackup/full_backup.result
+14
-0
mysql-test/suite/mariabackup/full_backup.test
mysql-test/suite/mariabackup/full_backup.test
+24
-0
mysys/my_addr_resolve.c
mysys/my_addr_resolve.c
+1
-1
mysys/my_gethwaddr.c
mysys/my_gethwaddr.c
+7
-1
sql/mysqld.cc
sql/mysqld.cc
+2
-2
No files found.
VERSION
View file @
01ac7455
MYSQL_VERSION_MAJOR=10
MYSQL_VERSION_MINOR=3
MYSQL_VERSION_PATCH=3
7
MYSQL_VERSION_PATCH=3
8
SERVER_MATURITY=stable
extra/mariabackup/xtrabackup.cc
View file @
01ac7455
...
...
@@ -3578,10 +3578,6 @@ static dberr_t xb_assign_undo_space_start()
ulint
space
;
int
n_retries
=
5
;
if
(
srv_undo_tablespaces
==
0
)
{
return
error
;
}
file
=
os_file_create
(
0
,
srv_sys_space
.
first_datafile
()
->
filepath
(),
OS_FILE_OPEN
,
OS_FILE_NORMAL
,
OS_DATA_FILE
,
true
,
&
ret
);
...
...
include/my_alarm.h
View file @
01ac7455
...
...
@@ -31,7 +31,9 @@ extern ulong my_time_to_wait_for_lock;
#include <signal.h>
#ifdef HAVE_SIGHANDLER_T
#define sig_return sighandler_t
#elif defined(SOLARIS) || defined(__sun) || defined(__APPLE__)
#elif defined(SOLARIS) || defined(__sun) || defined(__APPLE__) || \
defined(__FreeBSD__) || defined(__NetBSD__) || defined(__OpenBSD__) || \
defined(__DragonFly__)
typedef
void
(
*
sig_return
)(
int
);
/* Returns type from signal */
#else
typedef
void
(
*
sig_return
)(
void
);
/* Returns type from signal */
...
...
man/mysqld_safe.1
View file @
01ac7455
...
...
@@ -340,7 +340,9 @@ program to set the server\'s scheduling priority to the given value\&.
.\}
.\" mysqld_safe: no-auto-restart option
.\" no-auto-restart option: mysqld_safe
\fB\-\-no\-auto\-restart\fR
\fB\-\-no\-auto\-restart\fR,
\fB\-\-nowatch\fR,
\fB\-\-no\-watch\fR
.sp
Exit after starting mysqld\&.
.RE
...
...
@@ -368,21 +370,6 @@ Do not read any option files\&. This must be the first option on the command lin
.sp -1
.IP \(bu 2.3
.\}
.\" mysqld_safe: no-watch option
.\" no-watch option: mysqld_safe
\fB\-\-no\-auto\-restart\fR
.sp
Exit after starting mysqld\&.
.RE
.sp
.RS 4
.ie n \{\
\h'-04'\(bu\h'+03'\c
.\}
.el \{\
.sp -1
.IP \(bu 2.3
.\}
.\" mysqld_safe: numa-interleave option
.\" numa-interleave option: mysqld_safe
\fB\-\-numa\-interleave\fR
...
...
mysql-test/suite/mariabackup/full_backup.opt
0 → 100644
View file @
01ac7455
--innodb_undo_tablespaces=2
mysql-test/suite/mariabackup/full_backup.result
View file @
01ac7455
...
...
@@ -12,3 +12,17 @@ SELECT * FROM t;
i
1
DROP TABLE t;
#
# MDEV-27121 mariabackup incompatible with disabled dedicated
# undo log tablespaces
#
call mtr.add_suppression("InnoDB: innodb_undo_tablespaces=0 disables dedicated undo log tablespaces");
# xtrabackup backup
# xtrabackup prepare
# shutdown server
# remove datadir
# xtrabackup move back
# restart server
# Display undo log files from target directory
undo001
undo002
mysql-test/suite/mariabackup/full_backup.test
View file @
01ac7455
...
...
@@ -29,3 +29,27 @@ SELECT * FROM t;
DROP
TABLE
t
;
rmdir
$targetdir
;
--
echo
#
--
echo
# MDEV-27121 mariabackup incompatible with disabled dedicated
--
echo
# undo log tablespaces
--
echo
#
call
mtr
.
add_suppression
(
"InnoDB: innodb_undo_tablespaces=0 disables dedicated undo log tablespaces"
);
let
$restart_parameters
=--
innodb_undo_tablespaces
=
0
;
--
source
include
/
restart_mysqld
.
inc
echo
# xtrabackup backup;
--
disable_result_log
exec
$XTRABACKUP
--
defaults
-
file
=
$MYSQLTEST_VARDIR
/
my
.
cnf
--
backup
--
target
-
dir
=
$targetdir
;
--
enable_result_log
echo
# xtrabackup prepare;
--
disable_result_log
exec
$XTRABACKUP
--
prepare
--
target
-
dir
=
$targetdir
;
--
source
include
/
restart_and_restore
.
inc
--
enable_result_log
--
echo
# Display undo log files from target directory
list_files
$targetdir
undo
*
;
rmdir
$targetdir
;
mysys/my_addr_resolve.c
View file @
01ac7455
...
...
@@ -202,7 +202,7 @@ int start_addr2line_fork(const char *binary_path)
close
(
out
[
0
]);
close
(
out
[
1
]);
execlp
(
"addr2line"
,
"addr2line"
,
"-C"
,
"-f"
,
"-e"
,
binary_path
,
NULL
);
exit
(
1
);
_
exit
(
1
);
}
close
(
in
[
0
]);
...
...
mysys/my_gethwaddr.c
View file @
01ac7455
...
...
@@ -33,8 +33,14 @@ static my_bool memcpy_and_test(uchar *to, uchar *from, uint len)
return
res
;
}
#if defined(__APPLE__) || defined(__FreeBSD__)
#if defined(__APPLE__) || defined(__FreeBSD__) || defined(__OpenBSD__)
#ifdef __OpenBSD__
#include <netinet/in.h>
#include <net/if_arp.h>
#include <netinet/if_ether.h>
#else
#include <net/ethernet.h>
#endif
#include <sys/sysctl.h>
#include <net/route.h>
#include <net/if.h>
...
...
sql/mysqld.cc
View file @
01ac7455
...
...
@@ -4580,8 +4580,8 @@ static int init_common_variables()
files
=
my_set_max_open_files
(
max_open_files
);
SYSVAR_AUTOSIZE_IF_CHANGED
(
open_files_limit
,
files
,
ulong
);
if
(
files
<
wanted
_files
&&
global_system_variables
.
log_warnings
)
sql_print_warning
(
"Could not increase number of max_open_files to more than %u (request: %u)"
,
files
,
wanted
_files
);
if
(
files
<
max_open
_files
&&
global_system_variables
.
log_warnings
)
sql_print_warning
(
"Could not increase number of max_open_files to more than %u (request: %u)"
,
files
,
max_open
_files
);
/* If we required too much tc_instances than we reduce */
SYSVAR_AUTOSIZE_IF_CHANGED
(
tc_instances
,
...
...
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