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
f1848be7
Commit
f1848be7
authored
Jul 08, 2013
by
Igor Babaev
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed a failure in partition_truncate.test.
parent
66f1a848
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
3 deletions
+3
-3
mysql-test/r/partition_truncate.result
mysql-test/r/partition_truncate.result
+1
-1
mysql-test/t/partition_truncate.test
mysql-test/t/partition_truncate.test
+1
-1
sql/partition_info.cc
sql/partition_info.cc
+1
-1
No files found.
mysql-test/r/partition_truncate.result
View file @
f1848be7
...
...
@@ -5,7 +5,7 @@ partition by list (a)
alter table t1 truncate partition p1,p1;
ERROR HY000: Incorrect partition name
alter table t1 truncate partition p0;
ERROR HY000:
Incorrect partition name
ERROR HY000:
Unknown partition 'p0' in table 't1'
drop table t1;
create table t1 (a int)
partition by list (a)
...
...
mysql-test/t/partition_truncate.test
View file @
f1848be7
...
...
@@ -11,7 +11,7 @@ partition by list (a)
(
partition
p1
values
in
(
0
));
--
error
ER_WRONG_PARTITION_NAME
alter
table
t1
truncate
partition
p1
,
p1
;
--
error
ER_
WRONG_PARTITION_NAME
--
error
ER_
UNKNOWN_PARTITION
alter
table
t1
truncate
partition
p0
;
drop
table
t1
;
...
...
sql/partition_info.cc
View file @
f1848be7
...
...
@@ -110,7 +110,7 @@ bool partition_info::add_named_partition(const char *part_name,
length
);
if
(
!
part_def
)
{
// my_error(ER_UNKNOWN_PARTITION, MYF(0), part_name, table->alias
);
my_error
(
ER_UNKNOWN_PARTITION
,
MYF
(
0
),
part_name
,
table
->
alias
.
c_ptr
()
);
DBUG_RETURN
(
true
);
}
...
...
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