summaryrefslogtreecommitdiff
path: root/sql/sql_db.cc
diff options
context:
space:
mode:
authorKonstantin Osipov <kostja@sun.com>2010-11-12 15:56:21 +0300
committerKonstantin Osipov <kostja@sun.com>2010-11-12 15:56:21 +0300
commit4749b884942f464febbb8221b4a73f5b85e98090 (patch)
tree47b1a5ab7416e5cc83776aa9a0543a058f35d724 /sql/sql_db.cc
parent936bec8e2cf0362e0cf8902ab1f7ea8141b880cc (diff)
downloadmariadb-git-4749b884942f464febbb8221b4a73f5b85e98090.tar.gz
Implement a fix for Bug#57058 -- send SERVER_QUERY_WAS_SLOW over
network when a query was slow. When a query is slow, sent a special flag to the client indicating this fact. Add a test case. Implement review comments.
Diffstat (limited to 'sql/sql_db.cc')
-rw-r--r--sql/sql_db.cc1
1 files changed, 0 insertions, 1 deletions
diff --git a/sql/sql_db.cc b/sql/sql_db.cc
index 4df8748429c..1dea2f279e9 100644
--- a/sql/sql_db.cc
+++ b/sql/sql_db.cc
@@ -866,7 +866,6 @@ bool mysql_rm_db(THD *thd,char *db,bool if_exists, bool silent)
thd->clear_error();
thd->server_status|= SERVER_STATUS_DB_DROPPED;
my_ok(thd, (ulong) deleted);
- thd->server_status&= ~SERVER_STATUS_DB_DROPPED;
}
else if (mysql_bin_log.is_open())
{