Re: Can I really have no_wait row-locks in MySQL+InnoDB?

2003-12-17 Thread Heikki Tuuri
PROTECTED]> Newsgroups: mailing.database.myodbc Sent: Monday, December 15, 2003 11:26 AM Subject: Can I really have no_wait row-locks in MySQL+InnoDB? > Suppose some user issued 'select ... for update', then > went for coffee-break (to think hard on what he > really wants to update in th

Re: Can I really have no_wait row-locks in MySQL+InnoDB?

2003-12-16 Thread Chris Nolan
mos wrote: At 01:14 AM 12/16/2003, you wrote: mos wrote: At 04:22 AM 12/15/2003, you wrote: To elaborate on Dr Frank's thing if you're interested, here's a classic deadlock example: 1. Transaction A obtains an exclusive lock on a set of rows which we will call R1. 2. Transaction B obtains an

Re: Can I really have no_wait row-locks in MySQL+InnoDB?

2003-12-16 Thread mos
At 01:14 AM 12/16/2003, you wrote: mos wrote: At 04:22 AM 12/15/2003, you wrote: To elaborate on Dr Frank's thing if you're interested, here's a classic deadlock example: 1. Transaction A obtains an exclusive lock on a set of rows which we will call R1. 2. Transaction B obtains an exclusive lo

Re: Can I really have no_wait row-locks in MySQL+InnoDB?

2003-12-16 Thread Chris Nolan
mos wrote: At 04:22 AM 12/15/2003, you wrote: To elaborate on Dr Frank's thing if you're interested, here's a classic deadlock example: 1. Transaction A obtains an exclusive lock on a set of rows which we will call R1. 2. Transaction B obtains an exclusive lock on another set of rows which we

Re: Can I really have no_wait row-locks in MySQL+InnoDB?

2003-12-15 Thread mos
At 04:22 AM 12/15/2003, you wrote: To elaborate on Dr Frank's thing if you're interested, here's a classic deadlock example: 1. Transaction A obtains an exclusive lock on a set of rows which we will call R1. 2. Transaction B obtains an exclusive lock on another set of rows which we will call R2

Re: Can I really have no_wait row-locks in MySQL+InnoDB?

2003-12-15 Thread Chris Nolan
To elaborate on Dr Frank's thing if you're interested, here's a classic deadlock example: 1. Transaction A obtains an exclusive lock on a set of rows which we will call R1. 2. Transaction B obtains an exclusive lock on another set of rows which we will call R2. 3. Transaction A requests (but ob

Re: Can I really have no_wait row-locks in MySQL+InnoDB?

2003-12-15 Thread Dr. Frank Ullrich
Hi, Dmitry Anikin schrieb: > > Suppose some user issued 'select ... for update', then > went for coffee-break (to think hard on what he > really wants to update in that row). Another client > tries to update the same row and I don't want him to > wait, just immediately return an error, so he coul

Can I really have no_wait row-locks in MySQL+InnoDB?

2003-12-15 Thread Dmitry Anikin
Suppose some user issued 'select ... for update', then went for coffee-break (to think hard on what he really wants to update in that row). Another client tries to update the same row and I don't want him to wait, just immediately return an error, so he could do some other useful task meanwhile. I