diff options
Diffstat (limited to 'sql/events.cc')
-rw-r--r-- | sql/events.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sql/events.cc b/sql/events.cc index 9f0aef885df..5f0dd3fd986 100644 --- a/sql/events.cc +++ b/sql/events.cc @@ -670,6 +670,7 @@ Events::drop_schema_events(THD *thd, const char *db) { db_repository->drop_schema_events(thd, &db_lex); delete db_repository; + db_repository= 0; } } DBUG_VOID_RETURN; |