75 double dtime= args[0]->val_real();
79 if ((arg_count != 1) || compare_double(0, dtime))
98 boost::this_thread::restore_interruption dl(session.getThreadInterupt());
102#if BOOST_VERSION >= 105000
103 xtime_get(&xt, boost::TIME_UTC_);
105 xtime_get(&xt, boost::TIME_UTC);
107 xt.nsec += (uint64_t)(dtime * 1000000000ULL);
108 session.getThread()->sleep(xt);
110 catch(boost::thread_interrupted
const& error)
112 my_error(drizzled::ER_QUERY_INTERRUPTED, MYF(0));