• Tatiana A. Nurnberg's avatar
    Bug#35848: UUID() returns UUIDs with the wrong time · 2d41201c
    Tatiana A. Nurnberg authored
    offset for time part in UUIDs was 1/1000 of what it
    should be. In other words, offset was off.
    
    Also handle the case where we count into the future
    when several UUIDs are generated in one "tick", and
    then the next call is late enough for us to unwind
    some but not all of those borrowed ticks.
    
    Lastly, handle the case where we keep borrowing and
    borrowing until the tick-counter overflows by also
    changing into a new "numberspace" by creating a new
    random suffix.
    2d41201c
func_misc.result 9.57 KB