Method: Mysql2::Client#thread_id
- Defined in:
- ext/mysql2/client.c
#thread_id ⇒ Object
500 501 502 503 504 505 506 507 |
# File 'ext/mysql2/client.c', line 500
static VALUE rb_mysql_client_thread_id(VALUE self) {
unsigned long retVal;
GET_CLIENT(self);
REQUIRE_OPEN_DB(wrapper);
retVal = mysql_thread_id(wrapper->client);
return ULL2NUM(retVal);
}
|