Row locking and InnoDB
Posted: Mon 12 Mar 2007 10:06
Hi,
is there a way to check data lock for single row?
I'm using INNODB and have created procedure to lock current record. Everything is working fine until i try to access that record from another user (different computer). Than program just frezzes until innodb_lock_wait_timeout passes and than show's error message.
I guess thats the way it should work, but i need to check for this lock before it goes on timeout.
Please help!
is there a way to check data lock for single row?
I'm using INNODB and have created procedure to lock current record. Everything is working fine until i try to access that record from another user (different computer). Than program just frezzes until innodb_lock_wait_timeout passes and than show's error message.
I guess thats the way it should work, but i need to check for this lock before it goes on timeout.
Please help!