Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
MariaDB
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
MariaDB
Commits
d3b52bd4
Commit
d3b52bd4
authored
Jul 04, 2006
by
tomas@poseidon.ndb.mysql.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Bug #20077 Cluster to only support partition by key, needs to error on others
parent
980852ee
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
15 additions
and
2 deletions
+15
-2
mysql-test/t/ndb_blob_partition.test
mysql-test/t/ndb_blob_partition.test
+4
-0
mysql-test/t/ndb_partition_error.test
mysql-test/t/ndb_partition_error.test
+3
-0
mysql-test/t/ndb_partition_list.test
mysql-test/t/ndb_partition_list.test
+4
-0
mysql-test/t/ndb_partition_range.test
mysql-test/t/ndb_partition_range.test
+4
-0
sql/ha_ndbcluster.cc
sql/ha_ndbcluster.cc
+0
-2
No files found.
mysql-test/t/ndb_blob_partition.test
View file @
d3b52bd4
--
source
include
/
have_ndb
.
inc
--
source
include
/
have_ndb
.
inc
--
source
include
/
not_embedded
.
inc
--
source
include
/
not_embedded
.
inc
--
disable_query_log
set
new
=
on
;
--
enable_query_log
--
disable_warnings
--
disable_warnings
drop
table
if
exists
t1
;
drop
table
if
exists
t1
;
--
enable_warnings
--
enable_warnings
...
...
mysql-test/t/ndb_partition_error.test
View file @
d3b52bd4
...
@@ -10,6 +10,9 @@
...
@@ -10,6 +10,9 @@
drop
table
if
exists
t1
;
drop
table
if
exists
t1
;
--
enable_warnings
--
enable_warnings
--
disable_query_log
set
new
=
on
;
--
enable_query_log
#
#
# Partition by range, generate node group error
# Partition by range, generate node group error
#
#
...
...
mysql-test/t/ndb_partition_list.test
View file @
d3b52bd4
...
@@ -5,6 +5,10 @@
...
@@ -5,6 +5,10 @@
#
#
#-- source include/have_partition.inc
#-- source include/have_partition.inc
--
disable_query_log
set
new
=
on
;
--
enable_query_log
--
disable_warnings
--
disable_warnings
drop
table
if
exists
t1
;
drop
table
if
exists
t1
;
--
enable_warnings
--
enable_warnings
...
...
mysql-test/t/ndb_partition_range.test
View file @
d3b52bd4
...
@@ -6,6 +6,10 @@
...
@@ -6,6 +6,10 @@
#
#
#-- source include/have_partition.inc
#-- source include/have_partition.inc
--
disable_query_log
set
new
=
on
;
--
enable_query_log
--
disable_warnings
--
disable_warnings
drop
table
if
exists
t1
;
drop
table
if
exists
t1
;
--
enable_warnings
--
enable_warnings
...
...
sql/ha_ndbcluster.cc
View file @
d3b52bd4
...
@@ -9866,7 +9866,6 @@ uint ha_ndbcluster::set_up_partition_info(partition_info *part_info,
...
@@ -9866,7 +9866,6 @@ uint ha_ndbcluster::set_up_partition_info(partition_info *part_info,
}
}
else
else
{
{
#ifdef NOT_YET
if
(
!
current_thd
->
variables
.
new_mode
)
if
(
!
current_thd
->
variables
.
new_mode
)
{
{
push_warning_printf
(
current_thd
,
MYSQL_ERROR
::
WARN_LEVEL_ERROR
,
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,
...
@@ -9877,7 +9876,6 @@ uint ha_ndbcluster::set_up_partition_info(partition_info *part_info,
" use --new option to enable"
);
" use --new option to enable"
);
return
HA_ERR_UNSUPPORTED
;
return
HA_ERR_UNSUPPORTED
;
}
}
#endif
/*
/*
Create a shadow field for those tables that have user defined
Create a shadow field for those tables that have user defined
partitioning. This field stores the value of the partition
partitioning. This field stores the value of the partition
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment