~percona-dev/percona-data-recovery-tool-for-innodb/sphinxdoc

Viewing all changes in revision 27.

  • Committer: Aleksandr Kuzminsky
  • Date: 2011-05-13 06:53:41 UTC
  • Revision ID: aleksandr.kuzminsky@percona.com-20110513065341-fkmn65dtjail90tu
Added security check.
ibdconnect takes space_id from an .ibd file.
Then it writes the space_id to ibdata.
However if the given space_id is already used for some other table, InnoDB will fail to start.
Now ibdconnect checks if space_id is already reserved. If so it refeses to update ibdata.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: