Anssi Kääriäinen
50328f0a61
Fixed #19861 -- Transaction ._dirty flag improvement
...
There were a couple of errors in ._dirty flag handling:
* It started as None, but was never reset to None.
* The _dirty flag was sometimes used to indicate if the connection
was inside transaction management, but this was not done
consistently. This also meant the flag had three separate values.
* The None value had a special meaning, causing for example inability
to commit() on new connection unless enter/leave tx management was
done.
* The _dirty was tracking "connection in transaction" state, but only
in managed transactions.
* Some tests never reset the transaction state of the used connection.
* And some additional less important changes.
This commit has some potential for regressions, but as the above list
shows, the current situation isn't perfect either.
2013-02-27 17:54:27 +02:00
..
2013-02-26 14:36:57 +01:00
2013-02-26 14:36:57 +01:00
2013-02-26 14:36:57 +01:00
2013-02-26 14:36:57 +01:00
2013-02-26 14:36:57 +01:00
2013-02-26 14:36:57 +01:00
2013-02-26 21:04:32 +01:00
2013-02-26 14:36:57 +01:00
2013-02-26 14:36:57 +01:00
2013-02-26 14:36:57 +01:00
2013-02-26 14:36:57 +01:00
2013-02-26 14:36:57 +01:00
2013-02-26 14:36:57 +01:00
2013-02-26 14:36:57 +01:00
2013-02-26 14:36:57 +01:00
2013-02-26 14:36:57 +01:00
2013-02-26 14:36:57 +01:00
2013-02-26 14:36:57 +01:00
2013-02-26 14:36:57 +01:00
2013-02-26 14:36:57 +01:00
2013-02-26 14:36:57 +01:00
2013-02-26 14:36:57 +01:00
2013-02-27 10:02:07 +01:00
2013-02-26 14:36:57 +01:00
2013-02-26 14:36:57 +01:00
2013-02-26 14:36:57 +01:00
2013-02-26 14:36:57 +01:00
2013-02-26 14:36:57 +01:00
2013-02-26 14:36:57 +01:00
2013-02-26 14:36:57 +01:00
2013-02-26 14:36:57 +01:00
2013-02-26 14:36:57 +01:00
2013-02-26 14:36:57 +01:00
2013-02-26 14:36:57 +01:00
2013-02-26 14:36:57 +01:00
2013-02-26 14:36:57 +01:00
2013-02-26 14:36:57 +01:00
2013-02-26 14:36:57 +01:00
2013-02-26 14:36:57 +01:00
2013-02-26 14:36:57 +01:00
2013-02-26 14:36:57 +01:00
2013-02-26 14:36:57 +01:00
2013-02-26 14:36:57 +01:00
2013-02-26 14:36:57 +01:00
2013-02-26 14:36:57 +01:00
2013-02-27 17:54:27 +02:00
2013-02-26 14:36:57 +01:00
2013-02-26 14:36:57 +01:00
2013-02-26 14:36:57 +01:00
2013-02-26 14:36:57 +01:00
2013-02-26 14:36:57 +01:00
2013-02-26 14:36:57 +01:00
2013-02-26 14:36:57 +01:00
2013-02-26 14:36:57 +01:00
2013-02-26 14:36:57 +01:00
2013-02-26 14:36:57 +01:00
2013-02-26 14:36:57 +01:00
2013-02-26 14:36:57 +01:00
2013-02-26 14:36:57 +01:00
2013-02-26 14:36:57 +01:00
2013-02-26 14:36:57 +01:00
2013-02-26 14:36:58 +01:00
2013-02-26 14:36:57 +01:00
2013-02-26 14:36:57 +01:00
2013-02-26 14:36:57 +01:00
2013-02-26 14:36:57 +01:00
2013-02-26 14:36:57 +01:00
2013-02-26 14:36:57 +01:00
2013-02-26 14:36:57 +01:00
2013-02-26 14:36:57 +01:00
2013-02-26 14:36:57 +01:00
2013-02-26 14:36:57 +01:00
2013-02-26 14:36:57 +01:00
2013-02-26 22:45:08 -03:00
2013-02-26 14:36:57 +01:00
2013-02-26 14:36:57 +01:00
2013-02-26 14:36:57 +01:00
2013-02-26 14:36:57 +01:00
2013-02-26 14:36:57 +01:00
2013-02-26 14:36:57 +01:00
2013-02-26 14:36:57 +01:00
2013-02-26 14:36:57 +01:00
2013-02-26 14:36:57 +01:00
2013-02-26 14:36:57 +01:00
2013-02-26 14:36:57 +01:00
2013-02-26 14:36:57 +01:00
2013-02-26 14:36:57 +01:00
2013-02-26 14:36:57 +01:00
2013-02-26 14:36:57 +01:00
2013-02-26 14:36:57 +01:00
2013-02-26 14:36:57 +01:00
2013-02-26 14:36:57 +01:00
2013-02-26 14:36:57 +01:00
2013-02-26 14:36:57 +01:00
2013-02-26 14:36:57 +01:00
2013-02-26 14:36:57 +01:00
2013-02-26 14:36:57 +01:00
2013-02-26 14:36:57 +01:00
2013-02-26 14:36:57 +01:00
2013-02-27 17:54:27 +02:00
2013-02-26 14:36:57 +01:00
2013-02-26 14:36:57 +01:00
2013-02-26 14:36:57 +01:00
2013-02-26 14:36:57 +01:00
2013-02-26 14:36:57 +01:00
2013-02-26 14:36:57 +01:00
2013-02-26 14:36:57 +01:00
2013-02-26 14:36:57 +01:00
2013-02-26 14:36:57 +01:00
2013-02-26 14:36:57 +01:00
2013-02-26 14:36:57 +01:00
2013-02-26 14:36:57 +01:00
2013-02-26 14:36:57 +01:00
2013-02-26 14:36:57 +01:00
2013-02-26 14:36:57 +01:00
2013-02-26 14:36:57 +01:00
2013-02-26 14:36:57 +01:00
2013-02-26 14:36:57 +01:00
2013-02-26 14:36:57 +01:00
2013-02-26 14:36:57 +01:00
2013-02-26 14:36:57 +01:00
2013-02-26 14:36:57 +01:00
2013-02-26 14:36:57 +01:00
2013-02-26 14:36:57 +01:00
2013-02-26 14:36:57 +01:00
2013-02-26 14:36:57 +01:00
2013-02-26 14:36:57 +01:00
2013-02-26 14:36:57 +01:00
2013-02-26 14:36:57 +01:00
2013-02-26 14:36:57 +01:00
2013-02-26 14:36:57 +01:00
2013-02-26 14:36:57 +01:00
2013-02-26 14:36:57 +01:00
2013-02-26 14:36:57 +01:00
2013-02-26 14:36:57 +01:00
2013-02-26 14:36:57 +01:00
2013-02-26 14:36:57 +01:00
2013-02-26 14:36:57 +01:00
2013-02-26 14:36:57 +01:00
2013-02-27 17:54:27 +02:00
2013-02-26 14:36:57 +01:00
2013-02-26 14:36:57 +01:00
2013-02-26 14:36:57 +01:00
2013-02-26 14:36:57 +01:00
2013-02-26 14:36:57 +01:00
2013-02-26 14:36:57 +01:00
2013-02-26 14:36:57 +01:00
2013-02-26 14:36:57 +01:00
2013-02-26 14:36:57 +01:00
2013-02-26 14:36:57 +01:00
2013-02-26 14:36:57 +01:00
2013-02-26 14:36:57 +01:00
2013-02-26 14:36:57 +01:00
2013-02-26 14:36:57 +01:00
2013-02-26 14:36:57 +01:00
2013-02-26 14:36:57 +01:00
2013-02-26 14:36:57 +01:00
2013-02-26 14:36:57 +01:00
2013-02-26 14:36:57 +01:00
2013-02-26 14:36:57 +01:00
2013-02-26 14:36:57 +01:00
2013-02-26 14:36:57 +01:00
2013-02-26 14:36:57 +01:00
2013-02-26 16:02:24 +01:00
2013-02-26 14:36:57 +01:00
2013-02-26 14:36:57 +01:00
2013-02-26 14:36:57 +01:00
2013-02-27 17:54:27 +02:00
2013-02-27 17:54:27 +02:00
2013-02-26 14:36:57 +01:00
2013-02-26 14:36:57 +01:00
2013-02-26 14:36:57 +01:00
2013-02-26 14:36:57 +01:00
2013-02-26 14:36:57 +01:00
2013-02-26 14:36:57 +01:00
2013-02-26 14:36:57 +01:00
2013-02-26 14:36:57 +01:00
2013-02-26 14:36:57 +01:00
2013-02-26 14:36:57 +01:00
2013-02-26 14:36:57 +01:00
2013-02-26 14:36:57 +01:00
2013-02-26 15:20:37 +01:00
2013-02-26 10:00:14 +01:00
2013-02-26 14:36:57 +01:00