Skip to content
This repository was archived by the owner on Aug 28, 2024. It is now read-only.

Commit ce6df80

Browse files
committed
Misc test fixes
1 parent 16774e3 commit ce6df80

File tree

2 files changed

+11
-2
lines changed

2 files changed

+11
-2
lines changed

mysql-test/suite/sysschema/r/t_sys_config.result

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ SELECT variable, value, set_by FROM sys.sys_config;
88
variable value set_by
99
diagnostics.allow_i_s_tables OFF NULL
1010
diagnostics.include_raw OFF NULL
11+
ps_thread_trx_info.max_length 65535 NULL
1112
statement_performance_analyzer.limit 100 NULL
1213
statement_performance_analyzer.view NULL NULL
1314
statement_truncate_len 64 NULL
@@ -16,6 +17,7 @@ SELECT variable, value, set_by FROM sys.sys_config;
1617
variable value set_by
1718
diagnostics.allow_i_s_tables OFF NULL
1819
diagnostics.include_raw OFF NULL
20+
ps_thread_trx_info.max_length 65535 NULL
1921
statement_performance_analyzer.limit 100 NULL
2022
statement_performance_analyzer.view NULL NULL
2123
statement_truncate_len 128 NULL
@@ -25,6 +27,7 @@ variable value set_by
2527
diagnostics.allow_i_s_tables OFF NULL
2628
diagnostics.include_raw OFF NULL
2729
foo bar NULL
30+
ps_thread_trx_info.max_length 65535 NULL
2831
statement_performance_analyzer.limit 100 NULL
2932
statement_performance_analyzer.view NULL NULL
3033
statement_truncate_len 128 NULL
@@ -35,5 +38,6 @@ INSERT IGNORE INTO sys.sys_config (variable, value) VALUES
3538
('statement_performance_analyzer.limit', 100),
3639
('statement_performance_analyzer.view', NULL),
3740
('diagnostics.allow_i_s_tables', 'OFF'),
38-
('diagnostics.include_raw', 'OFF');
41+
('diagnostics.include_raw', 'OFF'),
42+
('ps_thread_trx_info.max_length', 65535);
3943
SET @sys.ignore_sys_config_triggers := NULL;

mysql-test/suite/sysschema/t/fn_ps_thread_trx_info.test

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,12 @@
1-
-- source include/not_embedded.inc
21
# Tests for sys schema
32
# Verify the sys.ps_thread_trx_info() function perfoms as expected
43

4+
-- source include/not_embedded.inc
5+
# Performance schema tracks prepared statements separately, and does not
6+
# yet have a summary view that we can use for this view.
7+
# Until then, we disable this test with --ps-protocol
8+
-- source include/no_protocol.inc
9+
510
# Passing unknown connection id should return NULL
611
SELECT sys.ps_thread_trx_info(234623462376);
712

0 commit comments

Comments
 (0)