1
0
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:
unknown
2006-07-04 18:29:21 +02:00
parent 053cd2f029
commit c85c6c07f8
5 changed files with 15 additions and 2 deletions

View File

@@ -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

View File

@@ -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
#

View File

@@ -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

View File

@@ -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

View File

@@ -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