Skip to content

Commit 510662e

Browse files
dmitryshulgavuvova
authored andcommitted
MDEV-16708: more fixes to test cases
1 parent 97e8d27 commit 510662e

17 files changed

+66
-5
lines changed

mysql-test/main/cte_recursive.test

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
if (`SELECT $PS_PROTOCOL != 0`)
2+
{
3+
--skip Test temporarily disabled for ps-protocol
4+
}
15
--source include/default_optimizer_switch.inc
26

37
create table t1 (a int, b varchar(32));

mysql-test/main/events_restart.test

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Can't test with embedded server that doesn't support grants
22
-- source include/not_embedded.inc
3-
3+
--disable_ps_protocol
44
call mtr.add_suppression("Column count of mysql.event is wrong. Expected .*, found .*\. The table is probably corrupted");
55

66
let $collation_server=`select @@collation_server`;
@@ -172,3 +172,4 @@ select name, originator, status from mysql.event;
172172

173173
# Cleanup
174174
drop event ev;
175+
--enable_ps_protocol

mysql-test/main/features.test

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,8 @@
11
# Testing of feature statistics
2+
if (`SELECT $PS_PROTOCOL != 0`)
3+
{
4+
--skip Test temporarily disabled for ps-protocol
5+
}
26

37
-- source include/have_geometry.inc
48

mysql-test/main/fetch_first.test

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
if (`SELECT $PS_PROTOCOL != 0`)
2+
{
3+
--skip Test temporarily disabled for ps-protocol
4+
}
15
--echo #
26
--echo # The following entries are meant for testing the parser, ensuring
37
--echo # the right values are passed down to the executor, for all possible

mysql-test/main/func_group.test

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,11 @@
22
# simple test of all group functions
33
#
44

5+
if (`SELECT $PS_PROTOCOL != 0`)
6+
{
7+
--skip Test temporarily disabled for ps-protocol
8+
}
9+
510
--disable_warnings
611
drop table if exists t1,t2,t3,t4,t5,t6;
712
--enable_warnings

mysql-test/main/limit_rows_examined.test

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,11 @@
22
# Tests for LIMIT ROWS EXAMINED, MDEV-28
33
#
44

5+
if (`SELECT $PS_PROTOCOL != 0`)
6+
{
7+
--skip Test temporarily disabled for ps-protocol
8+
}
9+
510
--source include/default_optimizer_switch.inc
611
call mtr.add_suppression("Sort aborted.*");
712

mysql-test/main/opt_trace.test

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
if (`SELECT $PS_PROTOCOL != 0`)
2+
{
3+
--skip Test temporarily disabled for ps-protocol
4+
}
15
--source include/not_embedded.inc
26
--source include/have_sequence.inc
37
SELECT table_name, column_name FROM information_schema.columns where table_name="OPTIMIZER_TRACE";

mysql-test/main/parser.test

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1906,6 +1906,8 @@ drop table t1;
19061906
--echo # MDEV-19682 sql_mode="oracle" does not support sysdate
19071907
--echo #
19081908

1909+
--enable_prepare_warnings
1910+
19091911
--error ER_BAD_FIELD_ERROR
19101912
SELECT sysdate LIKE '____-__-__ __:__:__';
19111913
--error ER_BAD_FIELD_ERROR
@@ -1951,6 +1953,8 @@ END;
19511953
$$
19521954
DELIMITER ;$$
19531955

1956+
--disable_prepare_warnings
1957+
19541958
--echo #
19551959
--echo # End of 10.6 tests
19561960
--echo #

mysql-test/main/parser_stack.test

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
if (`SELECT $PS_PROTOCOL != 0`)
2+
{
3+
--skip Test temporarily disabled for ps-protocol
4+
}
15
#
26
# These tests are designed to cause an internal parser stack overflow,
37
# and trigger my_yyoverflow().

mysql-test/main/skip_grants.result

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,8 +52,6 @@ DROP FUNCTION f3;
5252
# Bug #26807 "set global event_scheduler=1" and --skip-grant-tables crashes server
5353
#
5454
set global event_scheduler=1;
55-
Warnings:
56-
Note 1408 Event Scheduler: Loaded 0 events
5755
set global event_scheduler=0;
5856
#
5957
# Bug#26285 Selecting information_schema crahes server

0 commit comments

Comments
 (0)