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
13946359
Commit
13946359
authored
Mar 19, 2004
by
serg@serg.mylan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
DROP DATABASE now returns (affected_rows) number of tables dropped
parent
6a636a4d
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
4 deletions
+1
-4
mysql-test/r/drop.result
mysql-test/r/drop.result
+1
-1
sql/sql_db.cc
sql/sql_db.cc
+0
-3
No files found.
mysql-test/r/drop.result
View file @
13946359
...
...
@@ -21,7 +21,7 @@ select * from mysqltest.mysqltest;
n
4
drop database if exists mysqltest;
affected rows:
4
affected rows:
1
create database mysqltest;
drop database mysqltest;
flush tables with read lock;
...
...
sql/sql_db.cc
View file @
13946359
...
...
@@ -502,8 +502,6 @@ static long mysql_rm_known_files(THD *thd, MY_DIR *dirp, const char *db,
{
if
(
find_type
(
extension
,
&
known_extentions
,
1
+
2
)
<=
0
)
found_other_files
++
;
else
deleted
++
;
continue
;
}
if
(
db
&&
!
my_strcasecmp
(
&
my_charset_latin1
,
...
...
@@ -530,7 +528,6 @@ static long mysql_rm_known_files(THD *thd, MY_DIR *dirp, const char *db,
{
goto
err
;
}
deleted
++
;
}
}
if
(
thd
->
killed
||
...
...
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