mirror of
https://github.com/MariaDB/server.git
synced 2025-09-02 09:41:40 +03:00
Bug #20077 Cluster to only support partition by key, needs to error on others
This commit is contained in:
@@ -1,6 +1,10 @@
|
||||
--source include/have_ndb.inc
|
||||
-- source include/not_embedded.inc
|
||||
|
||||
--disable_query_log
|
||||
set new=on;
|
||||
--enable_query_log
|
||||
|
||||
--disable_warnings
|
||||
drop table if exists t1;
|
||||
--enable_warnings
|
||||
|
@@ -10,6 +10,9 @@
|
||||
drop table if exists t1;
|
||||
--enable_warnings
|
||||
|
||||
--disable_query_log
|
||||
set new=on;
|
||||
--enable_query_log
|
||||
#
|
||||
# Partition by range, generate node group error
|
||||
#
|
||||
|
@@ -5,6 +5,10 @@
|
||||
#
|
||||
#-- source include/have_partition.inc
|
||||
|
||||
--disable_query_log
|
||||
set new=on;
|
||||
--enable_query_log
|
||||
|
||||
--disable_warnings
|
||||
drop table if exists t1;
|
||||
--enable_warnings
|
||||
|
@@ -6,6 +6,10 @@
|
||||
#
|
||||
#-- source include/have_partition.inc
|
||||
|
||||
--disable_query_log
|
||||
set new=on;
|
||||
--enable_query_log
|
||||
|
||||
--disable_warnings
|
||||
drop table if exists t1;
|
||||
--enable_warnings
|
||||
|
@@ -9866,7 +9866,6 @@ uint ha_ndbcluster::set_up_partition_info(partition_info *part_info,
|
||||
}
|
||||
else
|
||||
{
|
||||
#ifdef NOT_YET
|
||||
if (!current_thd->variables.new_mode)
|
||||
{
|
||||
push_warning_printf(current_thd, MYSQL_ERROR::WARN_LEVEL_ERROR,
|
||||
@@ -9877,7 +9876,6 @@ uint ha_ndbcluster::set_up_partition_info(partition_info *part_info,
|
||||
" use --new option to enable");
|
||||
return HA_ERR_UNSUPPORTED;
|
||||
}
|
||||
#endif
|
||||
/*
|
||||
Create a shadow field for those tables that have user defined
|
||||
partitioning. This field stores the value of the partition
|
||||
|
Reference in New Issue
Block a user