Pavel Ivanov wrote:
> Could you explain why this scenario doesn't cause infinite call cycle
> of the trigger by itself? Is there some protection in SQLite which
> breaks such cycles?

SQLite doesn't support recursive triggers: a trigger cannot call itself, 
directly or indirectly. SQLite keeps track of the triggers that appear 
in the current chain, and if an operation attempts to fire a trigger 
already present in the chain, the trigger doesn't run the second time.

Igor Tandetnik 



_______________________________________________
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

Reply via email to