2010-02-26 09:22:48 -03:00
|
|
|
#
|
|
|
|
# Bug#49823: mysql_upgrade fatal error due to general_log / slow_low CSV NULL
|
|
|
|
#
|
|
|
|
USE test;
|
|
|
|
SET @saved_general_log = @@GLOBAL.general_log;
|
|
|
|
SET GLOBAL general_log = OFF;
|
|
|
|
USE mysql;
|
|
|
|
FLUSH TABLES;
|
|
|
|
REPAIR TABLE test.bug49823;
|
|
|
|
Table Op Msg_type Msg_text
|
|
|
|
test.bug49823 repair status OK
|
|
|
|
RENAME TABLE general_log TO renamed_general_log;
|
|
|
|
RENAME TABLE test.bug49823 TO general_log;
|
2017-03-04 17:17:00 +01:00
|
|
|
Phase 1/7: Checking and upgrading mysql database
|
2010-09-06 02:15:34 +03:00
|
|
|
Processing databases
|
|
|
|
mysql
|
2012-12-05 00:31:05 -08:00
|
|
|
mysql.column_stats OK
|
2010-02-26 09:22:48 -03:00
|
|
|
mysql.columns_priv OK
|
|
|
|
mysql.db OK
|
|
|
|
mysql.event OK
|
|
|
|
mysql.func OK
|
2018-11-24 14:13:41 +01:00
|
|
|
mysql.global_priv OK
|
2013-05-22 17:36:48 +02:00
|
|
|
mysql.gtid_slave_pos OK
|
2010-02-26 09:22:48 -03:00
|
|
|
mysql.help_category OK
|
|
|
|
mysql.help_keyword OK
|
|
|
|
mysql.help_relation OK
|
|
|
|
mysql.help_topic OK
|
2012-12-05 00:31:05 -08:00
|
|
|
mysql.index_stats OK
|
2012-08-23 00:32:25 +03:00
|
|
|
mysql.innodb_index_stats OK
|
|
|
|
mysql.innodb_table_stats OK
|
2010-02-26 09:22:48 -03:00
|
|
|
mysql.plugin OK
|
|
|
|
mysql.proc OK
|
|
|
|
mysql.procs_priv OK
|
2010-11-02 17:45:26 +02:00
|
|
|
mysql.proxies_priv OK
|
2010-02-26 09:22:48 -03:00
|
|
|
mysql.renamed_general_log OK
|
2013-10-18 08:10:51 -07:00
|
|
|
mysql.roles_mapping OK
|
2010-02-26 09:22:48 -03:00
|
|
|
mysql.servers OK
|
2012-12-05 00:31:05 -08:00
|
|
|
mysql.table_stats OK
|
2010-02-26 09:22:48 -03:00
|
|
|
mysql.tables_priv OK
|
|
|
|
mysql.time_zone OK
|
|
|
|
mysql.time_zone_leap_second OK
|
|
|
|
mysql.time_zone_name OK
|
|
|
|
mysql.time_zone_transition OK
|
|
|
|
mysql.time_zone_transition_type OK
|
2017-11-13 22:45:10 +03:00
|
|
|
mysql.transaction_registry OK
|
2017-03-04 17:17:00 +01:00
|
|
|
Phase 2/7: Installing used storage engines... Skipped
|
|
|
|
Phase 3/7: Fixing views
|
2018-11-24 14:13:41 +01:00
|
|
|
mysql.user OK
|
2017-03-04 17:17:00 +01:00
|
|
|
Phase 4/7: Running 'mysql_fix_privilege_tables'
|
|
|
|
Phase 5/7: Fixing table and database names
|
|
|
|
Phase 6/7: Checking and upgrading tables
|
2014-08-06 13:27:44 +02:00
|
|
|
Processing databases
|
|
|
|
information_schema
|
|
|
|
mtr
|
|
|
|
mtr.global_suppressions OK
|
|
|
|
mtr.test_suppressions OK
|
2011-04-25 17:22:25 +02:00
|
|
|
performance_schema
|
2010-09-06 02:15:34 +03:00
|
|
|
test
|
2017-03-04 17:17:00 +01:00
|
|
|
Phase 7/7: Running 'FLUSH PRIVILEGES'
|
2010-09-06 02:15:34 +03:00
|
|
|
OK
|
2010-02-26 09:22:48 -03:00
|
|
|
DROP TABLE general_log;
|
|
|
|
RENAME TABLE renamed_general_log TO general_log;
|
|
|
|
SET GLOBAL general_log = @saved_general_log;
|
|
|
|
USE test;
|