Row level locking with InnoDB

2004-08-24 Thread Kai Ruhnau
Hi, I have a quick question, which I did not find answerd by the manual: Given this sample query: SELECT COUNT(ID) FROM mytable WHERE property=value FOR UPDATE Which rows in 'mytable' are locked after this query? Every row with property=value, because these rows were used to calculate COUNT(ID). N

Re: Question about row level locking with InnoDB tables

2003-08-27 Thread Heikki Tuuri
Steve, - Original Message - From: ""Steve McWilliams"" <[EMAIL PROTECTED]> Newsgroups: mailing.database.mysql Sent: Wednesday, August 27, 2003 12:07 AM Subject: Question about row level locking with InnoDB tables > Hello, > > I am relatively ne

Question about row level locking with InnoDB tables

2003-08-26 Thread Steve McWilliams
Hello, I am relatively new to MySql (4.0.14) but I have read through the relevent documentation and am still confused about how row level locking behaves with InnoDB tables. I created a database with a single innodb table which has 2 columns, one of which is indexed. The locking behavior I see w