Skip to content

Commit 0186f1c

Browse files
author
Justin Jose
committed
Merge branch 'mysql-8.0' into mysql-trunk
2 parents c60cf09 + 947f328 commit 0186f1c

File tree

5 files changed

+4
-10
lines changed

5 files changed

+4
-10
lines changed

mysql-test/r/upgrade_system_tables.result

-4
Original file line numberDiff line numberDiff line change
@@ -50,10 +50,6 @@ include/filter_file.inc
5050
########################################################################
5151

5252
# Compare fresh and upgraded tables
53-
20c20
54-
< # # gtid_executed BASE TABLE InnoDB # Dynamic 255 Visible avg_row_length=0;encrypt_type=N;explicit_tablespace=1;key_block_size=0;keys_disabled=0;pack_record=1;row_type=2;stats_auto_recalc=0;stats_sample_pages=0; # # 1 NULL NULL NULL NULL NULL NULL NULL NULL # # NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL # NULL NULL
55-
---
56-
> # # gtid_executed BASE TABLE InnoDB # Dynamic 255 Visible avg_row_length=0;encrypt_type=N;explicit_tablespace=1;key_block_size=0;keys_disabled=0;pack_record=1;row_type=2;stats_auto_recalc=0;stats_persistent=0;stats_sample_pages=0; # # 1 NULL NULL NULL NULL NULL NULL NULL NULL # # NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL # NULL NULL
5753

5854
# Compare fresh and upgraded columns
5955

mysql-test/std_data/dd/sdi/innodb_sdi/mysql.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -40281,7 +40281,7 @@
4028140281
"created": NNN,
4028240282
"last_altered": NNN,
4028340283
"hidden": 1,
40284-
"options": "avg_row_length=0;encrypt_type=N;explicit_tablespace=1;key_block_size=0;keys_disabled=0;pack_record=1;row_type=2;stats_auto_recalc=0;stats_sample_pages=0;",
40284+
"options": "avg_row_length=0;encrypt_type=N;explicit_tablespace=1;key_block_size=0;keys_disabled=0;pack_record=1;row_type=2;stats_auto_recalc=0;stats_persistent=0;stats_sample_pages=0;",
4028540285
"columns": [
4028640286
{
4028740287
"name": "source_uuid",

mysql-test/suite/rpl_gtid/r/rpl_gtids_table.result

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ gtid_executed CREATE TABLE `gtid_executed` (
1212
`interval_start` bigint NOT NULL COMMENT 'First number of interval.',
1313
`interval_end` bigint NOT NULL COMMENT 'Last number of interval.',
1414
PRIMARY KEY (`source_uuid`,`interval_start`)
15-
) /*!50100 TABLESPACE `mysql` */ ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci ROW_FORMAT=DYNAMIC
15+
) /*!50100 TABLESPACE `mysql` */ ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci STATS_PERSISTENT=0 ROW_FORMAT=DYNAMIC
1616
#
1717
# Verify that the specified gtid to GTID_NEXT can be reported from
1818
# global.gtid_executed and is stored into gtid_executed table on

mysql-test/t/upgrade_system_tables.test

+1-3
Original file line numberDiff line numberDiff line change
@@ -139,9 +139,7 @@
139139

140140
--echo
141141
--echo # Compare fresh and upgraded tables
142-
# TODO : Replace with --diff_files after Bug#32250735 is fixed
143-
--error 0,1
144-
--exec diff $tables_fresh_datadir $tables_upgraded_datadir
142+
--diff_files $tables_fresh_datadir $tables_upgraded_datadir
145143

146144
--echo
147145
--echo # Compare fresh and upgraded columns

scripts/mysql_system_tables.sql

+1-1
Original file line numberDiff line numberDiff line change
@@ -421,7 +421,7 @@ SET @cmd= "CREATE TABLE IF NOT EXISTS gtid_executed (
421421
source_uuid CHAR(36) NOT NULL COMMENT 'uuid of the source where the transaction was originally executed.',
422422
interval_start BIGINT NOT NULL COMMENT 'First number of interval.',
423423
interval_end BIGINT NOT NULL COMMENT 'Last number of interval.',
424-
PRIMARY KEY(source_uuid, interval_start))";
424+
PRIMARY KEY(source_uuid, interval_start)) STATS_PERSISTENT=0";
425425

426426
SET @str=IF(@have_innodb <> 0, CONCAT(@cmd, ' ENGINE= INNODB ROW_FORMAT=DYNAMIC TABLESPACE=mysql ENCRYPTION=\'', @is_mysql_encrypted,'\''), CONCAT(@cmd, ' ENGINE= MYISAM'));
427427
PREPARE stmt FROM @str;

0 commit comments

Comments
 (0)