mirror of
https://github.com/MariaDB/server.git
synced 2025-07-29 05:21:33 +03:00
Don't display 'usage' privilege in TABLE_PRIVILEGES if we have columns privileges
mysqldump skips information_schema db 'use' now can use information_schema db changed value of column 'Null' to 'NO' if column is not nullable
This commit is contained in:
@ -1935,6 +1935,10 @@ static int dump_databases(char **db_names)
|
||||
|
||||
static int init_dumping(char *database)
|
||||
{
|
||||
if (mysql_get_server_version(sock) >= 50003 &&
|
||||
!strcmp(database, "information_schema"))
|
||||
return 1;
|
||||
|
||||
if (mysql_select_db(sock, database))
|
||||
{
|
||||
DBerror(sock, "when selecting the database");
|
||||
|
Reference in New Issue
Block a user