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

Commit 4d505f1

Browse files
committed
Bug #21970806 - SYSSCHEMA.FN_PS_THREAD_TRX_INFO UNSTABLE ON PB2
1 parent 7c69f00 commit 4d505f1

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ JSON_CONTAINS(@json_doc, '"COMMIT"', '$[0].statements_executed[1].sql_text')
8080
SET @sys.ps_thread_trx_info.max_length = 100;
8181
SELECT sys.ps_thread_trx_info(@ps_thread_id);
8282
sys.ps_thread_trx_info(@ps_thread_id)
83-
{ "error": "Trx info truncated: Row 12 was cut by GROUP_CONCAT()" }
83+
{ "error": "Trx info truncated: Row 1X was cut by GROUP_CONCAT()" }
8484
SET @sys.ps_thread_trx_info.max_length = NULL;
8585
SELECT JSON_VALID(sys.ps_thread_trx_info(@ps_thread_id));
8686
JSON_VALID(sys.ps_thread_trx_info(@ps_thread_id))

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,7 @@ SELECT JSON_CONTAINS(@json_doc, '"COMMIT"', '$[0].statements_executed[1].sql_tex
7878
SET @sys.ps_thread_trx_info.max_length = 100;
7979

8080
# Should return an error JSON object
81+
--replace_regex /Row 1[1-2] was/Row 1X was/
8182
SELECT sys.ps_thread_trx_info(@ps_thread_id);
8283

8384
# Setting the user variable back to NULL should reset to 65535 from sys_config, and no truncation

0 commit comments

Comments
 (0)