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
9711ee84
Commit
9711ee84
authored
Aug 02, 2006
by
mikael/pappa@dator5.(none)
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
BUG#18198: Fixes
ascii on varchar now allowed
parent
fbd15d25
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
mysql-test/r/partition_error.result
mysql-test/r/partition_error.result
+1
-1
mysql-test/t/partition_error.test
mysql-test/t/partition_error.test
+1
-1
No files found.
mysql-test/r/partition_error.result
View file @
9711ee84
...
@@ -641,7 +641,7 @@ ERROR HY000: Partition constant is out of partition function domain
...
@@ -641,7 +641,7 @@ ERROR HY000: Partition constant is out of partition function domain
create table t1 (v varchar(12))
create table t1 (v varchar(12))
partition by range (ascii(v))
partition by range (ascii(v))
(partition p0 values less than (10));
(partition p0 values less than (10));
ERROR HY000: This partition function is not allowed
drop table t1;
create table t1 (a int)
create table t1 (a int)
partition by hash (rand(a));
partition by hash (rand(a));
ERROR 42000: Constant/Random expression in (sub)partitioning function is not allowed near ')' at line 2
ERROR 42000: Constant/Random expression in (sub)partitioning function is not allowed near ')' at line 2
...
...
mysql-test/t/partition_error.test
View file @
9711ee84
...
@@ -809,10 +809,10 @@ partition by range (a)
...
@@ -809,10 +809,10 @@ partition by range (a)
#
#
# Bug 18198 Partitions: Verify that erroneus partition functions doesn't work
# Bug 18198 Partitions: Verify that erroneus partition functions doesn't work
#
#
--
error
ER_PARTITION_FUNCTION_IS_NOT_ALLOWED
create
table
t1
(
v
varchar
(
12
))
create
table
t1
(
v
varchar
(
12
))
partition
by
range
(
ascii
(
v
))
partition
by
range
(
ascii
(
v
))
(
partition
p0
values
less
than
(
10
));
(
partition
p0
values
less
than
(
10
));
drop
table
t1
;
--
error
1064
--
error
1064
create
table
t1
(
a
int
)
create
table
t1
(
a
int
)
...
...
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