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
8cf2b82f
Commit
8cf2b82f
authored
Feb 02, 2005
by
ramil@mysql.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
After review fixes
parent
7f68f132
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
2 deletions
+3
-2
client/mysql.cc
client/mysql.cc
+2
-1
sql/sql_db.cc
sql/sql_db.cc
+1
-1
No files found.
client/mysql.cc
View file @
8cf2b82f
...
@@ -1921,7 +1921,8 @@ com_go(String *buffer,char *line __attribute__((unused)))
...
@@ -1921,7 +1921,8 @@ com_go(String *buffer,char *line __attribute__((unused)))
if
(
err
>=
1
)
if
(
err
>=
1
)
error
=
put_error
(
&
mysql
);
error
=
put_error
(
&
mysql
);
if
(
!
status
.
batch
&&
(
mysql
.
server_status
&
SERVER_STATUS_DB_DROPPED
))
if
(
!
error
&&
!
status
.
batch
&&
(
mysql
.
server_status
&
SERVER_STATUS_DB_DROPPED
))
get_current_db
();
get_current_db
();
return
error
;
/* New command follows */
return
error
;
/* New command follows */
...
...
sql/sql_db.cc
View file @
8cf2b82f
...
@@ -670,7 +670,7 @@ int mysql_rm_db(THD *thd,char *db,bool if_exists, bool silent)
...
@@ -670,7 +670,7 @@ int mysql_rm_db(THD *thd,char *db,bool if_exists, bool silent)
}
}
thd
->
server_status
|=
SERVER_STATUS_DB_DROPPED
;
thd
->
server_status
|=
SERVER_STATUS_DB_DROPPED
;
send_ok
(
thd
,
(
ulong
)
deleted
);
send_ok
(
thd
,
(
ulong
)
deleted
);
thd
->
server_status
&=
!
SERVER_STATUS_DB_DROPPED
;
thd
->
server_status
&=
~
SERVER_STATUS_DB_DROPPED
;
}
}
exit:
exit:
...
...
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