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
a3455c60
Commit
a3455c60
authored
Jul 25, 2019
by
Marko Mäkelä
Browse files
Options
Browse Files
Download
Plain Diff
MDEV-20133 Merge new release of InnoDB 5.7.27 to 10.2
parents
b6ac6738
60069a98
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
5 deletions
+8
-5
mysql-test/suite/sys_vars/r/sysvars_innodb.result
mysql-test/suite/sys_vars/r/sysvars_innodb.result
+1
-1
storage/innobase/handler/ha_innodb.cc
storage/innobase/handler/ha_innodb.cc
+6
-3
storage/innobase/include/univ.i
storage/innobase/include/univ.i
+1
-1
No files found.
mysql-test/suite/sys_vars/r/sysvars_innodb.result
View file @
a3455c60
...
@@ -3088,7 +3088,7 @@ READ_ONLY NO
...
@@ -3088,7 +3088,7 @@ READ_ONLY NO
COMMAND_LINE_ARGUMENT OPTIONAL
COMMAND_LINE_ARGUMENT OPTIONAL
VARIABLE_NAME INNODB_VERSION
VARIABLE_NAME INNODB_VERSION
SESSION_VALUE NULL
SESSION_VALUE NULL
GLOBAL_VALUE 5.7.2
6
GLOBAL_VALUE 5.7.2
7
GLOBAL_VALUE_ORIGIN COMPILE-TIME
GLOBAL_VALUE_ORIGIN COMPILE-TIME
DEFAULT_VALUE NULL
DEFAULT_VALUE NULL
VARIABLE_SCOPE GLOBAL
VARIABLE_SCOPE GLOBAL
...
...
storage/innobase/handler/ha_innodb.cc
View file @
a3455c60
...
@@ -21654,7 +21654,7 @@ innobase_rename_vc_templ(
...
@@ -21654,7 +21654,7 @@ innobase_rename_vc_templ(
given col_no.
given col_no.
@param[in] foreign foreign key information
@param[in] foreign foreign key information
@param[in] update updated parent vector.
@param[in] update updated parent vector.
@param[in] col_no
column position of the table
@param[in] col_no
base column position of the child table to check
@return updated field from the parent update vector, else NULL */
@return updated field from the parent update vector, else NULL */
static
static
dfield_t*
dfield_t*
...
@@ -21670,6 +21670,10 @@ innobase_get_field_from_update_vector(
...
@@ -21670,6 +21670,10 @@ innobase_get_field_from_update_vector(
ulint prefix_col_no;
ulint prefix_col_no;
for (ulint i = 0; i < foreign->n_fields; i++) {
for (ulint i = 0; i < foreign->n_fields; i++) {
if (dict_index_get_nth_col_no(foreign->foreign_index, i)
!= col_no) {
continue;
}
parent_col_no = dict_index_get_nth_col_no(parent_index, i);
parent_col_no = dict_index_get_nth_col_no(parent_index, i);
parent_field_no = dict_table_get_nth_col_pos(
parent_field_no = dict_table_get_nth_col_pos(
...
@@ -21679,8 +21683,7 @@ innobase_get_field_from_update_vector(
...
@@ -21679,8 +21683,7 @@ innobase_get_field_from_update_vector(
upd_field_t* parent_ufield
upd_field_t* parent_ufield
= &update->fields[j];
= &update->fields[j];
if
(
parent_ufield
->
field_no
==
parent_field_no
if (parent_ufield->field_no == parent_field_no) {
&&
parent_col_no
==
col_no
)
{
return(&parent_ufield->new_val);
return(&parent_ufield->new_val);
}
}
}
}
...
...
storage/innobase/include/univ.i
View file @
a3455c60
...
@@ -41,7 +41,7 @@ Created 1/20/1994 Heikki Tuuri
...
@@ -41,7 +41,7 @@ Created 1/20/1994 Heikki Tuuri
#
define
INNODB_VERSION_MAJOR
5
#
define
INNODB_VERSION_MAJOR
5
#
define
INNODB_VERSION_MINOR
7
#
define
INNODB_VERSION_MINOR
7
#
define
INNODB_VERSION_BUGFIX
2
6
#
define
INNODB_VERSION_BUGFIX
2
7
/* The following is the InnoDB version as shown in
/* The following is the InnoDB version as shown in
SELECT plugin_version FROM information_schema.plugins;
SELECT plugin_version FROM information_schema.plugins;
...
...
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