You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Summary:
The THD pointer is not always available when the audit plugin is called. The causes a problem when we try to access thd->query_id.
Fix by doing a null check first. If the THD is null, then we copy what is done for thread_id, we just set query_id to 0.
Squash with: 1def6b7 Expose more information to audit plugin
Test Plan: mtr
Reviewers: jkedgar, hermanlee4, drilibo
Reviewed By: drilibo
Subscribers: webscalesql-eng
Differential Revision: https://reviews.facebook.net/D58287
0 commit comments