Skip to content

Commit 2bd2180

Browse files
AliSQLAliSQL
authored andcommitted
Fix failed testcase
1 parent 9baeab7 commit 2bd2180

6 files changed

Lines changed: 16 additions & 8 deletions

File tree

mysql-test/r/compress_column.result

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
drop table if exists t1,t2,t3,t4,t5,t6,t7,t8,t9;
22
create table t1 (a int column_format compressed) CHARACTER SET gbk engine=innodb;
33
Warnings:
4-
Warning 1887 Can not define column 'a' in compressed format, silently change column_format to default
4+
Warning 1888 Can not define column 'a' in compressed format, silently change column_format to default
55
show create table t1;
66
Table Create Table
77
t1 CREATE TABLE `t1` (

mysql-test/r/thread_memory_usage.result

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ select * from test.t1;
44
id
55
1
66
show full processlist;
7-
Id User Host db Command Time State Info Memory_used Memory_used_by_query
8-
# root localhost test # xxx # # # #
9-
# root localhost test # xxx # # # #
7+
Id User Host db Command Time State Info Memory_used Memory_used_by_query Logical_read Physical_sync_read Physical_async_read
8+
# root localhost test # xxx # # # # # # #
9+
# root localhost test # xxx # # # # # # #
1010
drop table test.t1;

mysql-test/suite/innodb/r/monitor.result

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,6 @@ buffer_data_written disabled
4343
buffer_flush_batch_scanned disabled
4444
buffer_flush_batch_num_scan disabled
4545
buffer_flush_batch_scanned_per_call disabled
46-
buffer_flush_batch_rescan disabled
4746
buffer_flush_batch_total_pages disabled
4847
buffer_flush_batches disabled
4948
buffer_flush_batch_pages disabled
@@ -68,9 +67,12 @@ buffer_flush_background_pages disabled
6867
buffer_LRU_batch_scanned disabled
6968
buffer_LRU_batch_num_scan disabled
7069
buffer_LRU_batch_scanned_per_call disabled
71-
buffer_LRU_batch_total_pages disabled
72-
buffer_LRU_batches disabled
73-
buffer_LRU_batch_pages disabled
70+
buffer_LRU_batch_flush_total_pages disabled
71+
buffer_LRU_batches_flush disabled
72+
buffer_LRU_batch_flush_pages disabled
73+
buffer_LRU_batch_evict_total_pages disabled
74+
buffer_LRU_batches_evict disabled
75+
buffer_LRU_batch_evict_pages disabled
7476
buffer_LRU_single_flush_scanned disabled
7577
buffer_LRU_single_flush_num_scan disabled
7678
buffer_LRU_single_flush_scanned_per_call disabled

mysql-test/suite/rpl/r/rpl_plugin_load.result

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ Verify that example engine is installed.
1818
SELECT * FROM INFORMATION_SCHEMA.ENGINES WHERE ENGINE='EXAMPLE';
1919
ENGINE SUPPORT COMMENT TRANSACTIONS XA SAVEPOINTS
2020
EXAMPLE YES Example storage engine NO NO NO
21+
include/sync_slave_sql_with_master.inc
2122
connection slave: Verify that example engine is not installed.
2223
SELECT * FROM INFORMATION_SCHEMA.ENGINES WHERE ENGINE='EXAMPLE';
2324
ENGINE SUPPORT COMMENT TRANSACTIONS XA SAVEPOINTS
@@ -32,5 +33,6 @@ Delta
3233
Verify that example engine is not installed.
3334
SELECT * FROM INFORMATION_SCHEMA.ENGINES WHERE ENGINE='EXAMPLE';
3435
ENGINE SUPPORT COMMENT TRANSACTIONS XA SAVEPOINTS
36+
include/sync_slave_sql_with_master.inc
3537
include/rpl_end.inc
3638
End of test

mysql-test/suite/sys_vars/r/all_vars.result

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,8 @@ INNODB_RDS_COLUMN_ZLIB_WRAP
2626
INNODB_RDS_COLUMN_ZLIB_WRAP
2727
INNODB_RDS_MIN_CONCURRENCY_TICKETS
2828
INNODB_RDS_MIN_CONCURRENCY_TICKETS
29+
INNODB_RDS_READ_VIEW_CACHE
30+
INNODB_RDS_READ_VIEW_CACHE
2931
RDS_FILTER_KEY_CMP_IN_ORDER
3032
RDS_FILTER_KEY_CMP_IN_ORDER
3133
RDS_INDEXSTAT

storage/innobase/trx/trx0trx.cc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -470,7 +470,9 @@ trx_free_prepared(
470470
/* Undo trx_resurrect_table_locks(). */
471471
UT_LIST_INIT(trx->lock.trx_locks);
472472

473+
mutex_enter(&trx_sys->mutex);
473474
trx_release_descriptor(trx);
475+
mutex_exit(&trx_sys->mutex);
474476

475477
trx_free_low(trx);
476478
}

0 commit comments

Comments
 (0)