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
4adb973d
Commit
4adb973d
authored
Mar 14, 2006
by
mikael@zim.(none)
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
BUG#15961: After review fixes
New error message
parent
c34c2cfa
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
1 deletion
+5
-1
sql/share/errmsg.txt
sql/share/errmsg.txt
+4
-0
sql/sql_partition.cc
sql/sql_partition.cc
+1
-1
No files found.
sql/share/errmsg.txt
View file @
4adb973d
...
@@ -5614,6 +5614,10 @@ ER_PARTITION_MAXVALUE_ERROR
...
@@ -5614,6 +5614,10 @@ ER_PARTITION_MAXVALUE_ERROR
ER_PARTITION_SUBPARTITION_ERROR
ER_PARTITION_SUBPARTITION_ERROR
eng "Subpartitions can only be hash partitions and by key"
eng "Subpartitions can only be hash partitions and by key"
swe "Subpartitioner kan bara vara hash och key partitioner"
swe "Subpartitioner kan bara vara hash och key partitioner"
ER_PARTITION_SUBPART_MIX_ERROR
eng "Must define subpartitions on all partitions if on one partition"
swe "Subpartitioner måste definieras på alla partitioner om på en"
ER_PARTITION_WRONG_NO_PART_ERROR
ER_PARTITION_WRONG_NO_PART_ERROR
eng "Wrong number of partitions defined, mismatch with previous setting"
eng "Wrong number of partitions defined, mismatch with previous setting"
swe "Antal partitioner definierade och antal partitioner r inte lika"
swe "Antal partitioner definierade och antal partitioner r inte lika"
...
...
sql/sql_partition.cc
View file @
4adb973d
...
@@ -704,7 +704,7 @@ bool check_partition_info(partition_info *part_info,handlerton **eng_type,
...
@@ -704,7 +704,7 @@ bool check_partition_info(partition_info *part_info,handlerton **eng_type,
part_info
->
part_type
==
LIST_PARTITION
))))
part_info
->
part_type
==
LIST_PARTITION
))))
{
{
/* Only RANGE and LIST partitioning can be subpartitioned */
/* Only RANGE and LIST partitioning can be subpartitioned */
my_error
(
ER_
SUBPARTITION
_ERROR
,
MYF
(
0
));
my_error
(
ER_
PARTITION_SUBPART_MIX
_ERROR
,
MYF
(
0
));
goto
end
;
goto
end
;
}
}
if
(
unlikely
(
part_info
->
set_up_defaults_for_partitioning
(
file
,
if
(
unlikely
(
part_info
->
set_up_defaults_for_partitioning
(
file
,
...
...
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