Closed prohaska closed 10 years ago
mysql 5.5 creates the temporary table with a new transaction rather than the enclosing transaction. since this transaction is newer than the enclosing transaction, we dont make t2 visible to the enclosing transaction.
mysql 5.5 terminates the enclosing transaction for 'create table t2' instead.
Moved to Jira as https://tokutek.atlassian.net/browse/DB-624
create table t1; begin; select * from t1; create temporary table t2; select * from t2 FAILS with table definition has changed.