summaryrefslogtreecommitdiff
path: root/sql/events.cc
diff options
context:
space:
mode:
authorSergei Golubchik <sergii@pisem.net>2014-05-01 14:06:48 +0200
committerSergei Golubchik <sergii@pisem.net>2014-05-01 14:06:48 +0200
commitd81b662b8c75018f4facd2323558805ee2bc7eb8 (patch)
tree0dda05c5b8a3bd53672a8949e621e48e46e701c3 /sql/events.cc
parent5b6c75ca4d05f6bb6c56179de725831ff009d650 (diff)
downloadmariadb-git-d81b662b8c75018f4facd2323558805ee2bc7eb8.tar.gz
Asserting correct database name lettercase in
various places in the code.
Diffstat (limited to 'sql/events.cc')
-rw-r--r--sql/events.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/sql/events.cc b/sql/events.cc
index 0c0fb0d5a38..63627b21777 100644
--- a/sql/events.cc
+++ b/sql/events.cc
@@ -596,6 +596,8 @@ Events::drop_schema_events(THD *thd, char *db)
DBUG_ENTER("Events::drop_schema_events");
DBUG_PRINT("enter", ("dropping events from %s", db));
+ DBUG_ASSERT(ok_for_lower_case_names(db));
+
/*
Sic: no check if the scheduler is disabled or system tables
are damaged, as intended.