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
60b039a8
Commit
60b039a8
authored
Sep 20, 2023
by
Marko Mäkelä
Browse files
Options
Browse Files
Download
Plain Diff
Merge 10.5 into 10.6
parents
2fdacdcd
8513f8f1
Changes
8
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
23 additions
and
38 deletions
+23
-38
libmysqld/lib_sql.cc
libmysqld/lib_sql.cc
+1
-1
mysql-test/main/innodb_ext_key,off.rdiff
mysql-test/main/innodb_ext_key,off.rdiff
+4
-4
mysql-test/main/innodb_ext_key.result
mysql-test/main/innodb_ext_key.result
+2
-2
mysql-test/main/innodb_ext_key.test
mysql-test/main/innodb_ext_key.test
+2
-2
mysql-test/suite/gcol/disabled.def
mysql-test/suite/gcol/disabled.def
+12
-0
storage/innobase/include/ut0byte.h
storage/innobase/include/ut0byte.h
+0
-10
storage/innobase/include/ut0byte.inl
storage/innobase/include/ut0byte.inl
+0
-19
storage/mroonga/ha_mroonga.cpp
storage/mroonga/ha_mroonga.cpp
+2
-0
No files found.
libmysqld/lib_sql.cc
View file @
60b039a8
...
...
@@ -1046,7 +1046,7 @@ class Client_field_extension: public Sql_alloc,
public:
Client_field_extension
()
{
memset
(
this
,
0
,
sizeof
(
*
this
));
memset
(
(
void
*
)
this
,
0
,
sizeof
(
*
this
));
}
void
copy_extended_metadata
(
MEM_ROOT
*
memroot
,
const
Send_field_extended_metadata
&
src
)
...
...
mysql-test/main/innodb_ext_key,off.rdiff
View file @
60b039a8
--- innodb_ext_key.result
+++
innodb_ext_key,off.resul
t
---
main/
innodb_ext_key.result
+++
main/innodb_ext_key,off.rejec
t
@@ -9,7 +9,7 @@
explain
select count(*) from lineitem where l_orderkey=130 and l_shipdate='1992-07-01';
...
...
@@ -230,14 +230,14 @@
Handler_read_retry 0
Handler_read_rnd 0
@@ -314,8 +314,8 @@
select * from t0, part ignore index (primary)
select
straight_join
* from t0, part ignore index (primary)
where p_partkey=t0.a and p_size=1;
id select_type table type possible_keys key key_len ref rows Extra
-1 SIMPLE t0 ALL NULL NULL NULL NULL 5 Using where
-1 SIMPLE part eq_ref i_p_size i_p_size 9 const,dbt3_s001.t0.a 1
+1 SIMPLE t0 ALL NULL NULL NULL NULL 5
+1 SIMPLE part ref i_p_size i_p_size 5 const 5 Using index condition
select * from t0, part ignore index (primary)
select
straight_join
* from t0, part ignore index (primary)
where p_partkey=t0.a and p_size=1;
a p_partkey p_name p_mfgr p_brand p_type p_size p_container p_retailprice p_comment
@@ -494,7 +494,7 @@
...
...
mysql-test/main/innodb_ext_key.result
View file @
60b039a8
...
...
@@ -311,12 +311,12 @@ create table t0 (a int);
insert into t0 values (1), (2), (3), (4), (5);
create index i_p_size on part(p_size);
explain
select * from t0, part ignore index (primary)
select
straight_join
* from t0, part ignore index (primary)
where p_partkey=t0.a and p_size=1;
id select_type table type possible_keys key key_len ref rows Extra
1 SIMPLE t0 ALL NULL NULL NULL NULL 5 Using where
1 SIMPLE part eq_ref i_p_size i_p_size 9 const,dbt3_s001.t0.a 1
select * from t0, part ignore index (primary)
select
straight_join
* from t0, part ignore index (primary)
where p_partkey=t0.a and p_size=1;
a p_partkey p_name p_mfgr p_brand p_type p_size p_container p_retailprice p_comment
2 2 blush rosy metallic lemon navajo Manufacturer#1 Brand#13 LARGE BRUSHED BRASS 1 LG CASE 902 final platelets hang f
...
...
mysql-test/main/innodb_ext_key.test
View file @
60b039a8
...
...
@@ -162,10 +162,10 @@ insert into t0 values (1), (2), (3), (4), (5);
create
index
i_p_size
on
part
(
p_size
);
explain
select
*
from
t0
,
part
ignore
index
(
primary
)
select
straight_join
*
from
t0
,
part
ignore
index
(
primary
)
where
p_partkey
=
t0
.
a
and
p_size
=
1
;
select
*
from
t0
,
part
ignore
index
(
primary
)
select
straight_join
*
from
t0
,
part
ignore
index
(
primary
)
where
p_partkey
=
t0
.
a
and
p_size
=
1
;
drop
table
t0
;
...
...
mysql-test/suite/gcol/disabled.def
0 → 100644
View file @
60b039a8
##############################################################################
#
# List the test cases that are to be disabled temporarily.
#
# Separate the test case name and the comment with ':'.
#
# <testcasename> : BUG#<xxxx> <date disabled> <disabler> <comment>
#
# Do not use any TAB characters for whitespace.
#
##############################################################################
gcol.innodb_virtual_fk: MDEV-29181 Constant failures "InnoDB: tried to purge non-delete-marked record in index"
storage/innobase/include/ut0byte.h
View file @
60b039a8
...
...
@@ -101,16 +101,6 @@ ut_bit_get_nth(
/*===========*/
ulint
a
,
/*!< in: ulint */
ulint
n
);
/*!< in: nth bit requested */
/*****************************************************************//**
Sets the nth bit of a ulint.
@return the ulint with the bit set as requested */
UNIV_INLINE
ulint
ut_bit_set_nth
(
/*===========*/
ulint
a
,
/*!< in: ulint */
ulint
n
,
/*!< in: nth bit requested */
ibool
val
);
/*!< in: value for the bit to set */
#include "ut0byte.inl"
...
...
storage/innobase/include/ut0byte.inl
View file @
60b039a8
...
...
@@ -88,22 +88,3 @@ ut_bit_get_nth(
ut_ad(n < 8 * sizeof(ulint));
return(1 & (a >> n));
}
/*****************************************************************//**
Sets the nth bit of a ulint.
@return the ulint with the bit set as requested */
UNIV_INLINE
ulint
ut_bit_set_nth(
/*===========*/
ulint a, /*!< in: ulint */
ulint n, /*!< in: nth bit requested */
ibool val) /*!< in: value for the bit to set */
{
ut_ad(n < 8 * sizeof(ulint));
if (val) {
return(((ulint) 1 << n) | a);
} else {
return(~((ulint) 1 << n) & a);
}
}
storage/mroonga/ha_mroonga.cpp
View file @
60b039a8
...
...
@@ -14629,7 +14629,9 @@ enum_alter_inplace_result ha_mroonga::storage_check_if_supported_inplace_alter(
MRN_ALTER_INPLACE_INFO_ADD_VIRTUAL_COLUMN
|
MRN_ALTER_INPLACE_INFO_ADD_STORED_BASE_COLUMN
|
ALTER_DROP_COLUMN
|
ALTER_INDEX_ORDER
|
ALTER_COLUMN_NAME
;
;
if
(
ha_alter_info
->
handler_flags
&
explicitly_unsupported_flags
)
{
DBUG_RETURN
(
HA_ALTER_INPLACE_NOT_SUPPORTED
);
}
else
if
((
ha_alter_info
->
handler_flags
&
supported_flags
)
==
...
...
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