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
5a00792c
Commit
5a00792c
authored
Nov 29, 2019
by
Marko Mäkelä
Browse files
Options
Browse Files
Download
Plain Diff
Merge 10.4 into 10.5
parents
51a4260f
7955e197
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
12 additions
and
17 deletions
+12
-17
mysql-test/suite/galera_sr/disabled.def
mysql-test/suite/galera_sr/disabled.def
+3
-0
sql/wsrep_mysqld.cc
sql/wsrep_mysqld.cc
+4
-4
storage/innobase/handler/handler0alter.cc
storage/innobase/handler/handler0alter.cc
+5
-10
storage/innobase/include/dict0mem.h
storage/innobase/include/dict0mem.h
+0
-3
No files found.
mysql-test/suite/galera_sr/disabled.def
View file @
5a00792c
galera_sr_table_contents : missing file
GCF-437 : test relies on InnoDB redo log size limitation
GCF-1060 : MDEV-20848 Galera test failure on galera_sr.GCF_1060
galera_sr_ddl_master : MDEV-20780 Galera test failure on galera_sr.galera_sr_ddl_master
GCF-1043A : MDEV-21170 Galera test failure on galera_sr.GCF-1043A
sql/wsrep_mysqld.cc
View file @
5a00792c
...
...
@@ -550,11 +550,11 @@ static std::string wsrep_server_incoming_address()
{
if
(
node_addr
.
size
())
{
size_t
const
ip_len
=
wsrep_host_len
(
node_addr
.
c_str
(),
node_addr
.
size
());
if
(
ip_len
+
7
/* :55555\0 */
<
inc_addr_max
)
size_t
const
ip_len
_mdb
=
wsrep_host_len
(
node_addr
.
c_str
(),
node_addr
.
size
());
if
(
ip_len
_mdb
+
7
/* :55555\0 */
<
inc_addr_max
)
{
memcpy
(
inc_addr
,
node_addr
.
c_str
(),
ip_len
);
snprintf
(
inc_addr
+
ip_len
,
inc_addr_max
-
ip_len
,
":%u"
,
memcpy
(
inc_addr
,
node_addr
.
c_str
(),
ip_len
_mdb
);
snprintf
(
inc_addr
+
ip_len
_mdb
,
inc_addr_max
-
ip_len_mdb
,
":%u"
,
(
int
)
mysqld_port
);
}
else
...
...
storage/innobase/handler/handler0alter.cc
View file @
5a00792c
...
...
@@ -165,10 +165,7 @@ static void instant_metadata_lock(dict_index_t& index, mtr_t& mtr)
}
/** Initialize instant->field_map.
@tparam replace_dropped whether to point clustered index fields
to instant->dropped[]
@param[in] table table definition to copy from */
template
<
bool
replace_dropped
>
inline
void
dict_table_t
::
init_instant
(
const
dict_table_t
&
table
)
{
const
dict_index_t
&
oindex
__attribute__
((
unused
))
=
*
table
.
indexes
.
start
;
...
...
@@ -209,13 +206,11 @@ inline void dict_table_t::init_instant(const dict_table_t& table)
ut_ad
(
f
.
col
<
table
.
instant
->
dropped
+
table
.
instant
->
n_dropped
);
ut_d
(
n_drop
++
);
if
(
replace_dropped
)
{
size_t
d
=
f
.
col
-
table
.
instant
->
dropped
;
ut_ad
(
f
.
col
==
&
table
.
instant
->
dropped
[
d
]);
ut_ad
(
d
<=
instant
->
n_dropped
);
f
.
col
=
&
instant
->
dropped
[
d
];
}
}
ut_ad
(
n_drop
==
n_dropped
());
ut_ad
(
field_map_it
==
&
instant
->
field_map
[
index
.
n_fields
-
u
]);
ut_ad
(
index
.
n_nullable
==
n_nullable
);
...
...
@@ -655,7 +650,7 @@ inline bool dict_table_t::instant_column(const dict_table_t& table,
const
field_map_element_t
*
field_map
=
old_instant
?
old_instant
->
field_map
:
NULL
;
init_instant
<
true
>
(
table
);
init_instant
(
table
);
if
(
!
metadata_changed
)
{
metadata_changed
=
!
field_map
...
...
storage/innobase/include/dict0mem.h
View file @
5a00792c
...
...
@@ -1886,10 +1886,7 @@ struct dict_table_t {
private:
/** Initialize instant->field_map.
@tparam replace_dropped whether to point clustered index fields
to instant->dropped[]
@param[in] table table definition to copy from */
template
<
bool
replace_dropped
=
false
>
inline
void
init_instant
(
const
dict_table_t
&
table
);
public:
/** Id of the table. */
...
...
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