An error occurred fetching the project authors.
  1. 13 Jan, 2006 1 commit
    • unknown's avatar
      New support for ignoring blobs during scans. We now seek past them if we... · 9eaf718a
      unknown authored
      New support for ignoring blobs during scans. We now seek past them if we determine that they are of no use to us. This is a big save in tables with blobs. Far less memory overhead and the seek is quite a bit faster. 
      
      
      mysql-test/r/archive.result:
        New results
      mysql-test/t/archive.test:
        More tests for indexes and new tests for being selective on selects.
      sql/ha_archive.cc:
        We now look and see if blobs are needed, and if they are not, we seek past them.
      9eaf718a
  2. 11 Jan, 2006 1 commit
    • unknown's avatar
      Added support for CREATE TABLE AUTO_INCREMENT and added more tests. Also... · a9d9054a
      unknown authored
      Added support for CREATE TABLE AUTO_INCREMENT and added more tests. Also non-unique index scans of autoincrement not function.
      
      
      mysql-test/r/archive.result:
        New Result file.
      mysql-test/t/archive.test:
        New tests. Modifies old style 0 to NULL.
      sql/ha_archive.cc:
        Added support for scanning non unique indexes. Added support for the AUTO_INCREMENT bit for CREATE TABLE
      sql/ha_archive.h:
        Added variables for continueing scans of index_next
      a9d9054a
  3. 10 Jan, 2006 1 commit
    • unknown's avatar
      Corrections from code review for auto_increment. Added test cases. · c9f5a5cc
      unknown authored
      mysql-test/r/archive.result:
        New result file.
      mysql-test/t/archive.test:
        Added new tests for indexes. Also accidently updated it so that all "FROM" are now capitalized :)
      sql/ha_archive.cc:
        Changed comparision function to compare memory locations. 
        
        Modified function for storing the auto_increment. 
        Removed useless DBUG_PRINT
      c9f5a5cc
  4. 26 Oct, 2005 1 commit
    • unknown's avatar
      Change in gis test to allow NDB to be able to call generic tests. Fix for... · a39cb4fa
      unknown authored
      Change in gis test to allow NDB to be able to call generic tests. Fix for Archive so that ALTER TABLE doesn't issue a warning. Also added test case for alter table.
      
      
      mysql-test/include/gis_generic.inc:
        Change in test for NDB (needs order by)
      mysql-test/r/archive.result:
        Change for gis_generic
      mysql-test/r/archive_gis.result:
        Change in test gis_generic
      mysql-test/r/bdb_gis.result:
        Change in gis test means new results
      mysql-test/r/innodb_gis.result:
        Change in gis test means change in results.
      mysql-test/r/ndb_gis.result:
        Change in gis means result change
      mysql-test/t/archive.test:
        Added alter table test to fix bug in alter table
      mysql-test/t/archive_gis.test:
        Change in syntax
      mysql-test/t/ndb_gis.test:
        Change to test both with and not with pushdown conditions
      sql/ha_archive.cc:
        Removed ARN temp file from exts[] to solve warning messages in alter table.
      a39cb4fa
  5. 18 Oct, 2005 1 commit
    • unknown's avatar
      Per a user request there is now support for "CHECK TABLE" where the table is an archive file. · 8701728f
      unknown authored
      mysql-test/r/archive.result:
        Result file for adding check table support
      mysql-test/t/archive.test:
        Simple test for check table. The additional select is added just to make sure the file is not destroyed.
      sql/ha_archive.cc:
        Updates for adding CHECK table support. is_crashed() now returns the state of the file.
      sql/ha_archive.h:
        Updates for adding CHECK table support
      8701728f
  6. 30 Aug, 2005 1 commit
    • unknown's avatar
      Fix for bad merge. · 98a0f14d
      unknown authored
      mysql-test/r/archive.result:
        Updated result file
      mysql-test/t/archive.test:
        Test fix. The INSERT DELAYED test must always come last.
      sql/examples/ha_archive.h:
        Bad merge.
      98a0f14d
  7. 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
  8. 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
  9. 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
  10. 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
  11. 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
  12. 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
  13. 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
  14. 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
  15. 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