mirror of
https://github.com/MariaDB/server.git
synced 2026-05-16 20:07:13 +02:00
Better easier to call error message format.
This commit is contained in:
parent
d6493dbefe
commit
e9c594e6d4
24 changed files with 26 additions and 29 deletions
|
|
@ -314,4 +314,4 @@ character-set=latin2
|
|||
"Invalid TIMESTAMP value in column '%s' at row %ld",
|
||||
"Invalid %s character string: '%.64s'",
|
||||
"Result of %s() was larger than max_allowed_packet (%ld) - truncated"
|
||||
"Conflicting declarations: '%s' and '%s'"
|
||||
"Conflicting declarations: '%s%s' and '%s%s'"
|
||||
|
|
|
|||
|
|
@ -308,4 +308,4 @@ character-set=latin1
|
|||
"Invalid TIMESTAMP value in column '%s' at row %ld",
|
||||
"Invalid %s character string: '%.64s'",
|
||||
"Result of %s() was larger than max_allowed_packet (%ld) - truncated"
|
||||
"Conflicting declarations: '%s' and '%s'"
|
||||
"Conflicting declarations: '%s%s' and '%s%s'"
|
||||
|
|
|
|||
|
|
@ -316,4 +316,4 @@ character-set=latin1
|
|||
"Invalid TIMESTAMP value in column '%s' at row %ld",
|
||||
"Invalid %s character string: '%.64s'",
|
||||
"Result of %s() was larger than max_allowed_packet (%ld) - truncated"
|
||||
"Conflicting declarations: '%s' and '%s'"
|
||||
"Conflicting declarations: '%s%s' and '%s%s'"
|
||||
|
|
|
|||
|
|
@ -305,4 +305,4 @@ character-set=latin1
|
|||
"Invalid TIMESTAMP value in column '%s' at row %ld",
|
||||
"Invalid %s character string: '%.64s'",
|
||||
"Result of %s() was larger than max_allowed_packet (%ld) - truncated"
|
||||
"Conflicting declarations: '%s' and '%s'"
|
||||
"Conflicting declarations: '%s%s' and '%s%s'"
|
||||
|
|
|
|||
|
|
@ -310,4 +310,4 @@ character-set=latin7
|
|||
"Invalid TIMESTAMP value in column '%s' at row %ld",
|
||||
"Invalid %s character string: '%.64s'",
|
||||
"Result of %s() was larger than max_allowed_packet (%ld) - truncated"
|
||||
"Conflicting declarations: '%s' and '%s'"
|
||||
"Conflicting declarations: '%s%s' and '%s%s'"
|
||||
|
|
|
|||
|
|
@ -305,4 +305,4 @@ character-set=latin1
|
|||
"Invalid TIMESTAMP value in column '%s' at row %ld",
|
||||
"Invalid %s character string: '%.64s'",
|
||||
"Result of %s() was larger than max_allowed_packet (%ld) - truncated"
|
||||
"Conflicting declarations: '%s' and '%s'"
|
||||
"Conflicting declarations: '%s%s' and '%s%s'"
|
||||
|
|
|
|||
|
|
@ -317,4 +317,4 @@ character-set=latin1
|
|||
"Invalid TIMESTAMP value in column '%s' at row %ld",
|
||||
"Invalid %s character string: '%.64s'",
|
||||
"Result of %s() was larger than max_allowed_packet (%ld) - truncated"
|
||||
"Conflicting declarations: '%s' and '%s'"
|
||||
"Conflicting declarations: '%s%s' and '%s%s'"
|
||||
|
|
|
|||
|
|
@ -305,4 +305,4 @@ character-set=greek
|
|||
"Invalid TIMESTAMP value in column '%s' at row %ld",
|
||||
"Invalid %s character string: '%.64s'",
|
||||
"Result of %s() was larger than max_allowed_packet (%ld) - truncated"
|
||||
"Conflicting declarations: '%s' and '%s'"
|
||||
"Conflicting declarations: '%s%s' and '%s%s'"
|
||||
|
|
|
|||
|
|
@ -307,4 +307,4 @@ character-set=latin2
|
|||
"Invalid TIMESTAMP value in column '%s' at row %ld",
|
||||
"Invalid %s character string: '%.64s'",
|
||||
"Result of %s() was larger than max_allowed_packet (%ld) - truncated"
|
||||
"Conflicting declarations: '%s' and '%s'"
|
||||
"Conflicting declarations: '%s%s' and '%s%s'"
|
||||
|
|
|
|||
|
|
@ -305,4 +305,4 @@ character-set=latin1
|
|||
"Invalid TIMESTAMP value in column '%s' at row %ld",
|
||||
"Invalid %s character string: '%.64s'",
|
||||
"Result of %s() was larger than max_allowed_packet (%ld) - truncated"
|
||||
"Conflicting declarations: '%s' and '%s'"
|
||||
"Conflicting declarations: '%s%s' and '%s%s'"
|
||||
|
|
|
|||
|
|
@ -307,4 +307,4 @@ character-set=ujis
|
|||
"Invalid TIMESTAMP value in column '%s' at row %ld",
|
||||
"Invalid %s character string: '%.64s'",
|
||||
"Result of %s() was larger than max_allowed_packet (%ld) - truncated"
|
||||
"Conflicting declarations: '%s' and '%s'"
|
||||
"Conflicting declarations: '%s%s' and '%s%s'"
|
||||
|
|
|
|||
|
|
@ -305,4 +305,4 @@ character-set=euckr
|
|||
"Invalid TIMESTAMP value in column '%s' at row %ld",
|
||||
"Invalid %s character string: '%.64s'",
|
||||
"Result of %s() was larger than max_allowed_packet (%ld) - truncated"
|
||||
"Conflicting declarations: '%s' and '%s'"
|
||||
"Conflicting declarations: '%s%s' and '%s%s'"
|
||||
|
|
|
|||
|
|
@ -307,4 +307,4 @@ character-set=latin1
|
|||
"Invalid TIMESTAMP value in column '%s' at row %ld",
|
||||
"Invalid %s character string: '%.64s'",
|
||||
"Result of %s() was larger than max_allowed_packet (%ld) - truncated"
|
||||
"Conflicting declarations: '%s' and '%s'"
|
||||
"Conflicting declarations: '%s%s' and '%s%s'"
|
||||
|
|
|
|||
|
|
@ -307,4 +307,4 @@ character-set=latin1
|
|||
"Invalid TIMESTAMP value in column '%s' at row %ld",
|
||||
"Invalid %s character string: '%.64s'",
|
||||
"Result of %s() was larger than max_allowed_packet (%ld) - truncated"
|
||||
"Conflicting declarations: '%s' and '%s'"
|
||||
"Conflicting declarations: '%s%s' and '%s%s'"
|
||||
|
|
|
|||
|
|
@ -309,4 +309,4 @@ character-set=latin2
|
|||
"Invalid TIMESTAMP value in column '%s' at row %ld",
|
||||
"Invalid %s character string: '%.64s'",
|
||||
"Result of %s() was larger than max_allowed_packet (%ld) - truncated"
|
||||
"Conflicting declarations: '%s' and '%s'"
|
||||
"Conflicting declarations: '%s%s' and '%s%s'"
|
||||
|
|
|
|||
|
|
@ -306,4 +306,4 @@ character-set=latin1
|
|||
"Invalid TIMESTAMP value in column '%s' at row %ld",
|
||||
"Invalid %s character string: '%.64s'",
|
||||
"Result of %s() was larger than max_allowed_packet (%ld) - truncated"
|
||||
"Conflicting declarations: '%s' and '%s'"
|
||||
"Conflicting declarations: '%s%s' and '%s%s'"
|
||||
|
|
|
|||
|
|
@ -309,4 +309,4 @@ character-set=latin2
|
|||
"Invalid TIMESTAMP value in column '%s' at row %ld",
|
||||
"Invalid %s character string: '%.64s'",
|
||||
"Result of %s() was larger than max_allowed_packet (%ld) - truncated"
|
||||
"Conflicting declarations: '%s' and '%s'"
|
||||
"Conflicting declarations: '%s%s' and '%s%s'"
|
||||
|
|
|
|||
|
|
@ -307,4 +307,4 @@ character-set=koi8r
|
|||
"Invalid TIMESTAMP value in column '%s' at row %ld",
|
||||
"Invalid %s character string: '%.64s'",
|
||||
"Result of %s() was larger than max_allowed_packet (%ld) - truncated"
|
||||
"Conflicting declarations: '%s' and '%s'"
|
||||
"Conflicting declarations: '%s%s' and '%s%s'"
|
||||
|
|
|
|||
|
|
@ -311,4 +311,4 @@ character-set=cp1250
|
|||
"Invalid TIMESTAMP value in column '%s' at row %ld",
|
||||
"Invalid %s character string: '%.64s'",
|
||||
"Result of %s() was larger than max_allowed_packet (%ld) - truncated"
|
||||
"Conflicting declarations: '%s' and '%s'"
|
||||
"Conflicting declarations: '%s%s' and '%s%s'"
|
||||
|
|
|
|||
|
|
@ -313,4 +313,4 @@ character-set=latin2
|
|||
"Invalid TIMESTAMP value in column '%s' at row %ld",
|
||||
"Invalid %s character string: '%.64s'",
|
||||
"Result of %s() was larger than max_allowed_packet (%ld) - truncated"
|
||||
"Conflicting declarations: '%s' and '%s'"
|
||||
"Conflicting declarations: '%s%s' and '%s%s'"
|
||||
|
|
|
|||
|
|
@ -307,4 +307,4 @@ character-set=latin1
|
|||
"Invalid TIMESTAMP value in column '%s' at row %ld",
|
||||
"Invalid %s character string: '%.64s'",
|
||||
"Result of %s() was larger than max_allowed_packet (%ld) - truncated"
|
||||
"Conflicting declarations: '%s' and '%s'"
|
||||
"Conflicting declarations: '%s%s' and '%s%s'"
|
||||
|
|
|
|||
|
|
@ -305,4 +305,4 @@ character-set=latin1
|
|||
"Invalid TIMESTAMP value in column '%s' at row %ld",
|
||||
"Invalid %s character string: '%.64s'",
|
||||
"Result of %s() was larger than max_allowed_packet (%ld) - truncated"
|
||||
"Conflicting declarations: '%s' and '%s'"
|
||||
"Conflicting declarations: '%s%s' and '%s%s'"
|
||||
|
|
|
|||
|
|
@ -310,4 +310,4 @@ character-set=koi8u
|
|||
"Invalid TIMESTAMP value in column '%s' at row %ld",
|
||||
"Invalid %s character string: '%.64s'",
|
||||
"Result of %s() was larger than max_allowed_packet (%ld) - truncated"
|
||||
"Conflicting declarations: '%s' and '%s'"
|
||||
"Conflicting declarations: '%s%s' and '%s%s'"
|
||||
|
|
|
|||
|
|
@ -1215,12 +1215,9 @@ default_charset:
|
|||
cinfo->default_table_charset && $4 &&
|
||||
!my_charset_same(cinfo->default_table_charset,$4))
|
||||
{
|
||||
char cs1[32];
|
||||
char cs2[32];
|
||||
my_snprintf(cs1, sizeof(cs1), "CHARACTER SET %s",
|
||||
cinfo->default_table_charset->csname);
|
||||
my_snprintf(cs2, sizeof(cs2), "CHARACTER SET %s", $4->csname);
|
||||
net_printf(YYTHD, ER_CONFLICTING_DECLARATIONS, cs1, cs2);
|
||||
net_printf(YYTHD, ER_CONFLICTING_DECLARATIONS,
|
||||
"CHARACTER SET ", cinfo->default_table_charset->csname,
|
||||
"CHARACTER SET ", $4->csname);
|
||||
YYABORT;
|
||||
}
|
||||
Lex->create_info.default_table_charset= $4;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue