• Marko Mäkelä's avatar
    MDEV-21256: Simplify ut_rnd_interval() · d146e3dc
    Marko Mäkelä authored
    ut_rnd_interval(): Remove the first parameter, which was mostly
    passed as 0. Implement as a simple wrapper around ut_rnd_gen().
    Trivially return 0 if the size of the interval is smaller than 2.
    
    ut_rnd_ulint_counter, ut_rnd_gen_next_ulint(), ut_rnd_gen_ulint(): Remove.
    d146e3dc
ut0rnd.h 3.72 KB