merge 5.0-bugteam -> 5.1-bugteam

This commit is contained in:
Gleb Shchepa 2008-07-11 02:47:23 +05:00
commit cb201518b3

View file

@ -3445,7 +3445,7 @@ String *Item_func_uuid::val_str(String *str)
/*
-1 so we won't make tv= uuid_time for nanoseq >= (tv - uuid_time)
*/
long delta= min(nanoseq, tv - uuid_time -1);
long delta= min(nanoseq, (long) (tv - uuid_time -1));
tv-= delta;
nanoseq-= delta;
}