MySQL Forums
Forum List  »  Triggers

Starting Trigger
Posted by: Fabio Maisto
Date: October 10, 2005 06:08AM

Hi all,
I'm stating to use the trigger,
using the trigger present at the following link:

I had create the trigger as in the example but whene I try to run the following INSERT,

INSERT INTO test1 VALUES (1), (3), (1), (7), (1), (8), (4), (4);

MySql return me the following error:
ERROR 1100 (HY000): Table 'test2' was not locked with LOCK TABLES

Can You help me?

Thank's and regards

Options: ReplyQuote

Written By
Starting Trigger
October 10, 2005 06:08AM
October 10, 2005 11:01AM
October 11, 2005 12:42AM

Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.