summaryrefslogtreecommitdiff
path: root/sql/ha_ndbcluster.cc
diff options
context:
space:
mode:
authortomas@poseidon.ndb.mysql.com <>2006-07-05 01:52:38 +0200
committertomas@poseidon.ndb.mysql.com <>2006-07-05 01:52:38 +0200
commit35938c56f33b6786a3a717f01b86c6d32aac93a7 (patch)
treeb41ca11a50328c67d1d603e5d5f300dcfb6d803f /sql/ha_ndbcluster.cc
parent8c45fc2925e8f4ce43063234cb5e38acd9ae4cd6 (diff)
downloadmariadb-git-35938c56f33b6786a3a717f01b86c6d32aac93a7.tar.gz
Bug #20077 Cluster to only support partition by key, needs to error on others
Diffstat (limited to 'sql/ha_ndbcluster.cc')
-rw-r--r--sql/ha_ndbcluster.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/ha_ndbcluster.cc b/sql/ha_ndbcluster.cc
index a3ea70aafd9..33c79e1e4fd 100644
--- a/sql/ha_ndbcluster.cc
+++ b/sql/ha_ndbcluster.cc
@@ -9874,7 +9874,7 @@ uint ha_ndbcluster::set_up_partition_info(partition_info *part_info,
ndbcluster_hton_name,
"LIST, RANGE and HASH partition disabled by default,"
" use --new option to enable");
- return HA_ERR_UNSUPPORTED;
+ DBUG_RETURN(HA_ERR_UNSUPPORTED);
}
/*
Create a shadow field for those tables that have user defined