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
ba115894
Commit
ba115894
authored
Mar 29, 2005
by
bar@mysql.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Better error message.
Bugs#9057: Incorrect errormsg for too-large char field in table definition
parent
21159004
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
mysql-test/r/type_blob.result
mysql-test/r/type_blob.result
+1
-1
sql/share/english/errmsg.txt
sql/share/english/errmsg.txt
+1
-1
No files found.
mysql-test/r/type_blob.result
View file @
ba115894
...
@@ -27,7 +27,7 @@ t3 CREATE TABLE `t3` (
...
@@ -27,7 +27,7 @@ t3 CREATE TABLE `t3` (
drop table t1,t2,t3
drop table t1,t2,t3
#;
#;
CREATE TABLE t1 (a char(257) default "hello");
CREATE TABLE t1 (a char(257) default "hello");
ERROR 42000: Column length too big for column 'a' (max = 255); use BLOB instead
ERROR 42000: Column length too big for column 'a' (max = 255); use BLOB
or TEXT
instead
CREATE TABLE t2 (a blob default "hello");
CREATE TABLE t2 (a blob default "hello");
ERROR 42000: BLOB/TEXT column 'a' can't have a default value
ERROR 42000: BLOB/TEXT column 'a' can't have a default value
drop table if exists t1,t2;
drop table if exists t1,t2;
...
...
sql/share/english/errmsg.txt
View file @
ba115894
...
@@ -90,7 +90,7 @@ character-set=latin1
...
@@ -90,7 +90,7 @@ character-set=latin1
"Specified key was too long; max key length is %d bytes",
"Specified key was too long; max key length is %d bytes",
"Key column '%-.64s' doesn't exist in table",
"Key column '%-.64s' doesn't exist in table",
"BLOB column '%-.64s' can't be used in key specification with the used table type",
"BLOB column '%-.64s' can't be used in key specification with the used table type",
"Column length too big for column '%-.64s' (max = %d); use BLOB instead",
"Column length too big for column '%-.64s' (max = %d); use BLOB
or TEXT
instead",
"Incorrect table definition; there can be only one auto column and it must be defined as a key",
"Incorrect table definition; there can be only one auto column and it must be defined as a key",
"%s: ready for connections.\nVersion: '%s' socket: '%s' port: %d",
"%s: ready for connections.\nVersion: '%s' socket: '%s' port: %d",
"%s: Normal shutdown\n",
"%s: Normal shutdown\n",
...
...
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