Hi,
I'm running MySQL (5.0.18-nt) on WinXP with latest patches.
I've some SQL code that generates an 'ERROR 11' in two different places
depending on how the code is submitted.
At the moment I'de like to find out what is causing the error, so I
haven't included the code, which is quite lengthy.
I'm not a MySQL (or anyother db) expert, but I've turned on isam
logging and run the myisamlog utility which didn't seem to be the right
tool...?
I'd like to know how I can find out what is causing this error. Any
suggestions appreciated.
If submitted via:
mysql -u root -e "SOURCE "./../SQL/code.sql";"
the error occurs in the _third_ 'part' of the script (line 131 referred
to is between an insert and a select statement). the error message is:
ERROR 11 (HY000) at line 131 in file: 'D:\MySQL\SQL\code.sql': Can't
unlock file (Errcode: 11)
If submitted via:
mysql -u root -e "CALL `taq`.`sp_code`();"
the error occurs in the _first_ 'part' of the script. the error
message is:
ERROR 11 (HY000) at line 1: Can't unlock file (Errcode: 11)