Brian Fisher
Brian Fisher

Reputation: 23989

Transaction ID in MySQL Trigger

Is there a way to retrieve a transaction ID inside a MySQL trigger?

Upvotes: 5

Views: 1664

Answers (1)

Eric
Eric

Reputation: 95153

Currently, no. It's been an open request for four years. However, you can use connection_id() which will give the connection session, so you can group things by that.

Upvotes: 6

Related Questions