threads_get now works with mod_database