after a successful operation, read innodb_table->flags from
the newly created table object, not from the old one that was just freed.
Approved by Sunny.
8fdf0e48
To find the state of this project's repository at the time of any of these versions, check out
the tags.