mariadb/client
Monty c4ebb2bd04 Fixed that mysql_upgrade doesn't give errors about mariadb.sys
The reason for this fix was that when I tried to run mysql_upgrade
at home to update an old 10.5 installation, mysql_upgrade failed
with warnings about mariadb.sys user not existing.

If the server was started with --skip-grants, there would be no warnings
from mysql_upgrade, but in some cases running mysql_upgrade again could
produce new warnings.

The reason for the warnings was that any access of the mysql.user view
will produce a warning if the mariadb.sys user does not exists.

Fixed with the following changes:
- Disable warnings about mariadb.sys user not existing
- Don't overwrite old mariadb.sys entries in tables_priv and global_priv
- Ensure that tables_priv has an entry for mariadb.sys if the user exists.
  This fixes an issue that tables_priv would not be updated if there
  was a failure directly after global_priv was updated.
2022-04-04 16:14:22 +03:00
..
async_example.c MWL#192: non-blocking client API, after-review fixes. 2012-01-06 12:43:18 +01:00
client_priv.h Merge branch '10.3' into 10.4 2022-01-30 09:46:52 +01:00
CMakeLists.txt Merge remote-tracking branch 'upstream/10.3' into 10.4 2021-09-09 09:23:35 +03:00
completion_hash.cc Merge 10.2 into 10.3 2020-11-02 15:48:47 +02:00
completion_hash.h Update FSF Address 2019-05-11 21:29:06 +03:00
echo.c Update FSF Address 2019-05-11 21:29:06 +03:00
my_readline.h Update FSF Address 2019-05-11 21:29:06 +03:00
mysql.cc Merge branch 10.3 into 10.4 2021-12-25 12:13:03 +01:00
mysql_plugin.c Merge branch '10.2' into 10.3 2021-09-07 23:24:06 +02:00
mysql_upgrade.c Fixed that mysql_upgrade doesn't give errors about mariadb.sys 2022-04-04 16:14:22 +03:00
mysqladmin.cc Fixed that mariadb-# binaries reads their corresponding entry from my.cnf 2019-07-18 15:32:22 +03:00
mysqlbinlog.cc Merge 10.3 into 10.4 2022-03-29 11:13:18 +03:00
mysqlcheck.c Fixed that mariadb-# binaries reads their corresponding entry from my.cnf 2019-07-18 15:32:22 +03:00
mysqldump.c Merge branch 'bb-10.3-release' into bb-10.4-release 2021-02-12 17:44:22 +01:00
mysqlimport.c Merge 10.3 into 10.4 2020-06-13 19:01:28 +03:00
mysqlshow.c Fixed that mariadb-# binaries reads their corresponding entry from my.cnf 2019-07-18 15:32:22 +03:00
mysqlslap.c Merge 10.3 into 10.4 2020-12-23 14:52:59 +02:00
mysqltest.cc Galera test failure on galera_bf_abort_ps_bind 2022-03-30 08:31:18 +03:00
readline.cc Merge branch '5.5' into 10.1 2019-05-11 22:19:05 +03:00
sql_string.cc.dontuse Merge branch '5.5' into 10.1 2019-05-11 22:19:05 +03:00
sql_string.h.dontuse Update FSF Address 2019-05-11 21:29:06 +03:00