• unknown's avatar
    Fixed 32bit issue, reworked error logic for open tables, and redid the repair... · a339be0f
    unknown authored
    Fixed 32bit issue, reworked error logic for open tables, and redid the repair table code so that it uses the extended optimize table code.
    
    
    sql/examples/ha_archive.cc:
      Fixed issue with 32bit systems giving warnings on bit shift (this is due to the fix by Jim to change to ha_rows). The error logic for opening a table was reworked after studing up on a reported issue. It has been reworked to create a share in all situations. The repair table will just have to figure everything out or toss its own error. The read only filesystem and permission denied problems were solved. Repair table code now rebuilds with the new optimize table extended code (so it no longer does the work itself).
    a339be0f
ha_archive.cc 28.7 KB