1
0
mirror of https://github.com/gogs/gogs.git synced 2025-04-28 05:33:05 +00:00
stroucki e9f6a43073 Fix database write context interleaving bug ()
* UpdateIssueUsersByMentions was calling database write operations while
a transaction session was in progress. MailParticipants was failing
silently because of the SQLITE_LOCKED error. Make sure failures in
MailParticipants enter the log, and pass on the transaction context.

issue: let caller pass in database context, and use it
issue_comment: obtain database context to pass to UpdateIssueMentions
issue_comment: log any error from call to MailParticipants
issue_mail: pass on database context to UpdateIssueMentions

* issue: forgot debug statement
2016-12-21 04:11:07 -05:00
..
2016-12-21 03:33:30 -05:00
2016-08-31 01:22:41 -07:00
2016-08-16 07:45:06 -07:00
2016-08-29 20:00:06 -07:00
2016-12-21 03:13:11 -05:00
2016-08-16 10:19:09 -07:00
2016-08-12 02:56:50 -07:00
2016-12-20 23:23:57 -05:00
2016-12-20 23:23:57 -05:00
2016-12-21 03:41:37 -05:00
2016-12-21 02:09:43 -05:00
2016-02-02 17:07:40 -05:00
2016-08-11 11:35:46 -07:00
2016-12-21 02:09:43 -05:00
2016-12-21 02:09:43 -05:00
2016-12-21 04:08:23 -05:00
2016-12-21 02:09:43 -05:00