Computer and Internet » Server » MySQL » Triggers

ID #1007

Can't update table in stored function/trigger because it is already used by statement which invoked this stored function/trigger

when you insert a record mysql is doing some lock stuff. you can't insert/update/delete rows of the same table where you insert.. because then the trigger would called again and again.. ending up in a recursion

Tags: -

Related entries:

Last update: 2006-10-20 19:04
Author: Christian Trummer
Revision: 1.0

Digg it! Print this record Send to a friend Show this as PDF file
Propose a translation for Propose a translation for
Please rate this entry:

Average rating: 2.33 out of 5 (3 Votes )

completely useless 1 2 3 4 5 most valuable

You cannot comment on this entry