--disable_warnings
if (`SELECT count(*) FROM information_schema.GLOBAL_VARIABLES WHERE
      VARIABLE_NAME = 'THREAD_HANDLING' AND
      VARIABLE_VALUE = 'pool-of-threads'`){
  skip Test requires: 'not_threadpool';
}
--enable_warnings
