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
96d012bc
Commit
96d012bc
authored
Apr 05, 2007
by
holyfoot/hf@mysql.com/hfmain.(none)
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
aftermerging fix
parent
18a25907
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
2 deletions
+8
-2
sql/partition_info.cc
sql/partition_info.cc
+8
-2
No files found.
sql/partition_info.cc
View file @
96d012bc
...
@@ -187,8 +187,14 @@ bool partition_info::set_up_default_partitions(handler *file,
...
@@ -187,8 +187,14 @@ bool partition_info::set_up_default_partitions(handler *file,
my_error
(
ER_PARTITIONS_MUST_BE_DEFINED_ERROR
,
MYF
(
0
),
error_string
);
my_error
(
ER_PARTITIONS_MUST_BE_DEFINED_ERROR
,
MYF
(
0
),
error_string
);
goto
end
;
goto
end
;
}
}
if
(
no_parts
==
0
)
no_parts
=
file
->
get_default_no_partitions
(
info
);
if
((
no_parts
==
0
)
&&
((
no_parts
=
file
->
get_default_no_partitions
(
info
))
==
0
))
{
my_error
(
ER_PARTITION_NOT_DEFINED_ERROR
,
MYF
(
0
),
"partitions"
);
goto
end
;
}
if
(
unlikely
(
no_parts
>
MAX_PARTITIONS
))
if
(
unlikely
(
no_parts
>
MAX_PARTITIONS
))
{
{
my_error
(
ER_TOO_MANY_PARTITIONS_ERROR
,
MYF
(
0
));
my_error
(
ER_TOO_MANY_PARTITIONS_ERROR
,
MYF
(
0
));
...
...
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