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
058c385e
Commit
058c385e
authored
Jul 23, 2019
by
Marko Mäkelä
Browse files
Options
Browse Files
Download
Plain Diff
Merge 10.1 into 10.2
parents
3bcda8ad
1f498f90
Changes
7
Show whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
12 additions
and
62 deletions
+12
-62
mysql-test/suite/sys_vars/r/sysvars_innodb,32bit,xtradb.rdiff-disabled
...ite/sys_vars/r/sysvars_innodb,32bit,xtradb.rdiff-disabled
+2
-2
mysql-test/suite/sys_vars/r/sysvars_innodb,xtradb.rdiff-disabled
...est/suite/sys_vars/r/sysvars_innodb,xtradb.rdiff-disabled
+2
-2
storage/innobase/ut/ut0crc32.cc
storage/innobase/ut/ut0crc32.cc
+0
-17
storage/innobase/ut/ut0ut.cc
storage/innobase/ut/ut0ut.cc
+3
-12
storage/xtradb/include/univ.i
storage/xtradb/include/univ.i
+2
-2
storage/xtradb/ut/ut0crc32.cc
storage/xtradb/ut/ut0crc32.cc
+0
-16
storage/xtradb/ut/ut0ut.cc
storage/xtradb/ut/ut0ut.cc
+3
-11
No files found.
mysql-test/suite/sys_vars/r/sysvars_innodb,32bit,xtradb.rdiff-disabled
View file @
058c385e
...
...
@@ -1214,8 +1214,8 @@
COMMAND_LINE_ARGUMENT OPTIONAL
VARIABLE_NAME INNODB_VERSION
SESSION_VALUE NULL
-GLOBAL_VALUE 5.6.4
4
+GLOBAL_VALUE 5.6.4
3-84.3
-GLOBAL_VALUE 5.6.4
5
+GLOBAL_VALUE 5.6.4
4-86.0
GLOBAL_VALUE_ORIGIN COMPILE-TIME
DEFAULT_VALUE NULL
VARIABLE_SCOPE GLOBAL
...
...
mysql-test/suite/sys_vars/r/sysvars_innodb,xtradb.rdiff-disabled
View file @
058c385e
...
...
@@ -684,8 +684,8 @@
COMMAND_LINE_ARGUMENT OPTIONAL
VARIABLE_NAME INNODB_VERSION
SESSION_VALUE NULL
-GLOBAL_VALUE 5.6.4
4
+GLOBAL_VALUE 5.6.4
3-84.3
-GLOBAL_VALUE 5.6.4
5
+GLOBAL_VALUE 5.6.4
4-86.0
GLOBAL_VALUE_ORIGIN COMPILE-TIME
DEFAULT_VALUE NULL
VARIABLE_SCOPE GLOBAL
...
...
storage/innobase/ut/ut0crc32.cc
View file @
058c385e
...
...
@@ -716,23 +716,6 @@ ut_crc32_init()
ut_cpuid
(
vend
,
&
model
,
&
family
,
&
stepping
,
&
features_ecx
,
&
features_edx
);
/* Valgrind does not understand the CRC32 instructions:
vex amd64->IR: unhandled instruction bytes: 0xF2 0x48 0xF 0x38 0xF0 0xA
valgrind: Unrecognised instruction at address 0xad3db5.
Your program just tried to execute an instruction that Valgrind
did not recognise. There are two possible reasons for this.
1. Your program has a bug and erroneously jumped to a non-code
location. If you are running Memcheck and you just saw a
warning about a bad jump, it's probably your program's fault.
2. The instruction is legitimate but Valgrind doesn't handle it,
i.e. it's Valgrind's fault. If you think this is the case or
you are not sure, please let us know and we'll try to fix it.
Either way, Valgrind will now raise a SIGILL signal which will
probably kill your program.
*/
if
(
features_ecx
&
1
<<
20
)
{
ut_crc32
=
ut_crc32_hw
;
#ifdef INNODB_BUG_ENDIAN_CRC32
...
...
storage/innobase/ut/ut0ut.cc
View file @
058c385e
/*****************************************************************************
Copyright (c) 1994, 2017, Oracle and/or its affiliates. All Rights Reserved.
Copyright (c) 2017, MariaDB Corporation.
Copyright (c) 2017,
2019,
MariaDB Corporation.
This program is free software; you can redistribute it and/or modify it under
the terms of the GNU General Public License as published by the Free Software
...
...
@@ -154,12 +154,7 @@ ut_time_us(
/*=======*/
uintmax_t
*
tloc
)
/*!< out: us since epoch, if non-NULL */
{
struct
timeval
tv
;
uintmax_t
us
;
ut_gettimeofday
(
&
tv
,
NULL
);
us
=
static_cast
<
uintmax_t
>
(
tv
.
tv_sec
)
*
1000000
+
tv
.
tv_usec
;
uintmax_t
us
=
my_interval_timer
()
/
1000
;
if
(
tloc
!=
NULL
)
{
*
tloc
=
us
;
...
...
@@ -177,11 +172,7 @@ ulint
ut_time_ms
(
void
)
/*============*/
{
struct
timeval
tv
;
ut_gettimeofday
(
&
tv
,
NULL
);
return
((
ulint
)
tv
.
tv_sec
*
1000
+
tv
.
tv_usec
/
1000
);
return
static_cast
<
ulint
>
(
my_interval_timer
()
/
1000000
);
}
/**********************************************************//**
...
...
storage/xtradb/include/univ.i
View file @
058c385e
...
...
@@ -45,10 +45,10 @@ Created 1/20/1994 Heikki Tuuri
#
define
INNODB_VERSION_MAJOR
5
#
define
INNODB_VERSION_MINOR
6
#
define
INNODB_VERSION_BUGFIX
4
3
#
define
INNODB_VERSION_BUGFIX
4
4
#
ifndef
PERCONA_INNODB_VERSION
#
define
PERCONA_INNODB_VERSION
8
4.3
#
define
PERCONA_INNODB_VERSION
8
6.0
#
endif
/* Enable UNIV_LOG_ARCHIVE in XtraDB */
...
...
storage/xtradb/ut/ut0crc32.cc
View file @
058c385e
...
...
@@ -314,22 +314,6 @@ ut_crc32_init()
ut_cpuid
(
vend
,
&
model
,
&
family
,
&
stepping
,
&
features_ecx
,
&
features_edx
);
/* Valgrind does not understand the CRC32 instructions:
vex amd64->IR: unhandled instruction bytes: 0xF2 0x48 0xF 0x38 0xF0 0xA
valgrind: Unrecognised instruction at address 0xad3db5.
Your program just tried to execute an instruction that Valgrind
did not recognise. There are two possible reasons for this.
1. Your program has a bug and erroneously jumped to a non-code
location. If you are running Memcheck and you just saw a
warning about a bad jump, it's probably your program's fault.
2. The instruction is legitimate but Valgrind doesn't handle it,
i.e. it's Valgrind's fault. If you think this is the case or
you are not sure, please let us know and we'll try to fix it.
Either way, Valgrind will now raise a SIGILL signal which will
probably kill your program.
*/
if
((
features_ecx
>>
20
)
&
1
)
{
ut_crc32
=
ut_crc32_sse42
;
ut_crc32_implementation
=
"Using SSE2 crc32 instructions"
;
...
...
storage/xtradb/ut/ut0ut.cc
View file @
058c385e
/*****************************************************************************
Copyright (c) 1994, 2017, Oracle and/or its affiliates. All Rights Reserved.
Copyright (c) 2019, MariaDB Corporation.
This program is free software; you can redistribute it and/or modify it under
the terms of the GNU General Public License as published by the Free Software
...
...
@@ -189,12 +190,7 @@ ut_time_us(
/*=======*/
ullint
*
tloc
)
/*!< out: us since epoch, if non-NULL */
{
struct
timeval
tv
;
ullint
us
;
ut_gettimeofday
(
&
tv
,
NULL
);
us
=
(
ullint
)
tv
.
tv_sec
*
1000000
+
tv
.
tv_usec
;
ullint
us
=
my_interval_timer
()
/
1000
;
if
(
tloc
!=
NULL
)
{
*
tloc
=
us
;
...
...
@@ -213,11 +209,7 @@ ulint
ut_time_ms
(
void
)
/*============*/
{
struct
timeval
tv
;
ut_gettimeofday
(
&
tv
,
NULL
);
return
((
ulint
)
tv
.
tv_sec
*
1000
+
tv
.
tv_usec
/
1000
);
return
static_cast
<
ulint
>
(
my_interval_timer
()
/
1000000
);
}
#endif
/* !UNIV_HOTBACKUP */
...
...
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