Commit 4e946cb1 authored by Oleksandr Byelkin's avatar Oleksandr Byelkin Committed by Sergei Golubchik

fix of MDEV-24312

Move event table change to the group
of the event table changes after which
event scheduler can be started.
parent 852d1f8e
...@@ -631,6 +631,8 @@ ALTER TABLE event ADD body_utf8 longblob DEFAULT NULL ...@@ -631,6 +631,8 @@ ALTER TABLE event ADD body_utf8 longblob DEFAULT NULL
AFTER db_collation; AFTER db_collation;
ALTER TABLE event MODIFY body_utf8 longblob DEFAULT NULL; ALTER TABLE event MODIFY body_utf8 longblob DEFAULT NULL;
alter table event MODIFY definer varchar(384) collate utf8_bin NOT NULL DEFAULT '';
# Enable event scheduler if the event table was not up to date before. # Enable event scheduler if the event table was not up to date before.
set global event_scheduler=original; set global event_scheduler=original;
...@@ -746,7 +748,6 @@ alter table tables_priv modify User char(128) binary not null default ...@@ -746,7 +748,6 @@ alter table tables_priv modify User char(128) binary not null default
alter table columns_priv modify User char(128) binary not null default ''; alter table columns_priv modify User char(128) binary not null default '';
alter table procs_priv modify User char(128) binary not null default ''; alter table procs_priv modify User char(128) binary not null default '';
alter table proc modify definer varchar(384) collate utf8_bin not null default ''; alter table proc modify definer varchar(384) collate utf8_bin not null default '';
alter table event modify definer varchar(384) collate utf8_bin not null default '';
alter table proxies_priv modify User char(128) COLLATE utf8_bin not null default ''; alter table proxies_priv modify User char(128) COLLATE utf8_bin not null default '';
alter table proxies_priv modify Proxied_user char(128) COLLATE utf8_bin not null default ''; alter table proxies_priv modify Proxied_user char(128) COLLATE utf8_bin not null default '';
alter table proxies_priv modify Grantor varchar(384) COLLATE utf8_bin not null default ''; alter table proxies_priv modify Grantor varchar(384) COLLATE utf8_bin not null default '';
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment