Commit 57a20557 authored by unknown's avatar unknown
Browse files

Another post-merge fix.


sql/events.cc:
  Fix a bug I introduced with the merge: dbchanged is read
  even if it's not passed to sp_use_new_db.
parent 71e84df0
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -600,7 +600,7 @@ db_create_event(THD *thd, Event_timed *et, my_bool create_if_not,
  TABLE *table;
  char old_db_buf[NAME_LEN+1];
  LEX_STRING old_db= { old_db_buf, sizeof(old_db_buf) };
  bool dbchanged;
  bool dbchanged= FALSE;
  DBUG_ENTER("db_create_event");
  DBUG_PRINT("enter", ("name: %.*s", et->name.length, et->name.str));