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
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
mariadb
Commits
acaef19c
Commit
acaef19c
authored
Aug 31, 2006
by
gluh@mysql.com/gluh.(none)
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Bug#21862 Misleading error message 1490: "A PRIMARY KEY need to include all fields..."
fixed error message
parent
f01c7cd6
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
5 deletions
+3
-5
mysql-test/r/ndb_partition_key.result
mysql-test/r/ndb_partition_key.result
+1
-1
mysql-test/r/partition.result
mysql-test/r/partition.result
+1
-1
sql/share/errmsg.txt
sql/share/errmsg.txt
+1
-3
No files found.
mysql-test/r/ndb_partition_key.result
View file @
acaef19c
...
...
@@ -17,7 +17,7 @@ drop table t1;
CREATE TABLE t1 (a int, b int, c int, d int, PRIMARY KEY(a,b))
ENGINE = NDB
PARTITION BY KEY (c);
ERROR HY000: A PRIMARY KEY
need to include all fields in the partition
function
ERROR HY000: A PRIMARY KEY
must include all columns in the table's partitioning
function
CREATE TABLE t1 (a int, b int, c int, PRIMARY KEY(a,b))
ENGINE = NDB
PARTITION BY KEY (a);
...
...
mysql-test/r/partition.result
View file @
acaef19c
...
...
@@ -731,7 +731,7 @@ ERROR HY000: Cannot create temporary table with partitions
create table t1 (a int, b int) partition by list (a)
(partition p1 values in (1), partition p2 values in (2));
alter table t1 add primary key (b);
ERROR HY000: A PRIMARY KEY
need to include all fields in the partition
function
ERROR HY000: A PRIMARY KEY
must include all columns in the table's partitioning
function
show create table t1;
Table Create Table
t1 CREATE TABLE `t1` (
...
...
sql/share/errmsg.txt
View file @
acaef19c
...
...
@@ -5702,9 +5702,7 @@ ER_BLOB_FIELD_IN_PART_FUNC_ERROR
ger "In der Partitionierungsfunktion sind BLOB-Spalten nicht erlaubt"
swe "Ett BLOB-flt r inte tilltet i partitioneringsfunktioner"
ER_UNIQUE_KEY_NEED_ALL_FIELDS_IN_PF
eng "A %-.64s need to include all fields in the partition function"
ger "Ein %-.64s muss alle Spalten der Partitionierungsfunktion umfassen"
swe "En %-.64s behver inkludera alla flt i partitioneringsfunktionen fr denna lagringsmotor"
eng "A %-.64s must include all columns in the table's partitioning function"
ER_NO_PARTS_ERROR
eng "Number of %-.64s = 0 is not an allowed value"
ger "Eine Anzahl von %-.64s = 0 ist kein erlaubter Wert"
...
...
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