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
7b70cbd8
Commit
7b70cbd8
authored
Jan 17, 2020
by
Marko Mäkelä
Browse files
Options
Browse Files
Download
Plain Diff
MDEV-21499 Merge new release of InnoDB 5.7.29 to 10.2
parents
08b0b2b6
c25a0662
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
4 deletions
+10
-4
storage/innobase/include/univ.i
storage/innobase/include/univ.i
+2
-2
storage/innobase/os/os0file.cc
storage/innobase/os/os0file.cc
+8
-2
No files found.
storage/innobase/include/univ.i
View file @
7b70cbd8
/*****************************************************************************
/*****************************************************************************
Copyright (c) 1994, 2016, Oracle and/or its affiliates. All Rights Reserved.
Copyright (c) 1994, 2016, Oracle and/or its affiliates. All Rights Reserved.
Copyright (c) 2013, 20
19
, MariaDB Corporation.
Copyright (c) 2013, 20
20
, MariaDB Corporation.
Copyright (c) 2008, Google Inc.
Copyright (c) 2008, Google Inc.
Portions of this file contain modifications contributed and copyrighted by
Portions of this file contain modifications contributed and copyrighted by
...
@@ -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
8
#
define
INNODB_VERSION_BUGFIX
2
9
/* 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;
...
...
storage/innobase/os/os0file.cc
View file @
7b70cbd8
/***********************************************************************
/***********************************************************************
Copyright (c) 1995, 201
7
, Oracle and/or its affiliates. All Rights Reserved.
Copyright (c) 1995, 201
9
, Oracle and/or its affiliates. All Rights Reserved.
Copyright (c) 2009, Percona Inc.
Copyright (c) 2009, Percona Inc.
Copyright (c) 2013, 20
19
, MariaDB Corporation.
Copyright (c) 2013, 20
20
, MariaDB Corporation.
Portions of this file contain modifications contributed and copyrighted
Portions of this file contain modifications contributed and copyrighted
by Percona Inc.. Those modifications are
by Percona Inc.. Those modifications are
...
@@ -1474,6 +1474,12 @@ os_file_get_parent_dir(
...
@@ -1474,6 +1474,12 @@ os_file_get_parent_dir(
return
(
NULL
);
return
(
NULL
);
}
}
if
(
last_slash
-
path
<
0
)
{
/* Sanity check, it prevents gcc from trying to handle this case which
* results in warnings for some optimized builds */
return
(
NULL
);
}
/* Non-trivial directory component */
/* Non-trivial directory component */
return
(
mem_strdupl
(
path
,
last_slash
-
path
));
return
(
mem_strdupl
(
path
,
last_slash
-
path
));
...
...
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