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
9229a993
Commit
9229a993
authored
Jul 22, 2005
by
pappa@c-8b0ae253.1238-1-64736c10.cust.bredbandsbolaget.se
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Bug #12097 More fixes
parent
bbab59eb
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
9 additions
and
6 deletions
+9
-6
mysql-test/r/partition_error.result
mysql-test/r/partition_error.result
+4
-2
mysql-test/t/partition_error.test
mysql-test/t/partition_error.test
+2
-2
sql/share/errmsg.txt
sql/share/errmsg.txt
+2
-2
sql/sql_yacc.yy
sql/sql_yacc.yy
+1
-0
No files found.
mysql-test/r/partition_error.result
View file @
9229a993
...
...
@@ -290,7 +290,8 @@ partition by range (a)
partitions 2
(partition x1 values less than (4.0) tablespace ts1,
partition x2 values less than (8) tablespace ts2);
ERROR HY000: VALUES LESS THAN value must be of same type as partition function
ERROR 42000: VALUES value must be of same type as partition function near ') tablespace ts1,
partition x2 values less than (8) tablespace ts2)' at line 8
CREATE TABLE t1 (
a int not null,
b int not null,
...
...
@@ -530,7 +531,8 @@ partition by list (a)
partitions 2
(partition x1 values in (4.0, 12+8),
partition x2 values in (3, 21));
ERROR HY000: VALUES IN value must be of same type as partition function
ERROR 42000: VALUES value must be of same type as partition function near ' 12+8),
partition x2 values in (3, 21))' at line 8
CREATE TABLE t1 (
a int not null,
b int not null,
...
...
mysql-test/t/partition_error.test
View file @
9229a993
...
...
@@ -389,7 +389,7 @@ partitions 2
#
# Partition by range, inconsistent partition function and constants
#
--
error
1
450
--
error
1
064
CREATE
TABLE
t1
(
a
int
not
null
,
b
int
not
null
,
...
...
@@ -702,7 +702,7 @@ partitions 2
#
# Partition by list, wrong constant result type (not INT)
#
--
error
1
450
--
error
1
064
CREATE
TABLE
t1
(
a
int
not
null
,
b
int
not
null
,
...
...
sql/share/errmsg.txt
View file @
9229a993
...
...
@@ -5427,8 +5427,8 @@ ER_RANGE_NOT_INCREASING_ERROR
eng "VALUES LESS THAN value must be strictly increasing for each partition"
swe "Vrden i VALUES LESS THAN mste vara strikt vxande fr varje partition"
ER_INCONSISTENT_TYPE_OF_FUNCTIONS_ERROR
eng "VALUES
%s
value must be of same type as partition function"
swe "Vrden i VALUES %
s m
ste vara av samma typ som partitioneringsfunktionen"
eng "VALUES value must be of same type as partition function"
swe "Vrden i VALUES mste vara av samma typ som partitioneringsfunktionen"
ER_MULTIPLE_DEF_CONST_IN_LIST_PART_ERROR
eng "Multiple definition of same constant in list partitioning"
swe "Multipel definition av samma konstant i list partitionering"
...
...
sql/sql_yacc.yy
View file @
9229a993
...
...
@@ -2864,6 +2864,7 @@ part_func_max:
YYABORT;
}
lex->part_info->defined_max_value= TRUE;
lex->part_info->curr_part_elem->range_value= LONGLONG_MAX;
}
| part_range_func
{
...
...
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