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
8d9c2561
Commit
8d9c2561
authored
Apr 05, 2022
by
Marko Mäkelä
Browse files
Options
Browse Files
Download
Plain Diff
Merge 10.5 into 10.6
parents
8c919330
6a3545dd
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
5 additions
and
9 deletions
+5
-9
mysql-test/suite/mariabackup/binlog.result
mysql-test/suite/mariabackup/binlog.result
+1
-1
mysql-test/suite/mariabackup/binlog.test
mysql-test/suite/mariabackup/binlog.test
+1
-1
storage/innobase/include/univ.i
storage/innobase/include/univ.i
+1
-4
storage/innobase/srv/srv0start.cc
storage/innobase/srv/srv0start.cc
+2
-3
No files found.
mysql-test/suite/mariabackup/binlog.result
View file @
8d9c2561
...
...
@@ -3,6 +3,6 @@ INSERT INTO t VALUES(1);
SHOW VARIABLES like 'log_bin';
Variable_name Value
log_bin ON
FOUND 1 /Last binlog file .
*, position .*
/ in current_test
FOUND 1 /Last binlog file .
+, position \d+
/ in current_test
# expect FOUND
DROP TABLE t;
mysql-test/suite/mariabackup/binlog.test
View file @
8d9c2561
...
...
@@ -15,7 +15,7 @@ exec $XTRABACKUP --defaults-file=$MYSQLTEST_VARDIR/my.cnf --backup --target-dir
exec
$XTRABACKUP
--
prepare
--
binlog
-
info
=
1
--
target
-
dir
=
$basedir
;
let
SEARCH_FILE
=
$MYSQLTEST_VARDIR
/
log
/
current_test
;
--
let
SEARCH_PATTERN
=
Last
binlog
file
.
*
,
position
.*
--
let
SEARCH_PATTERN
=
Last
binlog
file
.
+
,
position
\d
+
--
source
include
/
search_pattern_in_file
.
inc
--
echo
# expect FOUND
...
...
storage/innobase/include/univ.i
View file @
8d9c2561
...
...
@@ -363,22 +363,19 @@ typedef ssize_t lint;
#
ifdef
_WIN32
/* Use the integer types and formatting strings defined in Visual Studio. */
#
define
UINT32PF
"%u"
#
define
INT64PF
"%lld"
#
define
UINT64scan
"llu"
#
define
UINT64PFx
"%016llx"
#
elif
defined
__APPLE__
/* Apple prefers to call the 64-bit types 'long long'
in both 32-bit and 64-bit environments. */
#
define
UINT32PF
"%"
PRIu32
#
define
INT64PF
"%lld"
#
define
UINT64scan
"llu"
#
define
UINT64PFx
"%016llx"
#
elif
defined
_AIX
/* Workaround for macros expension trouble */
#
define
UINT32PF
"%u"
#
define
INT64PF
"%lld"
#
define
UINT64scan
"lu"
#
define
UINT64PFx
"%016l
l
x"
#
define
UINT64PFx
"%016lx"
#
else
/* Use the integer types and formatting strings defined in the C99 standard. */
#
define
UINT32PF
"%"
PRIu32
...
...
storage/innobase/srv/srv0start.cc
View file @
8d9c2561
...
...
@@ -1461,10 +1461,9 @@ dberr_t srv_start(bool create_new_db)
if
(
err
!=
DB_SUCCESS
)
{
return
srv_init_abort
(
err
);
}
if
(
srv_operation
=
=
SRV_OPERATION_RESTORE
)
{
break
;
if
(
srv_operation
!
=
SRV_OPERATION_RESTORE
)
{
dict_sys
.
load_sys_tables
()
;
}
dict_sys
.
load_sys_tables
();
err
=
trx_lists_init_at_db_start
();
if
(
err
!=
DB_SUCCESS
)
{
return
srv_init_abort
(
err
);
...
...
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