Fix tests for PLUGIN_PARTITION=NO

This commit is contained in:
Marko Mäkelä 2021-10-27 08:54:06 +03:00
parent d062b69037
commit 4b8340d899
3 changed files with 3 additions and 0 deletions

View File

@ -1,4 +1,5 @@
#--source include/innodb_page_size.inc
--source include/have_partition.inc
# import partitioned table from table from partial backup

View File

@ -1,3 +1,4 @@
--source include/have_partition.inc
#
# Basic stored PROCEDURE tests
#

View File

@ -29,6 +29,7 @@ show warnings;
set @@test_sql_discovery_statement='t1:create table t1 (a int primary key) partition by hash(id) partitions 2';
--error ER_SQL_DISCOVER_ERROR
select * from t1;
--replace_result 1289 1290 "The 'partitioning' feature is disabled; you need MariaDB built with '--with-plugin-partition' to have it working" "The MariaDB server is running with the --skip-partition option so it cannot execute this statement"
show warnings;
set @@test_sql_discovery_statement='t1:create table t1 (a int) union=(t3,t4)';