mirror of
				https://github.com/MariaDB/server.git
				synced 2025-10-31 15:50:51 +03:00 
			
		
		
		
	Bug#42589 mysql_fix_privilege_tables.sh to be deprecated
- Remove remnants of "mysql_fix_privilege_tables.sh"(again)
This commit is contained in:
		| @@ -152,7 +152,6 @@ our $exe_mysqldump; | ||||
| our $exe_mysqlslap; | ||||
| our $exe_mysqlimport; | ||||
| our $exe_mysqlshow; | ||||
| our $exe_mysql_fix_system_tables; | ||||
| our $file_mysql_fix_privilege_tables; | ||||
| our $exe_mysqltest; | ||||
| our $exe_ndbd; | ||||
| @@ -1673,14 +1672,6 @@ sub executable_setup () { | ||||
|       $exe_mysql_upgrade= ""; | ||||
|     } | ||||
|  | ||||
|     if ( ! $glob_win32 ) | ||||
|     { | ||||
|       # Look for mysql_fix_system_table script | ||||
|       $exe_mysql_fix_system_tables= | ||||
|         mtr_script_exists("$glob_basedir/scripts/mysql_fix_privilege_tables", | ||||
|   			"$path_client_bindir/mysql_fix_privilege_tables"); | ||||
|     } | ||||
|  | ||||
|     # Look for mysql_fix_privilege_tables.sql script | ||||
|     $file_mysql_fix_privilege_tables= | ||||
|       mtr_file_exists("$glob_basedir/scripts/mysql_fix_privilege_tables.sql", | ||||
| @@ -2152,20 +2143,6 @@ sub environment_setup () { | ||||
|     $ENV{'MYSQL_UPGRADE'}= mysql_upgrade_arguments(); | ||||
|   } | ||||
|  | ||||
|   # ---------------------------------------------------- | ||||
|   # Setup env so childs can execute mysql_fix_system_tables | ||||
|   # ---------------------------------------------------- | ||||
|   if ( !$opt_extern && ! $glob_win32 ) | ||||
|   { | ||||
|     my $cmdline_mysql_fix_system_tables= | ||||
|       "$exe_mysql_fix_system_tables --no-defaults --host=localhost " . | ||||
|       "--user=root --password= " . | ||||
|       "--basedir=$glob_basedir --bindir=$path_client_bindir --verbose " . | ||||
|       "--port=$master->[0]->{'port'} " . | ||||
|       "--socket=$master->[0]->{'path_sock'}"; | ||||
|     $ENV{'MYSQL_FIX_SYSTEM_TABLES'}=  $cmdline_mysql_fix_system_tables; | ||||
|  | ||||
|   } | ||||
|   $ENV{'MYSQL_FIX_PRIVILEGE_TABLES'}=  $file_mysql_fix_privilege_tables; | ||||
|  | ||||
|   # ---------------------------------------------------- | ||||
|   | ||||
		Reference in New Issue
	
	Block a user