=== modified file 'plugin/embedded_innodb/embedded_innodb_engine.cc' --- plugin/embedded_innodb/embedded_innodb_engine.cc 2010-04-27 13:04:21 +0000 +++ plugin/embedded_innodb/embedded_innodb_engine.cc 2010-04-27 23:05:12 +0000 @@ -1621,12 +1621,6 @@ int EmbeddedInnoDBCursor::rnd_init(bool) { ib_trx_t transaction;
- if(*get_trx(current_session) == NULL) - { - EmbeddedInnoDBEngine *innodb_engine= static_cast<EmbeddedInnoDBEngine*>(engine); - innodb_engine->doStartTransaction(current_session, START_TRANS_NO_OPTIONS); - } - transaction= *get_trx(ha_session());
ib_cursor_attach_trx(cursor, transaction);
and then run any ALTER TABLE on an embedded_innodb table. (test-run --suite=embedded_innodb should do it)
=== modified file 'plugin/ embedded_ innodb/ embedded_ innodb_ engine. cc' embedded_ innodb/ embedded_ innodb_ engine. cc 2010-04-27 13:04:21 +0000 embedded_ innodb/ embedded_ innodb_ engine. cc 2010-04-27 23:05:12 +0000 ursor:: rnd_init( bool)
--- plugin/
+++ plugin/
@@ -1621,12 +1621,6 @@ int EmbeddedInnoDBC
{
ib_trx_t transaction;
- if(*get_ trx(current_ session) == NULL) ngine *innodb_engine= static_ cast<EmbeddedIn noDBEngine* >(engine) ; engine- >doStartTransac tion(current_ session, START_TRANS_ NO_OPTIONS) ; ha_session( ));
- {
- EmbeddedInnoDBE
- innodb_
- }
-
transaction= *get_trx(
ib_cursor_ attach_ trx(cursor, transaction);
and then run any ALTER TABLE on an embedded_innodb table. (test-run --suite= embedded_ innodb should do it)