Commit 510662e8 authored by Dmitry Shulga's avatar Dmitry Shulga Committed by Sergei Golubchik

MDEV-16708: more fixes to test cases

parent 97e8d27b
if (`SELECT $PS_PROTOCOL != 0`)
{
--skip Test temporarily disabled for ps-protocol
}
--source include/default_optimizer_switch.inc --source include/default_optimizer_switch.inc
create table t1 (a int, b varchar(32)); create table t1 (a int, b varchar(32));
......
# Can't test with embedded server that doesn't support grants # Can't test with embedded server that doesn't support grants
-- source include/not_embedded.inc -- 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"); call mtr.add_suppression("Column count of mysql.event is wrong. Expected .*, found .*\. The table is probably corrupted");
let $collation_server=`select @@collation_server`; let $collation_server=`select @@collation_server`;
...@@ -172,3 +172,4 @@ select name, originator, status from mysql.event; ...@@ -172,3 +172,4 @@ select name, originator, status from mysql.event;
# Cleanup # Cleanup
drop event ev; drop event ev;
--enable_ps_protocol
# Testing of feature statistics # Testing of feature statistics
if (`SELECT $PS_PROTOCOL != 0`)
{
--skip Test temporarily disabled for ps-protocol
}
-- source include/have_geometry.inc -- source include/have_geometry.inc
......
if (`SELECT $PS_PROTOCOL != 0`)
{
--skip Test temporarily disabled for ps-protocol
}
--echo # --echo #
--echo # The following entries are meant for testing the parser, ensuring --echo # The following entries are meant for testing the parser, ensuring
--echo # the right values are passed down to the executor, for all possible --echo # the right values are passed down to the executor, for all possible
......
...@@ -2,6 +2,11 @@ ...@@ -2,6 +2,11 @@
# simple test of all group functions # simple test of all group functions
# #
if (`SELECT $PS_PROTOCOL != 0`)
{
--skip Test temporarily disabled for ps-protocol
}
--disable_warnings --disable_warnings
drop table if exists t1,t2,t3,t4,t5,t6; drop table if exists t1,t2,t3,t4,t5,t6;
--enable_warnings --enable_warnings
......
...@@ -2,6 +2,11 @@ ...@@ -2,6 +2,11 @@
# Tests for LIMIT ROWS EXAMINED, MDEV-28 # 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 --source include/default_optimizer_switch.inc
call mtr.add_suppression("Sort aborted.*"); call mtr.add_suppression("Sort aborted.*");
......
if (`SELECT $PS_PROTOCOL != 0`)
{
--skip Test temporarily disabled for ps-protocol
}
--source include/not_embedded.inc --source include/not_embedded.inc
--source include/have_sequence.inc --source include/have_sequence.inc
SELECT table_name, column_name FROM information_schema.columns where table_name="OPTIMIZER_TRACE"; SELECT table_name, column_name FROM information_schema.columns where table_name="OPTIMIZER_TRACE";
......
...@@ -1906,6 +1906,8 @@ drop table t1; ...@@ -1906,6 +1906,8 @@ drop table t1;
--echo # MDEV-19682 sql_mode="oracle" does not support sysdate --echo # MDEV-19682 sql_mode="oracle" does not support sysdate
--echo # --echo #
--enable_prepare_warnings
--error ER_BAD_FIELD_ERROR --error ER_BAD_FIELD_ERROR
SELECT sysdate LIKE '____-__-__ __:__:__'; SELECT sysdate LIKE '____-__-__ __:__:__';
--error ER_BAD_FIELD_ERROR --error ER_BAD_FIELD_ERROR
...@@ -1951,6 +1953,8 @@ END; ...@@ -1951,6 +1953,8 @@ END;
$$ $$
DELIMITER ;$$ DELIMITER ;$$
--disable_prepare_warnings
--echo # --echo #
--echo # End of 10.6 tests --echo # End of 10.6 tests
--echo # --echo #
if (`SELECT $PS_PROTOCOL != 0`)
{
--skip Test temporarily disabled for ps-protocol
}
# #
# These tests are designed to cause an internal parser stack overflow, # These tests are designed to cause an internal parser stack overflow,
# and trigger my_yyoverflow(). # and trigger my_yyoverflow().
......
...@@ -52,8 +52,6 @@ DROP FUNCTION f3; ...@@ -52,8 +52,6 @@ DROP FUNCTION f3;
# Bug #26807 "set global event_scheduler=1" and --skip-grant-tables crashes server # Bug #26807 "set global event_scheduler=1" and --skip-grant-tables crashes server
# #
set global event_scheduler=1; set global event_scheduler=1;
Warnings:
Note 1408 Event Scheduler: Loaded 0 events
set global event_scheduler=0; set global event_scheduler=0;
# #
# Bug#26285 Selecting information_schema crahes server # Bug#26285 Selecting information_schema crahes server
......
# This tests not performed with embedded server # This tests not performed with embedded server
-- source include/not_embedded.inc -- source include/not_embedded.inc
-- disable_ps_protocol
use test; use test;
# #
...@@ -92,7 +92,9 @@ DROP FUNCTION f3; ...@@ -92,7 +92,9 @@ DROP FUNCTION f3;
--echo # --echo #
--echo # Bug #26807 "set global event_scheduler=1" and --skip-grant-tables crashes server --echo # Bug #26807 "set global event_scheduler=1" and --skip-grant-tables crashes server
--echo # --echo #
--disable_warnings
set global event_scheduler=1; set global event_scheduler=1;
--enable_warnings
set global event_scheduler=0; set global event_scheduler=0;
--echo # --echo #
...@@ -161,6 +163,8 @@ drop user baz@baz; ...@@ -161,6 +163,8 @@ drop user baz@baz;
# need to restart the server to restore the --skip-grant state # need to restart the server to restore the --skip-grant state
--source include/restart_mysqld.inc --source include/restart_mysqld.inc
--enable_ps_protocol
--echo # --echo #
--echo # End of 10.3 tests --echo # End of 10.3 tests
--echo # --echo #
...@@ -2,7 +2,10 @@ ...@@ -2,7 +2,10 @@
--echo # MDEV-10914 ROW data type for stored routine variables --echo # MDEV-10914 ROW data type for stored routine variables
--echo # --echo #
if (`SELECT $PS_PROTOCOL != 0`)
{
--skip Test temporarily disabled for ps-protocol
}
--echo # --echo #
--echo # ROW of ROWs is not supported yet --echo # ROW of ROWs is not supported yet
......
if (`SELECT $PS_PROTOCOL != 0`)
{
--skip Test temporarily disabled for ps-protocol
}
SET sql_mode=ORACLE; SET sql_mode=ORACLE;
......
if (`SELECT $PS_PROTOCOL != 0`)
{
--skip Test temporarily disabled for ps-protocol
}
--source include/not_embedded.inc --source include/not_embedded.inc
......
if (`SELECT $PS_PROTOCOL != 0`)
{
--skip Test temporarily disabled for ps-protocol
}
--let $rpl_topology=1->2 --let $rpl_topology=1->2
--source include/rpl_init.inc --source include/rpl_init.inc
--source include/have_innodb.inc --source include/have_innodb.inc
......
if (`SELECT $PS_PROTOCOL != 0`)
{
--skip Test temporarily disabled for ps-protocol
}
create procedure p1() select 1; create procedure p1() select 1;
flush status; flush status;
......
if (`SELECT $PS_PROTOCOL != 0`)
{
--skip Test temporarily disabled for ps-protocol
}
--source include/have_innodb.inc --source include/have_innodb.inc
--source include/default_optimizer_switch.inc --source include/default_optimizer_switch.inc
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment