| 4511 | } |
| 4512 | |
| 4513 | void* thd_getspecific(MYSQL_THD thd, MYSQL_THD_KEY_T key) |
| 4514 | { |
| 4515 | DBUG_ASSERT(key != INVALID_THD_KEY); |
| 4516 | if (key == INVALID_THD_KEY || (!thd && !(thd= current_thd))) |
| 4517 | return 0; |
| 4518 | |
| 4519 | return *(void**)(intern_sys_var_ptr(thd, key, true)); |
| 4520 | } |
| 4521 | |
| 4522 | int thd_setspecific(MYSQL_THD thd, MYSQL_THD_KEY_T key, void *value) |
| 4523 | { |
nothing calls this directly
no test coverage detected