List:Internals« Previous MessageNext Message »
From:Zardosht Kasheff Date:May 6 2010 5:30pm
Subject:transactions and alter table in 5.5.4 v. 5.1
View as plain text  
Hello all,

I have noticed the following behavior to be different in 5.5.4 vs.
5.1. I would just like to confirm that it is intended.

Suppose one thread does:
insert into foo values (1);

and another thread does:
alter table foo add index...

In 5.1, the alter table statement would proceed to make calls into the
handler of the storage engine, and the storage engine would handle
issues. In 5.5.4, the alter table statement blocks until thread one's
transaction commits or aborts.

Is this the intended behavior?

transactions and alter table in 5.5.4 v. 5.1Zardosht Kasheff6 May
  • Re: transactions and alter table in 5.5.4 v. 5.1Dmitry Lenev6 May