[Cubicweb] NativeSQLSource.doexec auto-rollback

Christophe de Vienne christophe at unlish.com
Wed Dec 31 10:38:50 CET 2014


Hi,

Le 30/12/2014 18:31, Christophe de Vienne a écrit :
> 
> 
> Le 30/12/2014 18:24, aurélien campéas a écrit :
>>
>>
> 
> [...]
> 
>>
>>
>> After reception of an IntegrityError, you can be sure that the sql backend
>> wiped the current transaction clean.
>> 
> 
> What? Why?
> 
> It does not seem logical to me at all. Am I totally mistaken?

I did a few tests and yes I am totally mistaken.

Cheers,

Christophe

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 473 bytes
Desc: OpenPGP digital signature
URL: <http://lists.cubicweb.org/pipermail/cubicweb/attachments/20141231/6c959c6c/attachment-0214.sig>


More information about the Cubicweb mailing list