1
0
mirror of https://github.com/MariaDB/server.git synced 2026-10-23 18:49:29 +03:00

fix for 32-bit

This commit is contained in:
Sergei Golubchik
2014-12-04 20:19:15 +01:00
parent 6ea9036743
commit 732d2daf44
2 changed files with 4 additions and 4 deletions

View File

@@ -9285,8 +9285,8 @@ bool Create_field::check(THD *thd)
if (decimals >= NOT_FIXED_DEC)
{
my_error(ER_TOO_BIG_SCALE, MYF(0), decimals, field_name,
static_cast<ulong>(NOT_FIXED_DEC - 1));
my_error(ER_TOO_BIG_SCALE, MYF(0), static_cast<ulonglong>(decimals),
field_name, static_cast<ulong>(NOT_FIXED_DEC - 1));
DBUG_RETURN(TRUE);
}

View File

@@ -5469,8 +5469,8 @@ ER_SP_NO_RECURSION
eng "Recursive stored functions and triggers are not allowed."
ger "Rekursive gespeicherte Routinen und Triggers sind nicht erlaubt"
ER_TOO_BIG_SCALE 42000 S1009
eng "Too big scale %u specified for '%-.192s'. Maximum is %lu."
ger "Zu großer Skalierungsfaktor %u für '%-.192s' angegeben. Maximum ist %lu"
eng "Too big scale %llu specified for '%-.192s'. Maximum is %u."
ger "Zu großer Skalierungsfaktor %llu für '%-.192s' angegeben. Maximum ist %u"
ER_TOO_BIG_PRECISION 42000 S1009
eng "Too big precision %llu specified for '%-.192s'. Maximum is %u."
ger "Zu große Genauigkeit %llu für '%-.192s' angegeben. Maximum ist %u"