An error occurred fetching the project authors.
  1. 29 Aug, 2005 1 commit
    • unknown's avatar
      Added support for delete_all_rows() for archive. This fixes bug #12836. · 341a08ed
      unknown authored
      mysql-test/r/archive.result:
        Update for test case to make sure that TRUNCATE and DELETE function(hah!) as designed.
      mysql-test/t/archive.test:
        Add TRUNCATE and DELETE support.
      sql/examples/ha_archive.cc:
        Added delete_all_rows() support.
      sql/examples/ha_archive.h:
        Added delete_all_rows() support.
      sql/handler.h:
        Added flags for fast delete support for archive and federated.
      341a08ed
  2. 11 Jul, 2005 1 commit
    • unknown's avatar
      Refactoring of write_row() into two parts to allow future additions. Also... · 46f0327e
      unknown authored
      Refactoring of write_row() into two parts to allow future additions. Also rewrote the OPTIMIZE TABLE code, to add new extended optimize. This form of optimize rebuilds not only the file, but each individual row. 
      
      
      mysql-test/r/archive.result:
        Update results file for new OPTIMIZE TABLE <foo> EXTENDED command.
      mysql-test/t/archive.test:
        Added new test for extended optimize
      sql/examples/ha_archive.cc:
        Refactored write_row code into two parts. This will allow me to abstract it out once I add in new row format. This also allowed code sharing for the new optimize command (which will be used for new repair code).
      sql/examples/ha_archive.h:
        Added new real_write_row() method for writing out rows.
      46f0327e
  3. 28 Apr, 2005 1 commit
    • unknown's avatar
      Merge bug9911 with 5.0 · 56b8c906
      unknown authored
      mysql-test/r/archive.result:
        Warning will be pushed when renaming table with "optional" files.
      56b8c906
  4. 27 Apr, 2005 2 commits
    • unknown's avatar
      BUG#9911 RENAME TABLE of type ARCHIVE fails with .ARN file error · a1b0139f
      unknown authored
       - Different behaviuor in 5.0 pushes a warning when renaming a non existent file. Avoid that by checking that the file exists before renaming.
      
      
      mysql-test/r/archive.result:
        Warning is not produced anymore
      sql/examples/ha_archive.cc:
        Change ha_archive::rename_table to avoid warning when trying to rename non existent file.
      a1b0139f
    • unknown's avatar
      Little different behaviour in 5.0 and merge with new tests required these changes · cde34dfb
      unknown authored
      mysql-test/r/archive.result:
        Changed order of tests so that the are before the unpredictable INSERT DELAYED
        Warning is produced during the rename
      mysql-test/t/archive.test:
        Changed order of tests so that the are before the unpredictable INSERT DELAYED
        Warning is produced during the rename
      cde34dfb
  5. 26 Apr, 2005 1 commit
    • unknown's avatar
      BUG#9911 RENAME TABLE of type ARCHIVE fails with .ARN file error · 5444ad94
      unknown authored
       - Implemented ha_archive::rename_table
       - Added testcases for rename
      
      
      mysql-test/r/archive.result:
        Addd testcase for rename of archive table
      mysql-test/t/archive.test:
        Addd testcase for rename of archive table
      sql/examples/ha_archive.cc:
        Implement special version of rename table that does not care it the .arn file is missing
      sql/examples/ha_archive.h:
        Implement special version of rename table that does not care it the .arn file is missing
      5444ad94
  6. 09 Dec, 2004 1 commit
    • unknown's avatar
      A few simple fixes plus the added support of being able to repair the meta... · b76b2e68
      unknown authored
      A few simple fixes plus the added support of being able to repair the meta data file via REPAIR TABLE. More information is now provided in SHOW TABLE STATUS.
      
      
      mysql-test/r/archive.result:
        Added REPAIR TABLE test
      mysql-test/t/archive.test:
        Added REPAIR TABLE tests.
      sql/examples/ha_archive.cc:
        Added additional code to show more information during a SHOW TABLE STATUS. Curren size of the compressed file is now shown. Also added global "crashed" flag to mark when a table is crashed. Removed autorebuild during open table. Removed a few unneeded actions in OPTIMIZE TABLE. Fixed DBUG_ENTER for end_build_insert().
      sql/examples/ha_archive.h:
        Added repair options
      b76b2e68
  7. 30 Nov, 2004 1 commit
    • unknown's avatar
      Changes to support optimized bulk inserts. This will solve the problem of... · 9f726d99
      unknown authored
      Changes to support optimized bulk inserts. This will solve the problem of selects occurring during a bulk insert, and causing the compression factor to drop. 
      
      
      mysql-test/r/archive.result:
        Updated result set for changes amde to support delayed insert and bulk insert optimizations.
      mysql-test/t/archive.test:
        Test cases to test bulk insert statements and delayed insert syntax.
      sql/examples/ha_archive.cc:
        Added methods needed for bulk operations to be optimized. Bulk inserts now do not trigger the file as dirty until they are complete. A normal insert though can still cause them to be synced though since it is not effected by the flag. Removed share variable to determine if row count is right or not (it should not be treated as an upper end estimate).
      sql/examples/ha_archive.h:
        Removed share variable for delayed flag since it is no longer needed. 
        Added flag in table instance to know if a bulk insert is happening.
        
        Added method declarations for bulk insert optimizations.
      9f726d99
  8. 21 Sep, 2004 1 commit
    • unknown's avatar
      The major change for this changeset is the addition of code to handle: · 764ea714
      unknown authored
      OPTIMIZE TABLE <archive table>
      
      This recompresses the table, thus removing any additional gzip headers caused by opening/closing or flushing the table.
      
      
      mysql-test/r/archive.result:
        Added optimize test case for archive engine.
      mysql-test/t/archive.test:
        Added test case for OPTIMIZE table <archive table>
      sql/examples/ha_archive.cc:
        The big change was the addition of optimize() call to allow tables to be recompressed (so if you have been reading/writing/reading/writing and ending up with larger files then you should, this will solve it). Though adding this feature is going to make it a real headache to add row level locking. 
        Also fixed bug reported by JD where storage engine code was not functioning (this of course was because I didn't check for the propper return value for hash_init). Removed BROKEN_GZIP ifdef since there was no way to enable it.
      sql/examples/ha_archive.h:
        Added optimize() method.
      764ea714
  9. 25 May, 2004 1 commit
    • unknown's avatar
      Added tests for archive. Cleaned up a merge mistake and added some information... · 9a162f9a
      unknown authored
      Added tests for archive. Cleaned up a merge mistake and added some information on how well archive compresses. 
      
      
      sql/examples/ha_archive.cc:
        Added in example information from testing archive with Slashdot's comments.
      sql/handler.h:
        Fixed broken merge.
      sql/set_var.cc:
        Adding in "have_archive" to variables shown to make tests work.
      9a162f9a