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
b8617574
Commit
b8617574
authored
May 17, 2019
by
Marko Mäkelä
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
MDEV-19513: Fix the non-debug build
Always initialize dict_sys.m_initialised.
parent
198ed24c
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
3 deletions
+6
-3
storage/innobase/dict/dict0dict.cc
storage/innobase/dict/dict0dict.cc
+6
-3
No files found.
storage/innobase/dict/dict0dict.cc
View file @
b8617574
...
...
@@ -1022,8 +1022,9 @@ dict_table_col_in_clustered_key(
/** Initialise the data dictionary cache. */
void
dict_sys_t
::
create
()
{
ut_ad
(
this
==
&
dict_sys
);
ut_ad
(
!
is_initialised
());
ut_d
(
m_initialised
=
true
)
;
m_initialised
=
true
;
UT_LIST_INIT
(
table_LRU
,
&
dict_table_t
::
table_LRU
);
UT_LIST_INIT
(
table_non_LRU
,
&
dict_table_t
::
table_LRU
);
...
...
@@ -6353,7 +6354,8 @@ dict_fs2utf8(
/** Resize the hash tables based on the current buffer pool size. */
void
dict_sys_t
::
resize
()
{
ut_ad
(
m_initialised
);
ut_ad
(
this
==
&
dict_sys
);
ut_ad
(
is_initialised
());
mutex_enter
(
&
mutex
);
/* all table entries are in table_LRU and table_non_LRU lists */
...
...
@@ -6397,6 +6399,7 @@ void dict_sys_t::resize()
/** Close the data dictionary cache on shutdown. */
void
dict_sys_t
::
close
()
{
ut_ad
(
this
==
&
dict_sys
);
if
(
!
is_initialised
())
return
;
mutex_enter
(
&
mutex
);
...
...
@@ -6437,7 +6440,7 @@ void dict_sys_t::close()
dict_foreign_err_file
=
NULL
;
}
ut_d
(
m_initialised
=
false
)
;
m_initialised
=
false
;
}
#ifdef UNIV_DEBUG
...
...
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