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
b20f821e
Commit
b20f821e
authored
Jan 24, 2018
by
Vicențiu Ciorbaru
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix Innodb ASAN error on init
Backport
7c03edf2
from xtradb to innodb
parent
d833bb65
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
3 deletions
+4
-3
storage/innobase/buf/buf0dump.cc
storage/innobase/buf/buf0dump.cc
+1
-0
storage/innobase/dict/dict0mem.cc
storage/innobase/dict/dict0mem.cc
+2
-2
storage/innobase/handler/ha_innodb.cc
storage/innobase/handler/ha_innodb.cc
+1
-1
No files found.
storage/innobase/buf/buf0dump.cc
View file @
b20f821e
...
...
@@ -604,6 +604,7 @@ buf_load()
if
(
dump_n
==
0
)
{
ut_free
(
dump
);
ut_free
(
dump_tmp
);
ut_sprintf_timestamp
(
now
);
buf_load_status
(
STATUS_NOTICE
,
"Buffer pool(s) load completed at %s "
...
...
storage/innobase/dict/dict0mem.cc
View file @
b20f821e
...
...
@@ -319,8 +319,8 @@ dict_mem_table_col_rename_low(
ut_ad
(
from_len
<=
NAME_LEN
);
ut_ad
(
to_len
<=
NAME_LEN
);
char
from
[
NAME_LEN
];
strncpy
(
from
,
s
,
NAME_LEN
);
char
from
[
NAME_LEN
+
1
];
strncpy
(
from
,
s
,
NAME_LEN
+
1
);
if
(
from_len
==
to_len
)
{
/* The easy case: simply replace the column name in
...
...
storage/innobase/handler/ha_innodb.cc
View file @
b20f821e
...
...
@@ -2781,13 +2781,13 @@ innobase_convert_identifier(
ibool
file_id
)
/*!< in: TRUE=id is a table or database name;
FALSE=id is an UTF-8 string */
{
char
nz2
[
MAX_TABLE_NAME_LEN
+
1
];
const
char
*
s
=
id
;
int
q
;
if
(
file_id
)
{
char
nz
[
MAX_TABLE_NAME_LEN
+
1
];
char
nz2
[
MAX_TABLE_NAME_LEN
+
1
];
/* Decode the table name. The MySQL function expects
a NUL-terminated string. The input and output strings
...
...
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