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
1b2acc5b
Commit
1b2acc5b
authored
Aug 25, 2021
by
Marko Mäkelä
Browse files
Options
Browse Files
Download
Plain Diff
Merge 10.4 into 10.5
parents
2c9f2a4c
e696e9e6
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
10 additions
and
9 deletions
+10
-9
cmake/package_name.cmake
cmake/package_name.cmake
+5
-1
mysql-test/suite/innodb_gis/disabled.def
mysql-test/suite/innodb_gis/disabled.def
+2
-0
storage/innobase/trx/trx0purge.cc
storage/innobase/trx/trx0purge.cc
+3
-2
storage/maria/ma_rt_test.c
storage/maria/ma_rt_test.c
+0
-3
storage/myisam/rt_test.c
storage/myisam/rt_test.c
+0
-3
No files found.
cmake/package_name.cmake
View file @
1b2acc5b
...
@@ -110,7 +110,11 @@ IF(NOT VERSION)
...
@@ -110,7 +110,11 @@ IF(NOT VERSION)
SET
(
DEFAULT_MACHINE
"x86"
)
SET
(
DEFAULT_MACHINE
"x86"
)
ENDIF
()
ENDIF
()
ENDIF
()
ENDIF
()
IF
(
NOT DEFAULT_MACHINE MATCHES
"64"
AND 64BIT
)
SET
(
DEFAULT_MACHINE
"
${
DEFAULT_MACHINE
}
-64bit"
)
ENDIF
()
IF
(
NOT PLATFORM
)
IF
(
NOT PLATFORM
)
SET
(
PLATFORM
${
DEFAULT_PLATFORM
}
)
SET
(
PLATFORM
${
DEFAULT_PLATFORM
}
)
ENDIF
()
ENDIF
()
...
...
mysql-test/suite/innodb_gis/disabled.def
View file @
1b2acc5b
...
@@ -10,3 +10,5 @@
...
@@ -10,3 +10,5 @@
#
#
##############################################################################
##############################################################################
rtree_concurrent_srch : MDEV-15284 COUNT(*) mismatch
rtree_recovery : MDEV-15284 COUNT(*) mismatch
storage/innobase/trx/trx0purge.cc
View file @
1b2acc5b
...
@@ -871,14 +871,15 @@ static void trx_purge_rseg_get_next_history_log(
...
@@ -871,14 +871,15 @@ static void trx_purge_rseg_get_next_history_log(
trx_no
=
mach_read_from_8
(
log_hdr
+
TRX_UNDO_TRX_NO
);
trx_no
=
mach_read_from_8
(
log_hdr
+
TRX_UNDO_TRX_NO
);
ut_ad
(
mach_read_from_2
(
log_hdr
+
TRX_UNDO_NEEDS_PURGE
)
<=
1
);
ut_ad
(
mach_read_from_2
(
log_hdr
+
TRX_UNDO_NEEDS_PURGE
)
<=
1
);
const
byte
needs_purge
=
log_hdr
[
TRX_UNDO_NEEDS_PURGE
+
1
];
mtr
_commit
(
&
mtr
);
mtr
.
commit
(
);
mutex_enter
(
&
purge_sys
.
rseg
->
mutex
);
mutex_enter
(
&
purge_sys
.
rseg
->
mutex
);
purge_sys
.
rseg
->
last_page_no
=
prev_log_addr
.
page
;
purge_sys
.
rseg
->
last_page_no
=
prev_log_addr
.
page
;
purge_sys
.
rseg
->
set_last_commit
(
prev_log_addr
.
boffset
,
trx_no
);
purge_sys
.
rseg
->
set_last_commit
(
prev_log_addr
.
boffset
,
trx_no
);
purge_sys
.
rseg
->
needs_purge
=
log_hdr
[
TRX_UNDO_NEEDS_PURGE
+
1
]
!=
0
;
purge_sys
.
rseg
->
needs_purge
=
needs_purge
!=
0
;
/* Purge can also produce events, however these are already ordered
/* Purge can also produce events, however these are already ordered
in the rollback segment and any user generated event will be greater
in the rollback segment and any user generated event will be greater
...
...
storage/maria/ma_rt_test.c
View file @
1b2acc5b
...
@@ -133,7 +133,6 @@ static int run_test(const char *filename)
...
@@ -133,7 +133,6 @@ static int run_test(const char *filename)
int
key_length
=
8
;
int
key_length
=
8
;
int
null_fields
=
0
;
int
null_fields
=
0
;
int
nrecords
=
sizeof
(
rt_data
)
/
(
sizeof
(
double
)
*
4
);
/* 40 */
int
nrecords
=
sizeof
(
rt_data
)
/
(
sizeof
(
double
)
*
4
);
/* 40 */
int
rec_length
=
0
;
int
uniques
=
0
;
int
uniques
=
0
;
int
i
,
max_i
;
int
i
,
max_i
;
int
error
;
int
error
;
...
@@ -154,7 +153,6 @@ static int run_test(const char *filename)
...
@@ -154,7 +153,6 @@ static int run_test(const char *filename)
recinfo
[
0
].
type
=
FIELD_NORMAL
;
recinfo
[
0
].
type
=
FIELD_NORMAL
;
recinfo
[
0
].
length
=
1
;
/* For NULL bits */
recinfo
[
0
].
length
=
1
;
/* For NULL bits */
rec_length
=
1
;
/* Define 2*ndims columns for coordinates*/
/* Define 2*ndims columns for coordinates*/
...
@@ -162,7 +160,6 @@ static int run_test(const char *filename)
...
@@ -162,7 +160,6 @@ static int run_test(const char *filename)
{
{
recinfo
[
i
].
type
=
FIELD_NORMAL
;
recinfo
[
i
].
type
=
FIELD_NORMAL
;
recinfo
[
i
].
length
=
key_length
;
recinfo
[
i
].
length
=
key_length
;
rec_length
+=
key_length
;
}
}
/* Define a key with 2*ndims segments */
/* Define a key with 2*ndims segments */
...
...
storage/myisam/rt_test.c
View file @
1b2acc5b
...
@@ -104,7 +104,6 @@ static int run_test(const char *filename)
...
@@ -104,7 +104,6 @@ static int run_test(const char *filename)
int
key_length
=
8
;
int
key_length
=
8
;
int
null_fields
=
0
;
int
null_fields
=
0
;
int
nrecords
=
sizeof
(
rt_data
)
/
(
sizeof
(
double
)
*
4
);
/* 3000;*/
int
nrecords
=
sizeof
(
rt_data
)
/
(
sizeof
(
double
)
*
4
);
/* 3000;*/
int
rec_length
=
0
;
int
uniques
=
0
;
int
uniques
=
0
;
int
i
,
max_i
;
int
i
,
max_i
;
int
error
;
int
error
;
...
@@ -125,14 +124,12 @@ static int run_test(const char *filename)
...
@@ -125,14 +124,12 @@ static int run_test(const char *filename)
recinfo
[
0
].
type
=
FIELD_NORMAL
;
recinfo
[
0
].
type
=
FIELD_NORMAL
;
recinfo
[
0
].
length
=
1
;
/* For NULL bits */
recinfo
[
0
].
length
=
1
;
/* For NULL bits */
rec_length
=
1
;
/* Define 2*ndims columns for coordinates*/
/* Define 2*ndims columns for coordinates*/
for
(
i
=
1
;
i
<=
2
*
ndims
;
i
++
){
for
(
i
=
1
;
i
<=
2
*
ndims
;
i
++
){
recinfo
[
i
].
type
=
FIELD_NORMAL
;
recinfo
[
i
].
type
=
FIELD_NORMAL
;
recinfo
[
i
].
length
=
key_length
;
recinfo
[
i
].
length
=
key_length
;
rec_length
+=
key_length
;
}
}
/* Define a key with 2*ndims segments */
/* Define a key with 2*ndims segments */
...
...
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