Re: InnoDB: Lock wait timeout problem. Please help.

2002-06-28 Thread Heikki Tuuri
: Friday, June 28, 2002 1:29 AM Subject: InnoDB: Lock wait timeout problem. Please help. Hi all, I am using MySQL (version 3.23.51-max-log). I have a problem with locking. Let's assume that we have 2 connections (Conn1 and Conn2) and table test

Re: InnoDB: Lock wait timeout problem. Please help.

2002-06-28 Thread Mikhail Entaltsev
, June 28, 2002 10:42 AM Subject: Re: InnoDB: Lock wait timeout problem. Please help. Mikhail, I think MySQL in this case waits for a MySQL table level lock. Note that CREATE TABLE ... SELECT ... sets shared locks on the rows it reads in the SELECTed table. Workaround: use SELECT

Re: InnoDB: Lock wait timeout problem. Please help.

2002-06-28 Thread Mikhail Entaltsev
: Friday, June 28, 2002 11:20 AM Subject: Re: InnoDB: Lock wait timeout problem. Please help. Heikki, Thank you very much for response. But I still don't understand why do I have lock in Conn1. Let's go through statement again. Conn1: begin; Conn1: update test set name = 'rat' where id = 3

InnoDB: Lock wait timeout problem. Please help.

2002-06-27 Thread Mikhail Entaltsev
Hi all, I am using MySQL (version 3.23.51-max-log). I have a problem with locking. Let's assume that we have 2 connections (Conn1 and Conn2) and table test: CREATE TABLE `test` ( `id` int(3) NOT NULL auto_increment, `name` char(10)

InnoDB: Lock wait timeout problem

2002-06-26 Thread Mikhail Entaltsev
Hi all! I am using MySQL (version 3.23.51-max-log). I have a problem with locking. Let's assume that we have 2 connections (Conn1 and Conn2) and table test: CREATE TABLE `test` ( `id` int(3) NOT NULL auto_increment, `name` char(10)