Commit d4f4f83e authored by Gleb Shchepa's avatar Gleb Shchepa

merge 5.0-bugteam -> 5.1-bugteam

parents 0fe5b015 04dc6639
...@@ -3445,7 +3445,7 @@ String *Item_func_uuid::val_str(String *str) ...@@ -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) -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; tv-= delta;
nanoseq-= delta; nanoseq-= delta;
} }
......
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