• unknown's avatar
    Fix SLEEP() to be interruptable. (Bug #12582) · cbdd54e4
    unknown authored
    
    include/my_global.h:
      Add set_timespec_nsec() for setting higher-resolution time.
    sql/item_func.cc:
      Use pthread_cond_timedwait() for SLEEP() so that it can be killed
      using the normal thread/query-killing code.
    cbdd54e4
my_global.h 39.4 KB