Hi Alex,

and the acc record is actually added (even with the trigger error) ? or 
the acc insert fails completely ?

Regards,
Bogdan

Alex G wrote:
> I have a scenario where I execute a trigger in mysql when info is 
> added to the acc table. In some circumstances, my trigger results in a 
> duplicate key when it tries to add info to another table. The prepared 
> statement functionality reads this as an error, and fails to do the 
> insert into the acc table as a result of this.
>
> Is there any way to get around this?
> ------------------------------------------------------------------------
>
> _______________________________________________
> Users mailing list
> Users@lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>   


-- 
Bogdan-Andrei Iancu
www.voice-system.ro


_______________________________________________
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users

Reply via email to