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
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
mariadb
Commits
2d5b9679
Commit
2d5b9679
authored
May 26, 2005
by
marko@hundin.mysql.fi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
InnoDB: Check all referencing tables in DROP DATABASE (Bug #10335).
parent
2e936807
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
0 deletions
+5
-0
innobase/row/row0mysql.c
innobase/row/row0mysql.c
+5
-0
No files found.
innobase/row/row0mysql.c
View file @
2d5b9679
...
...
@@ -2143,6 +2143,7 @@ row_drop_table_for_mysql(
foreign
=
UT_LIST_GET_FIRST
(
table
->
referenced_list
);
while
(
foreign
&&
foreign
->
foreign_table
==
table
)
{
check_next_foreign:
foreign
=
UT_LIST_GET_NEXT
(
referenced_list
,
foreign
);
}
...
...
@@ -2171,6 +2172,10 @@ row_drop_table_for_mysql(
goto
funct_exit
;
}
if
(
foreign
&&
trx
->
check_foreigns
)
{
goto
check_next_foreign
;
}
if
(
table
->
n_mysql_handles_opened
>
0
)
{
ibool
added
;
...
...
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