mirror of
https://github.com/MariaDB/server.git
synced 2025-07-29 05:21:33 +03:00
MDEV-34716 Fix mysql.servers socket max length too short
The limit of socket length on unix according to libc is 108, see sockaddr_un::sun_path, but in the table it is a string of max length 64, which results in truncation of socket and failure to connect by plugins using servers such as spider.
This commit is contained in:
@ -897,3 +897,7 @@ DELIMITER ;
|
||||
ALTER TABLE servers
|
||||
MODIFY Host varchar(2048) NOT NULL DEFAULT '',
|
||||
MODIFY Owner varchar(512) NOT NULL DEFAULT '';
|
||||
|
||||
# MDEV-34716 Fix mysql.servers socket max length too short
|
||||
ALTER TABLE servers
|
||||
MODIFY Socket char(108) NOT NULL DEFAULT '';
|
||||
|
Reference in New Issue
Block a user