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
4eb0f28e
Commit
4eb0f28e
authored
Feb 14, 2002
by
heikki@hundin.mysql.fi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
row0mysql.c:
Add a warning to drop database wait if there are still open handles on a table
parent
57ef5c71
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
1 deletion
+9
-1
innobase/row/row0mysql.c
innobase/row/row0mysql.c
+9
-1
No files found.
innobase/row/row0mysql.c
View file @
4eb0f28e
...
@@ -1847,7 +1847,15 @@ loop:
...
@@ -1847,7 +1847,15 @@ loop:
if
(
table
->
n_mysql_handles_opened
>
0
)
{
if
(
table
->
n_mysql_handles_opened
>
0
)
{
mutex_exit
(
&
(
dict_sys
->
mutex
));
mutex_exit
(
&
(
dict_sys
->
mutex
));
os_thread_sleep
(
100000
);
ut_print_timestamp
(
stderr
);
fprintf
(
stderr
,
" InnoDB: Warning: MySQL is trying to drop database %s
\n
"
"InnoDB: though there are still open handles to table %s.
\n
"
,
name
,
table_name
);
os_thread_sleep
(
1000000
);
mem_free
(
table_name
);
goto
loop
;
goto
loop
;
}
}
...
...
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