Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

mysql_thread_id #97

Closed
ghazel opened this issue Dec 16, 2010 · 2 comments
Closed

mysql_thread_id #97

ghazel opened this issue Dec 16, 2010 · 2 comments

Comments

@ghazel
Copy link
Collaborator

ghazel commented Dec 16, 2010

I use mysql_thread_id in the mysql gem (connection.thread_id) for debugging purposes (related to locks). Could we have some way to fetch mysql_thread_id from mysql2? (querying for "select connection_id();" works, but it would be nice to have the same interface).

@brianmario
Copy link
Owner

I don't see any harm in adding it, I'll try and take care of it tomorrow

@brianmario
Copy link
Owner

add Mysql2::Client#thread_id - closed by 4e33c41

rdp pushed a commit to rdp/mysql2 that referenced this issue May 12, 2011
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants