mirror of
https://github.com/MariaDB/server.git
synced 2025-07-29 05:21:33 +03:00
Merge 10.4 into 10.5
The functional changes of commit 5836191c8f
(MDEV-21168) are omitted due to MDEV-742 having addressed the issue.
This commit is contained in:
@ -171,6 +171,14 @@ ALTER TABLE user
|
||||
ALTER TABLE user
|
||||
ADD Password char(41) character set latin1 collate latin1_bin NOT NULL default '' AFTER User;
|
||||
|
||||
# In MySQL the Unix socket authentication plugin has a different name. Thus the
|
||||
# references to it need to be renamed in the user table. Thanks to the WHERE
|
||||
# clauses this applies only to MySQL->MariaDB upgrades and nothing else.
|
||||
UPDATE user
|
||||
SET plugin='unix_socket' WHERE plugin='auth_socket';
|
||||
DELETE FROM plugin
|
||||
WHERE name='auth_socket';
|
||||
|
||||
ALTER TABLE user
|
||||
MODIFY Password char(41) character set latin1 collate latin1_bin NOT NULL default '',
|
||||
MODIFY Select_priv enum('N','Y') COLLATE utf8_general_ci DEFAULT 'N' NOT NULL,
|
||||
|
Reference in New Issue
Block a user