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
fbef1005
Commit
fbef1005
authored
Mar 08, 2022
by
Marko Mäkelä
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix an uninitialized variable in debug builds
parent
af345b72
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
storage/innobase/dict/drop.cc
storage/innobase/dict/drop.cc
+2
-2
No files found.
storage/innobase/dict/drop.cc
View file @
fbef1005
/*****************************************************************************
Copyright (c) 2021, MariaDB Corporation.
Copyright (c) 2021,
2022,
MariaDB Corporation.
This program is free software; you can redistribute it and/or modify it under
the terms of the GNU General Public License as published by the Free Software
...
...
@@ -152,7 +152,7 @@ dberr_t trx_t::drop_table(const dict_table_t &table)
ut_ad
(
table
.
n_lock_x_or_s
==
1
);
ut_ad
(
UT_LIST_GET_LEN
(
table
.
locks
)
>=
1
);
#ifdef UNIV_DEBUG
bool
found_x
;
bool
found_x
=
false
;
for
(
lock_t
*
lock
=
UT_LIST_GET_FIRST
(
table
.
locks
);
lock
;
lock
=
UT_LIST_GET_NEXT
(
un_member
.
tab_lock
.
locks
,
lock
))
{
...
...
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