Aymeric Augustin
728548e483
Fixed #21134 -- Prevented queries in broken transactions.
...
Squashed commit of the following:
commit 63ddb271a44df389b2c302e421fc17b7f0529755
Author: Aymeric Augustin <aymeric.augustin@m4x.org>
Date: Sun Sep 29 22:51:00 2013 +0200
Clarified interactions between atomic and exceptions.
commit 2899ec299228217c876ba3aa4024e523a41c8504
Author: Aymeric Augustin <aymeric.augustin@m4x.org>
Date: Sun Sep 22 22:45:32 2013 +0200
Fixed TransactionManagementError in tests.
Previous commit introduced an additional check to prevent running
queries in transactions that will be rolled back, which triggered a few
failures in the tests. In practice using transaction.atomic instead of
the low-level savepoint APIs was enough to fix the problems.
commit 4a639b059ea80aeb78f7f160a7d4b9f609b9c238
Author: Aymeric Augustin <aymeric.augustin@m4x.org>
Date: Tue Sep 24 22:24:17 2013 +0200
Allowed nesting constraint_checks_disabled inside atomic.
Since MySQL handles transactions loosely, this isn't a problem.
commit 2a4ab1cb6e83391ff7e25d08479e230ca564bfef
Author: Aymeric Augustin <aymeric.augustin@m4x.org>
Date: Sat Sep 21 18:43:12 2013 +0200
Prevented running queries in transactions that will be rolled back.
This avoids a counter-intuitive behavior in an edge case on databases
with non-atomic transaction semantics.
It prevents using savepoint_rollback() inside an atomic block without
calling set_rollback(False) first, which is backwards-incompatible in
tests.
Refs #21134 .
commit 8e3db393853c7ac64a445b66e57f3620a3fde7b0
Author: Aymeric Augustin <aymeric.augustin@m4x.org>
Date: Sun Sep 22 22:14:17 2013 +0200
Replaced manual savepoints by atomic blocks.
This ensures the rollback flag is handled consistently in internal APIs.
2013-09-30 09:42:27 +02:00
..
2013-09-08 08:05:16 -07:00
2013-09-16 12:52:05 -04:00
2013-07-29 20:28:13 +02:00
2013-09-28 00:40:43 +02:00
2013-09-08 08:05:16 -07:00
2013-07-29 20:28:13 +02:00
2013-09-19 06:24:12 -04:00
2013-09-29 22:44:55 -03:00
2013-09-16 12:52:05 -04:00
2013-09-03 14:22:21 -04:00
2013-09-19 13:11:49 -04:00
2013-09-15 01:11:07 +02:00
2013-09-09 16:03:13 -04:00
2013-09-25 20:47:57 +03:00
2013-07-22 19:36:03 +01:00
2013-08-05 13:34:35 -04:00
2013-09-28 14:18:37 +03:00
2013-09-02 12:11:02 +02:00
2013-09-09 23:01:07 +02:00
2013-09-08 12:20:01 -07:00
2013-07-29 20:28:13 +02:00
2013-07-29 20:28:13 +02:00
2013-07-01 14:29:33 +02:00
2013-07-29 20:28:13 +02:00
2013-09-19 10:01:39 -04:00
2013-08-15 19:47:26 -04:00
2013-07-29 20:28:13 +02:00
2013-05-29 15:50:26 +02:00
2013-09-09 23:01:07 +02:00
2013-09-09 23:01:07 +02:00
2013-07-29 20:28:13 +02:00
2013-07-29 20:28:13 +02:00
2013-02-26 14:36:57 +01:00
2013-09-08 12:20:01 -07:00
2013-07-29 20:28:13 +02:00
2013-07-29 20:28:13 +02:00
2013-09-25 21:15:59 +03:00
2013-07-29 20:28:13 +02:00
2013-07-29 20:28:13 +02:00
2013-09-30 09:42:27 +02:00
2013-09-08 12:20:01 -07:00
2013-07-29 20:28:13 +02:00
2013-07-29 20:28:13 +02:00
2013-07-08 09:35:08 +10:00
2013-09-16 12:52:05 -04:00
2013-07-01 14:29:33 +02:00
2013-09-26 00:03:57 -04:00
2013-08-19 09:51:28 +03:00
2013-08-22 13:58:26 -04:00
2013-09-08 12:20:01 -07:00
2013-09-09 23:01:07 +02:00
2013-08-21 22:32:04 +01:00
2013-09-09 23:01:07 +02:00
2013-09-12 14:32:23 -04:00
2013-07-29 20:28:13 +02:00
2013-09-30 09:42:27 +02:00
2013-09-09 16:03:13 -04:00
2013-08-04 07:09:39 -04:00
2013-09-28 10:55:32 +02:00
2013-07-29 20:28:13 +02:00
2013-09-18 10:03:52 +03:00
2013-09-09 23:01:07 +02:00
2013-09-10 01:55:16 +02:00
2013-09-10 01:55:16 +02:00
2013-09-11 15:28:04 +02:00
2013-09-09 23:01:07 +02:00
2013-08-21 22:32:04 +01:00
2013-09-30 09:42:27 +02:00
2013-08-13 14:11:52 +03:00
2013-09-28 17:25:32 -07:00
2013-09-20 07:47:24 -04:00
2013-09-07 20:00:38 -04:00
2013-06-06 01:54:46 +03:00
2013-09-06 17:20:43 -05:00
2013-07-29 20:28:13 +02:00
2013-07-29 20:28:13 +02:00
2013-09-22 22:48:22 +02:00
2013-07-29 20:28:13 +02:00
2013-09-07 11:47:38 -05:00
2013-05-21 13:18:53 +02:00
2013-09-10 08:26:54 -04:00
2013-09-22 14:04:10 +02:00
2013-07-01 14:29:33 +02:00
2013-09-03 11:51:34 -04:00
2013-07-29 20:28:13 +02:00
2013-09-28 10:55:32 +02:00
2013-09-14 09:48:59 +03:00
2013-09-23 11:51:58 -04:00
2013-07-29 20:28:13 +02:00
2013-08-16 20:12:10 +02:00
2013-07-31 16:02:36 +03:00
2013-07-29 20:28:13 +02:00
2013-07-29 20:28:13 +02:00
2013-09-03 14:22:21 -04:00
2013-07-29 20:28:13 +02:00
2013-09-03 11:51:34 -04:00
2013-09-09 23:01:07 +02:00
2013-09-09 23:01:07 +02:00
2013-09-09 23:01:07 +02:00
2013-07-29 20:28:13 +02:00
2013-09-10 11:09:59 -04:00
2013-07-29 20:28:13 +02:00
2013-07-29 20:28:13 +02:00
2013-07-29 20:28:13 +02:00
2013-07-29 20:28:13 +02:00
2013-07-29 20:28:13 +02:00
2013-09-09 23:01:07 +02:00
2013-07-29 20:28:13 +02:00
2013-07-29 20:28:13 +02:00
2013-09-03 11:51:34 -04:00
2013-09-25 16:11:05 +01:00
2013-09-28 10:55:32 +02:00
2013-09-05 05:49:10 -04:00
2013-07-29 20:28:13 +02:00
2013-08-15 19:47:26 -04:00
2013-09-16 12:52:05 -04:00
2013-08-21 22:32:04 +01:00
2013-08-15 19:47:26 -04:00
2013-07-29 20:28:13 +02:00
2013-08-15 19:47:26 -04:00
2013-09-09 23:01:07 +02:00
2013-07-29 20:28:13 +02:00
2013-09-09 22:32:52 +02:00
2013-05-18 18:06:31 +02:00
2013-09-20 07:47:24 -04:00
2013-09-30 13:05:43 +08:00
2013-07-29 20:28:13 +02:00
2013-07-29 20:28:13 +02:00
2013-07-29 20:28:13 +02:00
2013-07-29 20:28:13 +02:00
2013-07-29 20:28:13 +02:00
2013-09-30 09:42:27 +02:00
2013-09-22 14:04:10 +02:00
2013-09-03 14:22:21 -04:00
2013-07-29 20:28:13 +02:00
2013-07-29 20:28:13 +02:00
2013-07-29 20:28:13 +02:00
2013-09-03 14:22:21 -04:00
2013-07-29 20:28:13 +02:00
2013-09-03 11:51:34 -04:00
2013-09-16 12:52:05 -04:00
2013-09-29 16:45:03 -04:00
2013-09-14 10:33:15 +03:00
2013-08-15 19:47:26 -04:00
2013-09-09 23:01:07 +02:00
2013-09-06 22:11:55 -05:00
2013-09-03 14:22:21 -04:00
2013-07-01 14:29:33 +02:00
2013-05-19 13:14:54 +02:00
2013-07-29 20:28:13 +02:00
2013-08-15 19:47:26 -04:00
2013-07-29 20:28:13 +02:00
2013-09-24 11:00:00 +01:00
2013-09-24 10:29:21 +02:00
2013-07-29 20:28:13 +02:00
2013-07-29 20:28:13 +02:00
2013-07-29 20:28:13 +02:00
2013-09-09 16:03:13 -04:00
2013-09-28 10:55:32 +02:00
2013-09-22 22:02:59 +02:00
2013-09-14 07:19:32 -04:00
2013-07-29 20:28:13 +02:00
2013-07-29 20:28:13 +02:00
2013-02-26 14:36:57 +01:00
2013-09-02 12:11:02 +02:00
2013-07-29 20:28:13 +02:00
2013-09-05 14:39:23 -05:00
2013-07-29 20:28:13 +02:00
2013-09-28 10:55:32 +02:00
2013-09-03 11:51:34 -04:00
2013-09-09 22:32:52 +02:00
2013-09-03 11:51:34 -04:00
2013-09-19 09:27:19 -04:00
2013-07-31 06:59:15 -04:00
2013-09-10 12:22:55 -04:00
2013-08-09 12:22:42 -04:00
2013-07-01 21:49:11 +02:00
2013-05-10 23:08:45 -04:00
2013-09-10 09:49:39 -04:00
2013-05-10 23:08:45 -04:00
2013-05-10 23:08:45 -04:00
2013-07-01 21:49:11 +02:00
2013-09-22 14:04:10 +02:00
2013-04-10 13:05:29 +02:00
2013-09-21 23:10:14 +02:00
2013-09-30 09:42:27 +02:00
2013-09-22 23:02:35 +02:00
2013-09-09 23:01:07 +02:00
2013-07-31 16:02:36 +03:00
2013-07-29 20:28:13 +02:00
2013-09-22 14:04:10 +02:00
2013-03-10 17:31:11 -03:00
2013-09-27 17:00:42 +02:00
2013-07-29 20:28:13 +02:00
2013-07-21 21:11:32 +02:00
2013-07-01 14:29:33 +02:00
2013-09-22 14:04:10 +02:00
2013-07-01 22:49:07 +02:00
2013-08-25 22:29:43 -03:00
2013-09-23 17:05:36 -04:00
2013-02-26 10:00:14 +01:00
2013-02-26 14:36:57 +01:00