1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-29 05:21:33 +03:00

MDEV-16708: more fixes to test cases

This commit is contained in:
Dmitry Shulga
2021-06-16 13:18:29 +02:00
committed by Sergei Golubchik
parent 97e8d27bed
commit 510662e81b
17 changed files with 66 additions and 5 deletions

View File

@ -1,3 +1,7 @@
if (`SELECT $PS_PROTOCOL != 0`)
{
--skip Test temporarily disabled for ps-protocol
}
--source include/default_optimizer_switch.inc
create table t1 (a int, b varchar(32));

View File

@ -1,6 +1,6 @@
# Can't test with embedded server that doesn't support grants
-- source include/not_embedded.inc
--disable_ps_protocol
call mtr.add_suppression("Column count of mysql.event is wrong. Expected .*, found .*\. The table is probably corrupted");
let $collation_server=`select @@collation_server`;
@ -172,3 +172,4 @@ select name, originator, status from mysql.event;
# Cleanup
drop event ev;
--enable_ps_protocol

View File

@ -1,4 +1,8 @@
# Testing of feature statistics
if (`SELECT $PS_PROTOCOL != 0`)
{
--skip Test temporarily disabled for ps-protocol
}
-- source include/have_geometry.inc

View File

@ -1,3 +1,7 @@
if (`SELECT $PS_PROTOCOL != 0`)
{
--skip Test temporarily disabled for ps-protocol
}
--echo #
--echo # The following entries are meant for testing the parser, ensuring
--echo # the right values are passed down to the executor, for all possible

View File

@ -2,6 +2,11 @@
# simple test of all group functions
#
if (`SELECT $PS_PROTOCOL != 0`)
{
--skip Test temporarily disabled for ps-protocol
}
--disable_warnings
drop table if exists t1,t2,t3,t4,t5,t6;
--enable_warnings

View File

@ -2,6 +2,11 @@
# Tests for LIMIT ROWS EXAMINED, MDEV-28
#
if (`SELECT $PS_PROTOCOL != 0`)
{
--skip Test temporarily disabled for ps-protocol
}
--source include/default_optimizer_switch.inc
call mtr.add_suppression("Sort aborted.*");

View File

@ -1,3 +1,7 @@
if (`SELECT $PS_PROTOCOL != 0`)
{
--skip Test temporarily disabled for ps-protocol
}
--source include/not_embedded.inc
--source include/have_sequence.inc
SELECT table_name, column_name FROM information_schema.columns where table_name="OPTIMIZER_TRACE";

View File

@ -1906,6 +1906,8 @@ drop table t1;
--echo # MDEV-19682 sql_mode="oracle" does not support sysdate
--echo #
--enable_prepare_warnings
--error ER_BAD_FIELD_ERROR
SELECT sysdate LIKE '____-__-__ __:__:__';
--error ER_BAD_FIELD_ERROR
@ -1951,6 +1953,8 @@ END;
$$
DELIMITER ;$$
--disable_prepare_warnings
--echo #
--echo # End of 10.6 tests
--echo #

View File

@ -1,3 +1,7 @@
if (`SELECT $PS_PROTOCOL != 0`)
{
--skip Test temporarily disabled for ps-protocol
}
#
# These tests are designed to cause an internal parser stack overflow,
# and trigger my_yyoverflow().

View File

@ -52,8 +52,6 @@ DROP FUNCTION f3;
# Bug #26807 "set global event_scheduler=1" and --skip-grant-tables crashes server
#
set global event_scheduler=1;
Warnings:
Note 1408 Event Scheduler: Loaded 0 events
set global event_scheduler=0;
#
# Bug#26285 Selecting information_schema crahes server

View File

@ -1,6 +1,6 @@
# This tests not performed with embedded server
-- source include/not_embedded.inc
-- disable_ps_protocol
use test;
#
@ -92,7 +92,9 @@ DROP FUNCTION f3;
--echo #
--echo # Bug #26807 "set global event_scheduler=1" and --skip-grant-tables crashes server
--echo #
--disable_warnings
set global event_scheduler=1;
--enable_warnings
set global event_scheduler=0;
--echo #
@ -161,6 +163,8 @@ drop user baz@baz;
# need to restart the server to restore the --skip-grant state
--source include/restart_mysqld.inc
--enable_ps_protocol
--echo #
--echo # End of 10.3 tests
--echo #

View File

@ -2,7 +2,10 @@
--echo # MDEV-10914 ROW data type for stored routine variables
--echo #
if (`SELECT $PS_PROTOCOL != 0`)
{
--skip Test temporarily disabled for ps-protocol
}
--echo #
--echo # ROW of ROWs is not supported yet

View File

@ -1,3 +1,8 @@
if (`SELECT $PS_PROTOCOL != 0`)
{
--skip Test temporarily disabled for ps-protocol
}
SET sql_mode=ORACLE;

View File

@ -1,3 +1,7 @@
if (`SELECT $PS_PROTOCOL != 0`)
{
--skip Test temporarily disabled for ps-protocol
}
--source include/not_embedded.inc

View File

@ -1,3 +1,7 @@
if (`SELECT $PS_PROTOCOL != 0`)
{
--skip Test temporarily disabled for ps-protocol
}
--let $rpl_topology=1->2
--source include/rpl_init.inc
--source include/have_innodb.inc

View File

@ -1,3 +1,7 @@
if (`SELECT $PS_PROTOCOL != 0`)
{
--skip Test temporarily disabled for ps-protocol
}
create procedure p1() select 1;
flush status;

View File

@ -1,3 +1,7 @@
if (`SELECT $PS_PROTOCOL != 0`)
{
--skip Test temporarily disabled for ps-protocol
}
--source include/have_innodb.inc
--source include/default_optimizer_switch.inc