Fix SLEEP() to be interruptable. (Bug #12582)
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.
Showing
Please register or sign in to comment