[OSM-dev] diff upload in 0.6
Tom Hughes
tom at compton.nu
Tue May 20 13:44:42 BST 2008
In message <20080520115244.GB26175 at metacarta.com>
Christopher Schmidt <crschmidt at metacarta.com> wrote:
> On Tue, May 20, 2008 at 08:09:15AM +0200, Martijn van Oosterhout wrote:
>
>> It's implemented? Without transaction you have to provide a way of
>> telling people what failed and why and pass back the ID of created
>> objects. Transactions are less work. In theory it should be just:
>>
>> 1. Request received open transaction
>> 2. Process commands
>> 3. On error, abort else commit
>>
>> I can imagine the indivudual bits of code don't know they're running
>> in a transaction.
>
> Right, the code doesn't seem to do anything on abort... at least, not
> that I can see...
Is the whole thing not wrapped in a transaction?
Tom
--
Tom Hughes (tom at compton.nu)
http://www.compton.nu/
More information about the dev
mailing list