Commit bce05e9a authored by bell@sanja.is.com.ua's avatar bell@sanja.is.com.ua

Merge sanja.is.com.ua:/home/bell/mysql/bk/mysql-5.0

into sanja.is.com.ua:/home/bell/mysql/bk/work-error-5.0
parents 3fa511ff bc231c3d
...@@ -1863,9 +1863,9 @@ int Field_long::store(double nr) ...@@ -1863,9 +1863,9 @@ int Field_long::store(double nr)
res=0; res=0;
error= 1; error= 1;
} }
else if (nr > (double) (ulong) ~0L) else if (nr > (double) UINT_MAX32)
{ {
res=(int32) (uint32) ~0L; res= UINT_MAX32;
error= 1; error= 1;
} }
else else
......
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