Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
sql: do not print stack trace when logging if txn is not open
After executing each statement, that statement might be logged. If there were any audit events, then we attempt to resolve the table names for which the audit events have occurred. To do the resolution we're using the current txn. Previously, if that txn has been aborted or committed, it would result in a scary-looking stack trace added to the log, and this commit fixes it. Release note: None
- Loading branch information