Commit 732d2daf authored by Sergei Golubchik's avatar Sergei Golubchik

fix for 32-bit

parent 6ea90367
...@@ -9285,8 +9285,8 @@ bool Create_field::check(THD *thd) ...@@ -9285,8 +9285,8 @@ bool Create_field::check(THD *thd)
if (decimals >= NOT_FIXED_DEC) if (decimals >= NOT_FIXED_DEC)
{ {
my_error(ER_TOO_BIG_SCALE, MYF(0), decimals, field_name, my_error(ER_TOO_BIG_SCALE, MYF(0), static_cast<ulonglong>(decimals),
static_cast<ulong>(NOT_FIXED_DEC - 1)); field_name, static_cast<ulong>(NOT_FIXED_DEC - 1));
DBUG_RETURN(TRUE); DBUG_RETURN(TRUE);
} }
......
...@@ -5469,8 +5469,8 @@ ER_SP_NO_RECURSION ...@@ -5469,8 +5469,8 @@ ER_SP_NO_RECURSION
eng "Recursive stored functions and triggers are not allowed." eng "Recursive stored functions and triggers are not allowed."
ger "Rekursive gespeicherte Routinen und Triggers sind nicht erlaubt" ger "Rekursive gespeicherte Routinen und Triggers sind nicht erlaubt"
ER_TOO_BIG_SCALE 42000 S1009 ER_TOO_BIG_SCALE 42000 S1009
eng "Too big scale %u specified for '%-.192s'. Maximum is %lu." eng "Too big scale %llu specified for '%-.192s'. Maximum is %u."
ger "Zu großer Skalierungsfaktor %u für '%-.192s' angegeben. Maximum ist %lu" ger "Zu großer Skalierungsfaktor %llu für '%-.192s' angegeben. Maximum ist %u"
ER_TOO_BIG_PRECISION 42000 S1009 ER_TOO_BIG_PRECISION 42000 S1009
eng "Too big precision %llu specified for '%-.192s'. Maximum is %u." eng "Too big precision %llu specified for '%-.192s'. Maximum is %u."
ger "Zu große Genauigkeit %llu für '%-.192s' angegeben. Maximum ist %u" ger "Zu große Genauigkeit %llu für '%-.192s' angegeben. Maximum ist %u"
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment