1. 11 Jan, 2007 1 commit
    • unknown's avatar
      New azio which keeps meta data in its own header. · 2b3f5085
      unknown authored
      
      storage/archive/Makefile.am:
        Added archive reader
      storage/archive/archive_test.c:
        Extended archive test
      storage/archive/azio.c:
        Rewrite of azio to include support for more meta data in header
      storage/archive/azlib.h:
        Extended information.
      storage/archive/ha_archive.cc:
        Rewrite to handle new azio
      storage/archive/ha_archive.h:
        Rewrite to handle new azio.
      storage/archive/archive_reader.c:
        New BitKeeper file ``storage/archive/archive_reader.c''
      2b3f5085
  2. 05 Dec, 2006 1 commit
    • unknown's avatar
      This updates archive to use new header information in az files and makes way... · f8d93bb3
      unknown authored
      This updates archive to use new header information in az files and makes way for combining the meta data file with the AZ file. 
      
      
      storage/archive/azio.c:
        This removes the default gzip information and now uses a custom header.
      storage/archive/azlib.h:
        Additions for custom header and future meta data.
      storage/archive/ha_archive.cc:
        Removed data header in favor of new header system.
      storage/archive/ha_archive.h:
        Removes data_version
      f8d93bb3
  3. 04 Dec, 2006 1 commit
    • unknown's avatar
      Fixed problems with original gzio() functions not being able to correctly... · 2a336e56
      unknown authored
      Fixed problems with original gzio() functions not being able to correctly return lengths of long rows. 
      
      
      storage/archive/archive_test.c:
        Updated the test for 2gig and 4gig tests.
      storage/archive/azio.c:
        Fixed return type bug that was inherited in original library.
      storage/archive/azlib.h:
        Fixes for original library
      storage/archive/ha_archive.cc:
        Far more error testing!
      storage/archive/ha_archive.h:
        Updated returnn type for pack_row()
      2a336e56
  4. 02 Dec, 2006 1 commit
    • unknown's avatar
      Formailized the row buffer structure, implemented new streaming format. · ccf4a137
      unknown authored
      
      mysql-test/r/archive.result:
        Added cleanup for additional tables
      mysql-test/t/archive.test:
        Added cleanup for additional tables.
      storage/archive/ha_archive.cc:
        Rows are now proceeded with length. Added new record buffer structure and methods.
      storage/archive/ha_archive.h:
        New structure for buffer
      ccf4a137
  5. 24 Nov, 2006 1 commit
  6. 23 Nov, 2006 3 commits
    • unknown's avatar
      BUG#24488 (Valgrind warnings on invalid read in mysql_client_binlog_statement): · 49009cf8
      unknown authored
      Disabling debug printouts for valgrind builds that print unallocated memory.
      
      
      sql/sql_binlog.cc:
        Disabling debug printouts for valgrind builds that print unallocated memory
      49009cf8
    • unknown's avatar
      BUG#24533 (uninitialized null bits in m_after_image): · 9fefd8eb
      unknown authored
      Removing valgrind memory checks from code.
      
      
      sql/log_event.cc:
        Removing valgrind memory checks from code.
      9fefd8eb
    • unknown's avatar
      BUG#24533 (uninitialized null but of m_after_image): · 227e8e4e
      unknown authored
      Patch to fix valgrind warning that uninitialized bytes were written. 
      The warning was caused by set_default(), which assumes that the field pointer is pointing
      into record[0], while all other functions honors the move_field_offset().
      
      
      sql/log_event.cc:
        Changing unpack_row() to always unpack into table->record[0] since the Field class hierarchy
        contain too many dependencies on the record to operate on being in table->record[0].
        Changing code to use the new unpack_row(), which requires some juggling of records in
        one case.
      227e8e4e
  7. 22 Nov, 2006 1 commit
    • unknown's avatar
      Merge bk-internal.mysql.com:/data0/bk/mysql-5.1 · cd784a51
      unknown authored
      into  bk-internal.mysql.com:/data0/bk/mysql-5.1-arch
      
      
      configure.in:
        Auto merged
      sql/field.cc:
        Auto merged
      sql/field.h:
        Auto merged
      sql/mysql_priv.h:
        Auto merged
      sql/mysqld.cc:
        Auto merged
      storage/federated/ha_federated.cc:
        Auto merged
      cd784a51
  8. 21 Nov, 2006 2 commits
    • unknown's avatar
      Merge romeo.(none):/home/bkroot/mysql-5.1 · 5cffd57e
      unknown authored
      into  romeo.(none):/home/bk/memcheck-mysql-5.1
      
      
      5cffd57e
    • unknown's avatar
      BUG#24403 (valgrind complaint on uninited st_table for innodb + rbr): · b8f6ba80
      unknown authored
      Removing DBUG_DUMP printouts for valgrind builds since they trigger warnings.
      Removing valgrind memory checks completely.
      Removing bzero() of record when opening table that was added earlier.
      
      
      sql/log_event.cc:
        Removing DBUG_DUMP of records for valgrind builds since they trigger false valgrind
        warnings.
        Removing valgrind checks completely, since they can trigger false valgrind warnings.
      sql/sql_class.cc:
        Removing DBUG_DUMP of records for valgrind builds since they trigger false valgrind
        warnings.
      sql/table.cc:
        Removing extreneous bzero() that were added previously.
      b8f6ba80
  9. 20 Nov, 2006 7 commits
    • unknown's avatar
      This straightens up usage of have_ variables, and removes dead -skip-isam option. · b894f480
      unknown authored
      
      mysql-test/r/warnings.result:
        Modified skip to use NDB.
      mysql-test/t/warnings-master.opt:
        Removed dead options
      mysql-test/t/warnings.test:
        Updated test to use NDB
      sql/mysql_priv.h:
        Removed dead have_ variables
      sql/mysqld.cc:
        Removed dead options (one which was never documenteD).
      sql/set_var.cc:
        Removed have_ variables for prefered usage of show engines
      storage/federated/ha_federated.cc:
        Removed head variable
      storage/myisammrg/ha_myisammrg.cc:
        Updated to use correct state
      b894f480
    • unknown's avatar
      Merge romeo.(none):/home/bkroot/mysql-5.1 · eb8be70f
      unknown authored
      into  romeo.(none):/home/bk/memcheck-mysql-5.1
      
      
      eb8be70f
    • unknown's avatar
      BUG#24403 (valgrind complained on uninited st_table for InnoDB and RBR): · cf40ae76
      unknown authored
      Fix to correct behaviour of find_and_fetch_row() for tables that have primary keys stored
      in storage engines that support the fast method to fetch rows given a primary key. The
      method uses position() to retrieve the key for a given record and rnd_pos() to position
      the internal "cursor" at the row. Rnd_pos() returns the found record in table->record[0],
      so the record has to be moved to table->record[1] for further processing after calling
      find_and_fetch_row().
      
      
      sql/log_event.cc:
        Adding code to one exit branch of find_and_fetch_row() to move output record from
        table->record[0] to table->record[1].
        Adding function to do valgrind memory check.
        Adding valgrind memory checks to check that records are defined when they should be.
        Adding Doxygen comment to find_and_fetch_row() with pre- and post-conditions.
      cf40ae76
    • unknown's avatar
      Merge amd64.:D:/src/mysql-5.1 · 265b272b
      unknown authored
      into  amd64.:D:/src/mysql-5.1_bug23983
      
      
      265b272b
    • unknown's avatar
      Bug#23983 ps.test fails to open shared library · a2beabfe
      unknown authored
      - When a shared library argument is supplied, it's checked for an OS
      specific directory separator. The expected error is different
      depending on the separator used. Create OS specific versions of these
      tests.
      
      
      mysql-test/r/ps.result:
        Bug#23983 ps.test fails to open shared library
        - Moving to OS specific results.
      mysql-test/r/windows.result:
        Bug#23983 ps.test fails to open shared library
        - OS Specific result for shared library argument with path
      mysql-test/t/ps.test:
        Bug#23983 ps.test fails to open shared library
        - Moving to OS specific tests.
      mysql-test/t/windows.test:
        Bug#23983 ps.test fails to open shared library
        - OS Specific test for shared library argument with path
      mysql-test/r/ps_not_windows.result:
        Bug#23983 ps.test fails to open shared library
        - OS Specific result for shared library argument with path
      mysql-test/t/ps_not_windows.test:
        Bug#23983 ps.test fails to open shared library
        - OS Specific test for shared library argument with path
      a2beabfe
    • unknown's avatar
      Bug#24361 valgrind error when shutting down mysqld connected to cluster · 548e1282
      unknown authored
        - Disconnect from transporter before starting to delete objects
      
      
      storage/ndb/src/ndbapi/Ndbinit.cpp:
        Make sure to disconnect from transporter to stop signals from coming in
        before starting to delete the objects that would recieve the signals
      548e1282
    • unknown's avatar
      Refactored a number of engines to have correct init/deinit. Added pass support... · 7d6b4a1a
      unknown authored
      Refactored a number of engines to have correct init/deinit. Added pass support for "data" from plugin to plugin generic init to use memory location. 
      
      
      plugin/daemon_example/plug.in:
        Switched the plug.in type (corrected)
      sql/handler.h:
        Added data pointer to use for engines.
      sql/sql_plugin.cc:
        Passing plugin to generic handlers to allow them to add data to "data"
      storage/archive/ha_archive.cc:
        Refactored. Now uses less logic for startup/shutdown.
      storage/csv/ha_tina.cc:
        Refactored init/deinit to use less code.
      storage/example/ha_example.cc:
        Refactored example to show correct behavior for init/deinit.
      storage/example/ha_example.h:
        Removed unneeded references to methods that do not need to be implemened.
      storage/federated/ha_federated.cc:
        Refactored to use less code and startup/shutdown correctly.
      7d6b4a1a
  10. 17 Nov, 2006 1 commit
  11. 16 Nov, 2006 3 commits
  12. 15 Nov, 2006 12 commits
  13. 14 Nov, 2006 6 commits