mariadb/handler
marko 7235ea1060 branches/zip: ha_innobase::add_index(): Split some assertions.
Remove the variable parent_trx.

Call innobase_register_stmt() in order to work around a MySQL bug
in mysql_alter_table(), which, as of

ChangeSet@1.2482.61.2, 2007-06-07 16:37:15+02:00, joerg@trift2. +8 -0

commits the transaction before calling ha_innobase::add_index().
Without re-registering the statement, the ha_commit_stmt(thd)
in mysql_alter_table() would not invoke innobase_commit.
2007-06-18 11:46:42 +00:00
..
ha_innodb.cc branches/zip: ha_innobase::add_index(): Split some assertions. 2007-06-18 11:46:42 +00:00
ha_innodb.h branches/zip: Merge 1533:1553 from trunk. 2007-06-06 11:07:37 +00:00