1
0
mirror of git://git.gnupg.org/gnupg.git synced 2025-01-22 14:57:02 +01:00
Neal H. Walfield 4cbd2a690c g10: Be careful to not be in a transaction during long operations
* g10/tofu.c (begin_transaction): New parameter only_batch.  If set,
only start a batch transaction if there is none and one has been
requested.  Update callers.
(tofu_suspend_batch_transaction): New function.
(tofu_resume_batch_transaction): Likewise.
(ask_about_binding): Take a ctrl_t, not a tofu_dbs_t.  Update
callers.  Gather statistics within a transaction.  Suspend any batch
transaction when getting user input.
(get_trust): Take a ctrl_t, not a tofu_dbs_t.  Update callers.
Enclose in a transaction.
(tofu_get_validity): Use a batch transaction, not a normal
transaction.

--
Signed-off-by: Neal H. Walfield <neal@g10code.com>
2016-09-01 12:43:34 +02:00
..
2016-07-13 13:31:12 +02:00
2016-06-30 18:50:16 +02:00
2016-02-14 14:46:30 +01:00
2014-10-31 14:21:34 +01:00
2007-07-04 19:49:40 +00:00
2016-08-03 16:55:33 +02:00
2014-11-13 12:01:42 +01:00
2015-02-04 09:15:34 +01:00
2015-02-04 09:15:34 +01:00
2016-08-03 16:54:01 +02:00
2016-08-25 09:37:56 +02:00
2016-08-18 16:15:49 +02:00
2016-06-30 18:50:16 +02:00
2016-08-03 16:55:33 +02:00
2016-08-25 09:37:56 +02:00
2016-07-01 14:16:18 +02:00
2016-08-25 09:37:56 +02:00
2016-01-22 10:54:10 +01:00
2016-07-13 13:31:12 +02:00
2016-08-11 21:32:55 +02:00
2016-06-30 11:45:13 +02:00
2008-12-12 08:54:50 +00:00
2016-08-18 10:08:34 +02:00
2016-06-28 18:21:50 +02:00
2016-06-28 18:21:50 +02:00
2016-03-08 14:08:49 +01:00
2016-07-01 09:47:48 +02:00
2016-08-10 16:50:29 +02:00
2016-08-25 09:37:56 +02:00
2016-05-03 11:26:06 +02:00
2016-06-30 18:50:16 +02:00
2014-01-29 17:45:05 +01:00