From a3099a3b4a394da360b5c1e7ae6dc985ae2f7f2f Mon Sep 17 00:00:00 2001 From: Oleksandr Byelkin Date: Wed, 18 Nov 2020 16:04:57 +0100 Subject: MDEV-24312 master_host has 60 character limit, increase to 255 bytes Also increase user name up to 128. The work was started by Rucha Deodhar , contains audit plugin fixes by Alexey Botchkov . --- mysql-test/main/plugin_auth.result | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'mysql-test/main/plugin_auth.result') diff --git a/mysql-test/main/plugin_auth.result b/mysql-test/main/plugin_auth.result index 73c384734bd..5c8f55e38ec 100644 --- a/mysql-test/main/plugin_auth.result +++ b/mysql-test/main/plugin_auth.result @@ -23,12 +23,12 @@ test mysql.proxies_priv; SHOW CREATE TABLE mysql.proxies_priv; Table Create Table proxies_priv CREATE TABLE `proxies_priv` ( - `Host` char(60) COLLATE utf8_bin NOT NULL DEFAULT '', - `User` char(80) COLLATE utf8_bin NOT NULL DEFAULT '', - `Proxied_host` char(60) COLLATE utf8_bin NOT NULL DEFAULT '', - `Proxied_user` char(80) COLLATE utf8_bin NOT NULL DEFAULT '', + `Host` char(255) COLLATE utf8_bin NOT NULL DEFAULT '', + `User` char(128) COLLATE utf8_bin NOT NULL DEFAULT '', + `Proxied_host` char(255) COLLATE utf8_bin NOT NULL DEFAULT '', + `Proxied_user` char(128) COLLATE utf8_bin NOT NULL DEFAULT '', `With_grant` tinyint(1) NOT NULL DEFAULT 0, - `Grantor` char(141) COLLATE utf8_bin NOT NULL DEFAULT '', + `Grantor` varchar(384) COLLATE utf8_bin NOT NULL DEFAULT '', `Timestamp` timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp(), PRIMARY KEY (`Host`,`User`,`Proxied_host`,`Proxied_user`), KEY `Grantor` (`Grantor`) -- cgit v1.2.1