Hello,

On 30/05/2011 13:06, Alexander Holler wrote:
> If PQexecParams() returns 0 (e.g. for fatal errors like a connection lost),
> a call to throw_postgresql_soci_error() with 0 as argument ends in an
> assert. So don't call throw_postgresql_soci_error() for such cases but throw
> a soci_error("Cannot execute query.").
> This patch corrects this for cases where numberOfExecutions is one.
[...]

Thank you very much for this patch - I have just applied it in our Git 
repository:

http://soci.git.sourceforge.net/git/gitweb.cgi?p=soci/soci;a=commit;h=48f4384e986822c568750c94128a2d221685f481

Best regards,

-- 
Maciej Sobczak * www.msobczak.com * www.inspirel.com

------------------------------------------------------------------------------
vRanger cuts backup time in half-while increasing security.
With the market-leading solution for virtual backup and recovery, 
you get blazing-fast, flexible, and affordable data protection.
Download your free trial now. 
http://p.sf.net/sfu/quest-d2dcopy1
_______________________________________________
Soci-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/soci-users

Reply via email to