SQL hotfix
gitea/salix/pipeline/head This commit looks good
Details
gitea/salix/pipeline/head This commit looks good
Details
This commit is contained in:
parent
cdd71d00ec
commit
6d8b13423f
|
@ -194,7 +194,12 @@ BEGIN
|
||||||
vTplHost,
|
vTplHost,
|
||||||
JSON_MERGE_PATCH(
|
JSON_MERGE_PATCH(
|
||||||
IFNULL(t.`Priv`, '{}'),
|
IFNULL(t.`Priv`, '{}'),
|
||||||
IFNULL(u.`Priv`, '{}')
|
IFNULL(u.`Priv`, '{}'),
|
||||||
|
JSON_OBJECT(
|
||||||
|
'mysql_old_password', JSON_VALUE(t.`Priv`, '$.mysql_old_password'),
|
||||||
|
'mysql_native_password', JSON_VALUE(t.`Priv`, '$.mysql_native_password'),
|
||||||
|
'authentication_string', JSON_VALUE(t.`Priv`, '$.authentication_string')
|
||||||
|
)
|
||||||
)
|
)
|
||||||
FROM tRole r
|
FROM tRole r
|
||||||
LEFT JOIN mysql.global_priv t
|
LEFT JOIN mysql.global_priv t
|
||||||
|
|
Loading…
Reference in New Issue