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:
committed by
Sergei Golubchik
parent
97e8d27bed
commit
510662e81b
@ -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));
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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.*");
|
||||
|
||||
|
@ -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";
|
||||
|
@ -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 #
|
||||
|
@ -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().
|
||||
|
@ -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
|
||||
|
@ -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 #
|
||||
|
@ -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
|
||||
|
@ -1,3 +1,8 @@
|
||||
if (`SELECT $PS_PROTOCOL != 0`)
|
||||
{
|
||||
--skip Test temporarily disabled for ps-protocol
|
||||
}
|
||||
|
||||
SET sql_mode=ORACLE;
|
||||
|
||||
|
||||
|
@ -1,3 +1,7 @@
|
||||
if (`SELECT $PS_PROTOCOL != 0`)
|
||||
{
|
||||
--skip Test temporarily disabled for ps-protocol
|
||||
}
|
||||
|
||||
--source include/not_embedded.inc
|
||||
|
||||
|
@ -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
|
||||
|
@ -1,3 +1,7 @@
|
||||
if (`SELECT $PS_PROTOCOL != 0`)
|
||||
{
|
||||
--skip Test temporarily disabled for ps-protocol
|
||||
}
|
||||
create procedure p1() select 1;
|
||||
|
||||
flush status;
|
||||
|
@ -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
|
||||
|
||||
|
Reference in New Issue
Block a user