<div id="docs-body">
 <div class="section">
  <div class="titlepage">
   <div>
    <div>
     <h4 class="title">
      <a name="replication-features-repair-table">
      </a>
      19.5.1.25 Replication and REPAIR TABLE
     </h4>
    </div>
   </div>
  </div>
  <a class="indexterm" name="idm46045135244352">
  </a>
  <a class="indexterm" name="idm46045135242848">
  </a>
  <p>
   When used on a corrupted or otherwise damaged table, it is
        possible for the
   <a class="link" href="repair-table.html" title="15.7.3.5 REPAIR TABLE Statement">
    <code class="literal">
     REPAIR TABLE
    </code>
   </a>
   statement to delete rows that cannot be recovered. However, any
        such modifications of table data performed by this statement are
        not replicated, which can cause source and replica to lose
        synchronization. For this reason, in the event that a table on
        the source becomes damaged and you use
   <a class="link" href="repair-table.html" title="15.7.3.5 REPAIR TABLE Statement">
    <code class="literal">
     REPAIR TABLE
    </code>
   </a>
   to repair it, you
        should first stop replication (if it is still running) before
        using
   <a class="link" href="repair-table.html" title="15.7.3.5 REPAIR TABLE Statement">
    <code class="literal">
     REPAIR TABLE
    </code>
   </a>
   , then
        afterward compare the source's and replica's copies of
        the table and be prepared to correct any discrepancies manually,
        before restarting replication.
  </p>
 </div>
 <br/>
</div>
