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
34688d71
Commit
34688d71
authored
Aug 31, 2004
by
bar@mysql.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Better easier to call error message format.
parent
87cbc358
Changes
24
Hide whitespace changes
Inline
Side-by-side
Showing
24 changed files
with
26 additions
and
29 deletions
+26
-29
sql/share/czech/errmsg.txt
sql/share/czech/errmsg.txt
+1
-1
sql/share/danish/errmsg.txt
sql/share/danish/errmsg.txt
+1
-1
sql/share/dutch/errmsg.txt
sql/share/dutch/errmsg.txt
+1
-1
sql/share/english/errmsg.txt
sql/share/english/errmsg.txt
+1
-1
sql/share/estonian/errmsg.txt
sql/share/estonian/errmsg.txt
+1
-1
sql/share/french/errmsg.txt
sql/share/french/errmsg.txt
+1
-1
sql/share/german/errmsg.txt
sql/share/german/errmsg.txt
+1
-1
sql/share/greek/errmsg.txt
sql/share/greek/errmsg.txt
+1
-1
sql/share/hungarian/errmsg.txt
sql/share/hungarian/errmsg.txt
+1
-1
sql/share/italian/errmsg.txt
sql/share/italian/errmsg.txt
+1
-1
sql/share/japanese/errmsg.txt
sql/share/japanese/errmsg.txt
+1
-1
sql/share/korean/errmsg.txt
sql/share/korean/errmsg.txt
+1
-1
sql/share/norwegian-ny/errmsg.txt
sql/share/norwegian-ny/errmsg.txt
+1
-1
sql/share/norwegian/errmsg.txt
sql/share/norwegian/errmsg.txt
+1
-1
sql/share/polish/errmsg.txt
sql/share/polish/errmsg.txt
+1
-1
sql/share/portuguese/errmsg.txt
sql/share/portuguese/errmsg.txt
+1
-1
sql/share/romanian/errmsg.txt
sql/share/romanian/errmsg.txt
+1
-1
sql/share/russian/errmsg.txt
sql/share/russian/errmsg.txt
+1
-1
sql/share/serbian/errmsg.txt
sql/share/serbian/errmsg.txt
+1
-1
sql/share/slovak/errmsg.txt
sql/share/slovak/errmsg.txt
+1
-1
sql/share/spanish/errmsg.txt
sql/share/spanish/errmsg.txt
+1
-1
sql/share/swedish/errmsg.txt
sql/share/swedish/errmsg.txt
+1
-1
sql/share/ukrainian/errmsg.txt
sql/share/ukrainian/errmsg.txt
+1
-1
sql/sql_yacc.yy
sql/sql_yacc.yy
+3
-6
No files found.
sql/share/czech/errmsg.txt
View file @
34688d71
...
@@ -314,4 +314,4 @@ character-set=latin2
...
@@ -314,4 +314,4 @@ character-set=latin2
"Invalid TIMESTAMP value in column '%s' at row %ld",
"Invalid TIMESTAMP value in column '%s' at row %ld",
"Invalid %s character string: '%.64s'",
"Invalid %s character string: '%.64s'",
"Result of %s() was larger than max_allowed_packet (%ld) - truncated"
"Result of %s() was larger than max_allowed_packet (%ld) - truncated"
"Conflicting declarations: '%s
' and '
%s'"
"Conflicting declarations: '%s
%s' and '%s
%s'"
sql/share/danish/errmsg.txt
View file @
34688d71
...
@@ -308,4 +308,4 @@ character-set=latin1
...
@@ -308,4 +308,4 @@ character-set=latin1
"Invalid TIMESTAMP value in column '%s' at row %ld",
"Invalid TIMESTAMP value in column '%s' at row %ld",
"Invalid %s character string: '%.64s'",
"Invalid %s character string: '%.64s'",
"Result of %s() was larger than max_allowed_packet (%ld) - truncated"
"Result of %s() was larger than max_allowed_packet (%ld) - truncated"
"Conflicting declarations: '%s
' and '
%s'"
"Conflicting declarations: '%s
%s' and '%s
%s'"
sql/share/dutch/errmsg.txt
View file @
34688d71
...
@@ -316,4 +316,4 @@ character-set=latin1
...
@@ -316,4 +316,4 @@ character-set=latin1
"Invalid TIMESTAMP value in column '%s' at row %ld",
"Invalid TIMESTAMP value in column '%s' at row %ld",
"Invalid %s character string: '%.64s'",
"Invalid %s character string: '%.64s'",
"Result of %s() was larger than max_allowed_packet (%ld) - truncated"
"Result of %s() was larger than max_allowed_packet (%ld) - truncated"
"Conflicting declarations: '%s
' and '
%s'"
"Conflicting declarations: '%s
%s' and '%s
%s'"
sql/share/english/errmsg.txt
View file @
34688d71
...
@@ -305,4 +305,4 @@ character-set=latin1
...
@@ -305,4 +305,4 @@ character-set=latin1
"Invalid TIMESTAMP value in column '%s' at row %ld",
"Invalid TIMESTAMP value in column '%s' at row %ld",
"Invalid %s character string: '%.64s'",
"Invalid %s character string: '%.64s'",
"Result of %s() was larger than max_allowed_packet (%ld) - truncated"
"Result of %s() was larger than max_allowed_packet (%ld) - truncated"
"Conflicting declarations: '%s
' and '
%s'"
"Conflicting declarations: '%s
%s' and '%s
%s'"
sql/share/estonian/errmsg.txt
View file @
34688d71
...
@@ -310,4 +310,4 @@ character-set=latin7
...
@@ -310,4 +310,4 @@ character-set=latin7
"Invalid TIMESTAMP value in column '%s' at row %ld",
"Invalid TIMESTAMP value in column '%s' at row %ld",
"Invalid %s character string: '%.64s'",
"Invalid %s character string: '%.64s'",
"Result of %s() was larger than max_allowed_packet (%ld) - truncated"
"Result of %s() was larger than max_allowed_packet (%ld) - truncated"
"Conflicting declarations: '%s
' and '
%s'"
"Conflicting declarations: '%s
%s' and '%s
%s'"
sql/share/french/errmsg.txt
View file @
34688d71
...
@@ -305,4 +305,4 @@ character-set=latin1
...
@@ -305,4 +305,4 @@ character-set=latin1
"Invalid TIMESTAMP value in column '%s' at row %ld",
"Invalid TIMESTAMP value in column '%s' at row %ld",
"Invalid %s character string: '%.64s'",
"Invalid %s character string: '%.64s'",
"Result of %s() was larger than max_allowed_packet (%ld) - truncated"
"Result of %s() was larger than max_allowed_packet (%ld) - truncated"
"Conflicting declarations: '%s
' and '
%s'"
"Conflicting declarations: '%s
%s' and '%s
%s'"
sql/share/german/errmsg.txt
View file @
34688d71
...
@@ -317,4 +317,4 @@ character-set=latin1
...
@@ -317,4 +317,4 @@ character-set=latin1
"Invalid TIMESTAMP value in column '%s' at row %ld",
"Invalid TIMESTAMP value in column '%s' at row %ld",
"Invalid %s character string: '%.64s'",
"Invalid %s character string: '%.64s'",
"Result of %s() was larger than max_allowed_packet (%ld) - truncated"
"Result of %s() was larger than max_allowed_packet (%ld) - truncated"
"Conflicting declarations: '%s
' and '
%s'"
"Conflicting declarations: '%s
%s' and '%s
%s'"
sql/share/greek/errmsg.txt
View file @
34688d71
...
@@ -305,4 +305,4 @@ character-set=greek
...
@@ -305,4 +305,4 @@ character-set=greek
"Invalid TIMESTAMP value in column '%s' at row %ld",
"Invalid TIMESTAMP value in column '%s' at row %ld",
"Invalid %s character string: '%.64s'",
"Invalid %s character string: '%.64s'",
"Result of %s() was larger than max_allowed_packet (%ld) - truncated"
"Result of %s() was larger than max_allowed_packet (%ld) - truncated"
"Conflicting declarations: '%s
' and '
%s'"
"Conflicting declarations: '%s
%s' and '%s
%s'"
sql/share/hungarian/errmsg.txt
View file @
34688d71
...
@@ -307,4 +307,4 @@ character-set=latin2
...
@@ -307,4 +307,4 @@ character-set=latin2
"Invalid TIMESTAMP value in column '%s' at row %ld",
"Invalid TIMESTAMP value in column '%s' at row %ld",
"Invalid %s character string: '%.64s'",
"Invalid %s character string: '%.64s'",
"Result of %s() was larger than max_allowed_packet (%ld) - truncated"
"Result of %s() was larger than max_allowed_packet (%ld) - truncated"
"Conflicting declarations: '%s
' and '
%s'"
"Conflicting declarations: '%s
%s' and '%s
%s'"
sql/share/italian/errmsg.txt
View file @
34688d71
...
@@ -305,4 +305,4 @@ character-set=latin1
...
@@ -305,4 +305,4 @@ character-set=latin1
"Invalid TIMESTAMP value in column '%s' at row %ld",
"Invalid TIMESTAMP value in column '%s' at row %ld",
"Invalid %s character string: '%.64s'",
"Invalid %s character string: '%.64s'",
"Result of %s() was larger than max_allowed_packet (%ld) - truncated"
"Result of %s() was larger than max_allowed_packet (%ld) - truncated"
"Conflicting declarations: '%s
' and '
%s'"
"Conflicting declarations: '%s
%s' and '%s
%s'"
sql/share/japanese/errmsg.txt
View file @
34688d71
...
@@ -307,4 +307,4 @@ character-set=ujis
...
@@ -307,4 +307,4 @@ character-set=ujis
"Invalid TIMESTAMP value in column '%s' at row %ld",
"Invalid TIMESTAMP value in column '%s' at row %ld",
"Invalid %s character string: '%.64s'",
"Invalid %s character string: '%.64s'",
"Result of %s() was larger than max_allowed_packet (%ld) - truncated"
"Result of %s() was larger than max_allowed_packet (%ld) - truncated"
"Conflicting declarations: '%s
' and '
%s'"
"Conflicting declarations: '%s
%s' and '%s
%s'"
sql/share/korean/errmsg.txt
View file @
34688d71
...
@@ -305,4 +305,4 @@ character-set=euckr
...
@@ -305,4 +305,4 @@ character-set=euckr
"Invalid TIMESTAMP value in column '%s' at row %ld",
"Invalid TIMESTAMP value in column '%s' at row %ld",
"Invalid %s character string: '%.64s'",
"Invalid %s character string: '%.64s'",
"Result of %s() was larger than max_allowed_packet (%ld) - truncated"
"Result of %s() was larger than max_allowed_packet (%ld) - truncated"
"Conflicting declarations: '%s
' and '
%s'"
"Conflicting declarations: '%s
%s' and '%s
%s'"
sql/share/norwegian-ny/errmsg.txt
View file @
34688d71
...
@@ -307,4 +307,4 @@ character-set=latin1
...
@@ -307,4 +307,4 @@ character-set=latin1
"Invalid TIMESTAMP value in column '%s' at row %ld",
"Invalid TIMESTAMP value in column '%s' at row %ld",
"Invalid %s character string: '%.64s'",
"Invalid %s character string: '%.64s'",
"Result of %s() was larger than max_allowed_packet (%ld) - truncated"
"Result of %s() was larger than max_allowed_packet (%ld) - truncated"
"Conflicting declarations: '%s
' and '
%s'"
"Conflicting declarations: '%s
%s' and '%s
%s'"
sql/share/norwegian/errmsg.txt
View file @
34688d71
...
@@ -307,4 +307,4 @@ character-set=latin1
...
@@ -307,4 +307,4 @@ character-set=latin1
"Invalid TIMESTAMP value in column '%s' at row %ld",
"Invalid TIMESTAMP value in column '%s' at row %ld",
"Invalid %s character string: '%.64s'",
"Invalid %s character string: '%.64s'",
"Result of %s() was larger than max_allowed_packet (%ld) - truncated"
"Result of %s() was larger than max_allowed_packet (%ld) - truncated"
"Conflicting declarations: '%s
' and '
%s'"
"Conflicting declarations: '%s
%s' and '%s
%s'"
sql/share/polish/errmsg.txt
View file @
34688d71
...
@@ -309,4 +309,4 @@ character-set=latin2
...
@@ -309,4 +309,4 @@ character-set=latin2
"Invalid TIMESTAMP value in column '%s' at row %ld",
"Invalid TIMESTAMP value in column '%s' at row %ld",
"Invalid %s character string: '%.64s'",
"Invalid %s character string: '%.64s'",
"Result of %s() was larger than max_allowed_packet (%ld) - truncated"
"Result of %s() was larger than max_allowed_packet (%ld) - truncated"
"Conflicting declarations: '%s
' and '
%s'"
"Conflicting declarations: '%s
%s' and '%s
%s'"
sql/share/portuguese/errmsg.txt
View file @
34688d71
...
@@ -306,4 +306,4 @@ character-set=latin1
...
@@ -306,4 +306,4 @@ character-set=latin1
"Invalid TIMESTAMP value in column '%s' at row %ld",
"Invalid TIMESTAMP value in column '%s' at row %ld",
"Invalid %s character string: '%.64s'",
"Invalid %s character string: '%.64s'",
"Result of %s() was larger than max_allowed_packet (%ld) - truncated"
"Result of %s() was larger than max_allowed_packet (%ld) - truncated"
"Conflicting declarations: '%s
' and '
%s'"
"Conflicting declarations: '%s
%s' and '%s
%s'"
sql/share/romanian/errmsg.txt
View file @
34688d71
...
@@ -309,4 +309,4 @@ character-set=latin2
...
@@ -309,4 +309,4 @@ character-set=latin2
"Invalid TIMESTAMP value in column '%s' at row %ld",
"Invalid TIMESTAMP value in column '%s' at row %ld",
"Invalid %s character string: '%.64s'",
"Invalid %s character string: '%.64s'",
"Result of %s() was larger than max_allowed_packet (%ld) - truncated"
"Result of %s() was larger than max_allowed_packet (%ld) - truncated"
"Conflicting declarations: '%s
' and '
%s'"
"Conflicting declarations: '%s
%s' and '%s
%s'"
sql/share/russian/errmsg.txt
View file @
34688d71
...
@@ -307,4 +307,4 @@ character-set=koi8r
...
@@ -307,4 +307,4 @@ character-set=koi8r
"Invalid TIMESTAMP value in column '%s' at row %ld",
"Invalid TIMESTAMP value in column '%s' at row %ld",
"Invalid %s character string: '%.64s'",
"Invalid %s character string: '%.64s'",
"Result of %s() was larger than max_allowed_packet (%ld) - truncated"
"Result of %s() was larger than max_allowed_packet (%ld) - truncated"
"Conflicting declarations: '%s
' and '
%s'"
"Conflicting declarations: '%s
%s' and '%s
%s'"
sql/share/serbian/errmsg.txt
View file @
34688d71
...
@@ -311,4 +311,4 @@ character-set=cp1250
...
@@ -311,4 +311,4 @@ character-set=cp1250
"Invalid TIMESTAMP value in column '%s' at row %ld",
"Invalid TIMESTAMP value in column '%s' at row %ld",
"Invalid %s character string: '%.64s'",
"Invalid %s character string: '%.64s'",
"Result of %s() was larger than max_allowed_packet (%ld) - truncated"
"Result of %s() was larger than max_allowed_packet (%ld) - truncated"
"Conflicting declarations: '%s
' and '
%s'"
"Conflicting declarations: '%s
%s' and '%s
%s'"
sql/share/slovak/errmsg.txt
View file @
34688d71
...
@@ -313,4 +313,4 @@ character-set=latin2
...
@@ -313,4 +313,4 @@ character-set=latin2
"Invalid TIMESTAMP value in column '%s' at row %ld",
"Invalid TIMESTAMP value in column '%s' at row %ld",
"Invalid %s character string: '%.64s'",
"Invalid %s character string: '%.64s'",
"Result of %s() was larger than max_allowed_packet (%ld) - truncated"
"Result of %s() was larger than max_allowed_packet (%ld) - truncated"
"Conflicting declarations: '%s
' and '
%s'"
"Conflicting declarations: '%s
%s' and '%s
%s'"
sql/share/spanish/errmsg.txt
View file @
34688d71
...
@@ -307,4 +307,4 @@ character-set=latin1
...
@@ -307,4 +307,4 @@ character-set=latin1
"Invalid TIMESTAMP value in column '%s' at row %ld",
"Invalid TIMESTAMP value in column '%s' at row %ld",
"Invalid %s character string: '%.64s'",
"Invalid %s character string: '%.64s'",
"Result of %s() was larger than max_allowed_packet (%ld) - truncated"
"Result of %s() was larger than max_allowed_packet (%ld) - truncated"
"Conflicting declarations: '%s
' and '
%s'"
"Conflicting declarations: '%s
%s' and '%s
%s'"
sql/share/swedish/errmsg.txt
View file @
34688d71
...
@@ -305,4 +305,4 @@ character-set=latin1
...
@@ -305,4 +305,4 @@ character-set=latin1
"Invalid TIMESTAMP value in column '%s' at row %ld",
"Invalid TIMESTAMP value in column '%s' at row %ld",
"Invalid %s character string: '%.64s'",
"Invalid %s character string: '%.64s'",
"Result of %s() was larger than max_allowed_packet (%ld) - truncated"
"Result of %s() was larger than max_allowed_packet (%ld) - truncated"
"Conflicting declarations: '%s
' and '
%s'"
"Conflicting declarations: '%s
%s' and '%s
%s'"
sql/share/ukrainian/errmsg.txt
View file @
34688d71
...
@@ -310,4 +310,4 @@ character-set=koi8u
...
@@ -310,4 +310,4 @@ character-set=koi8u
"Invalid TIMESTAMP value in column '%s' at row %ld",
"Invalid TIMESTAMP value in column '%s' at row %ld",
"Invalid %s character string: '%.64s'",
"Invalid %s character string: '%.64s'",
"Result of %s() was larger than max_allowed_packet (%ld) - truncated"
"Result of %s() was larger than max_allowed_packet (%ld) - truncated"
"Conflicting declarations: '%s
' and '
%s'"
"Conflicting declarations: '%s
%s' and '%s
%s'"
sql/sql_yacc.yy
View file @
34688d71
...
@@ -1215,12 +1215,9 @@ default_charset:
...
@@ -1215,12 +1215,9 @@ default_charset:
cinfo->default_table_charset && $4 &&
cinfo->default_table_charset && $4 &&
!my_charset_same(cinfo->default_table_charset,$4))
!my_charset_same(cinfo->default_table_charset,$4))
{
{
char cs1[32];
net_printf(YYTHD, ER_CONFLICTING_DECLARATIONS,
char cs2[32];
"CHARACTER SET ", cinfo->default_table_charset->csname,
my_snprintf(cs1, sizeof(cs1), "CHARACTER SET %s",
"CHARACTER SET ", $4->csname);
cinfo->default_table_charset->csname);
my_snprintf(cs2, sizeof(cs2), "CHARACTER SET %s", $4->csname);
net_printf(YYTHD, ER_CONFLICTING_DECLARATIONS, cs1, cs2);
YYABORT;
YYABORT;
}
}
Lex->create_info.default_table_charset= $4;
Lex->create_info.default_table_charset= $4;
...
...
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