Use current_thd to check if a transaction is done by a slave thread
Attach a file by drag & drop or click to upload