Permalink
Show file tree
Hide file tree
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
MDEV-26142: Fix failures of the tests main.features and sys_vars.stor…
…ed_program_cache_func when they are run in PS mode These tests produced different results in case they were run with the option --ps-protocol. These tests produced different result sets since a value of Feature_subquery and handler_read_key status system variables are updated one time more for ps-protocol (the first time it is updated on Prepare phase and the second time on Execute phase of PS protocol) So different result sets are expected for both tests. To make tests successfully runnable both for case it is run with and without the option --ps-protocol the new protocol combination [ps, nm] and protocol specific result files have been added. Moreover, the perl script mysql-test/mariadb-test-run.pl has been updated to make the variable opt_ps_protocol visible outside perl file containing this variable.
- Loading branch information
1 parent
ff0d3bb
commit 429382c
Showing
8 changed files
with
54 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,3 @@ | ||
| [nm] | ||
|
|
||
| [ps] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,2 @@ | ||
| # The goal of including this file is to enable protocol | ||
| # combinations (see include/protocol.combinations) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,21 @@ | ||
| --- features.result | ||
| +++ features,ps.result | ||
| @@ -46,7 +46,7 @@ | ||
| 1212 | ||
| show status like "feature_dynamic_columns"; | ||
| Variable_name Value | ||
| -Feature_dynamic_columns 2 | ||
| +Feature_dynamic_columns 4 | ||
| # | ||
| # Feature fulltext | ||
| # | ||
| @@ -93,7 +93,7 @@ | ||
| drop table t1; | ||
| show status like "feature_subquery"; | ||
| Variable_name Value | ||
| -Feature_subquery 4 | ||
| +Feature_subquery 5 | ||
| # | ||
| # Feature timezone | ||
| # | ||
|
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,18 @@ | ||
| --- stored_program_cache_func.result | ||
| +++ stored_program_cache_func,ps.result | ||
| @@ -21,13 +21,13 @@ | ||
| 1 | ||
| show status like 'handler_read_key'; | ||
| Variable_name Value | ||
| -Handler_read_key 2 | ||
| +Handler_read_key 3 | ||
| call p1; | ||
| 1 | ||
| 1 | ||
| show status like 'handler_read_key'; | ||
| Variable_name Value | ||
| -Handler_read_key 3 | ||
| +Handler_read_key 5 | ||
| drop procedure p1; | ||
| set global stored_program_cache=default; | ||
| create procedure pr(i int) begin |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters