1. 11 Feb, 2006 1 commit
  2. 10 Feb, 2006 6 commits
    • unknown's avatar
      WL 2826: Error handling of ALTER TABLE for partitioning · 08296d3c
      unknown authored
      Make lots of fixes to handle the most complex case of reorganising
      of partitions where two-phased processes are needed in some cases.
      
      
      sql/ha_partition.cc:
        Rewrote the rename partitions and drop partitions to align with how
        the table log handles things.
      sql/handler.h:
        Added new entry to partition_element to keep track of log entry for
        a partition during ALTER TABLE that reorganises existing partitions.
      sql/mysql_priv.h:
        Converted 'd', 'e' and so forth to constants with somewhat more
        descriptive names
        Added method to inactivate log entries
      sql/sql_partition.cc:
        Fix change of partitions
      sql/sql_table.cc:
        More constants with somewhat descriptive names
        Moved around some methods between internal part and external part
        Added new method to handle inactivation of log entries
      08296d3c
    • unknown's avatar
      Don't use free'd memory, bad idea · 11aa9283
      unknown authored
      Free all memory with mutex and destroy mutex as final step
      
      11aa9283
    • unknown's avatar
      WL 2826: Error handling of ALTER TABLE for partitioning · 127fbad1
      unknown authored
      New function to set exec_log_entry
      Moving code outside lock of table log
      Fixing some initialisations of list reference to avoid
      releasing wrong parts
      
      
      sql/sql_partition.cc:
        New function to set exec_log_entry
        Moving code outside lock of table log
        Fixing some initialisations of list reference to avoid
        releasing wrong parts
      sql/sql_table.cc:
        Initialisation of write_header needed
      127fbad1
    • unknown's avatar
      Bug fixes + debug stuff · c6a6cfbd
      unknown authored
      c6a6cfbd
    • unknown's avatar
      Merge mronstrom@bk-internal.mysql.com:/home/bk/mysql-5.1-wl2826 · d701fb7d
      unknown authored
      into  c-9a08e253.1238-1-64736c10.cust.bredbandsbolaget.se:/home/pappa/wl2826
      
      
      sql/sql_partition.cc:
        Auto merged
      d701fb7d
    • unknown's avatar
      WL 2826: Error handling of ALTER TABLE for partitioning · 2b624c9b
      unknown authored
      Bug fixes
      
      
      sql/sql_partition.cc:
        Bug fixes
      2b624c9b
  3. 09 Feb, 2006 8 commits
    • unknown's avatar
      WL 2826: Error handling of ALTER TABLE for partitioning · c8d7424a
      unknown authored
      Error handling
      Crash if any error after reaching beyond certain point in
      ALTER TABLE processing
      
      
      sql/ha_partition.cc:
        Error handling
        Crash if any error after reaching beyond certain point in
        ALTER TABLE processing
      sql/sql_partition.cc:
        Error handling
        Crash if any error after reaching beyond certain point in
        ALTER TABLE processing
      c8d7424a
    • unknown's avatar
      WL 2826: Error handling of ALTER TABLE for partitioning · 07d760dd
      unknown authored
      More work on table logging of ALTER TABLE for partitioning
      
      
      sql/mysql_priv.h:
        More work on table logging of ALTER TABLE for partitioning
      sql/sql_partition.cc:
        More work on table logging of ALTER TABLE for partitioning
      07d760dd
    • unknown's avatar
      WL 2826: Error handling of ALTER TABLE for partitioning · 2d5bec0f
      unknown authored
      A little more complete handling
      
      
      sql/mysql_priv.h:
        Complete flag
      sql/sql_table.cc:
        A little more complete handling
      sql/sql_partition.cc:
        A little more complete handling
      2d5bec0f
    • unknown's avatar
      WL 2826: Error handling of ALTER TABLE for partitioning · 4851ba7c
      unknown authored
      More fixes
      
      
      sql/sql_partition.cc:
        More fixes
      4851ba7c
    • unknown's avatar
      WL 2826: Error handling of ALTER TABLE for partitioning · 749bb8dd
      unknown authored
      A number of fixes
      
      
      sql/handler.h:
        A numbre of fixes
      sql/mysql_priv.h:
        A numbre of fixes
      sql/share/errmsg.txt:
        A numbre of fixes
      sql/sql_partition.cc:
        A numbre of fixes
      sql/sql_table.cc:
        A numbre of fixes
      749bb8dd
    • unknown's avatar
      Merge mronstrom@bk-internal.mysql.com:/home/bk/mysql-5.1-wl2826 · f08aff26
      unknown authored
      into  c-9a08e253.1238-1-64736c10.cust.bredbandsbolaget.se:/home/pappa/wl2826
      
      
      sql/sql_table.cc:
        Auto merged
      f08aff26
    • unknown's avatar
      WL 2826: Error handling for ALTER TABLE for partitioning · 9053add1
      unknown authored
      Step 14: First version of table log for add/Drop partition
      
      
      sql/ha_partition.cc:
        Moved create partition name code to sql_partition.cc
      sql/handler.h:
        Added entries in partition_info to keep track of table log entries
      sql/mysql_priv.h:
        Moved create partition name code to sql_partition.cc
      sql/sql_partition.cc:
        Moved create partition name code to sql_partition.cc
        First version of table log for add/drop partition
      sql/sql_table.cc:
        Add IO_SIZE to table log header
      9053add1
    • unknown's avatar
      WL 2826: Error handling of ALTER TABLE for partitioning · 03b0d16f
      unknown authored
      Close down table log also at exit of main thread
      
      
      sql/mysqld.cc:
        Close down table log also at exit of main thread
      sql/sql_table.cc:
        Close down table log also at exit of main thread
      03b0d16f
  4. 08 Feb, 2006 2 commits
    • unknown's avatar
      WL 2826: Error handling for ALTER TABLE for partitioning Step 13 · ef8a29b2
      unknown authored
      Lots of compilation fixes
      
      
      sql/mysql_priv.h:
        Lots of compilation fixes
      sql/sql_partition.cc:
        Lots of compilation fixes
      sql/sql_table.cc:
        Lots of compilation fixes
      ef8a29b2
    • unknown's avatar
      WL 2826: Error handling for ALTER TABLE for partitioning · 18a84cd6
      unknown authored
      Most of the code for handling the table log is in place now, except
      the action part at recovery and proper error handling in some places.
      
      
      sql/mysql_priv.h:
        Removed internal methods from external table log interface
        Added and changed interface
      sql/mysqld.cc:
        Added call to execute table log recovery
      sql/sql_table.cc:
        Most of the code for handling the table log is in place now, except
        the action part at recovery and proper error handling in some places.
      18a84cd6
  5. 07 Feb, 2006 2 commits
    • unknown's avatar
      WL 2826: Step 12 · 1005ac5a
      unknown authored
      More table log code
      
      
      sql/mysql_priv.h:
        Added new call
      sql/sql_table.cc:
        New table log code
      1005ac5a
    • unknown's avatar
      WL 2826: Step 11 · c254381e
      unknown authored
      Lots of new code for table log
      
      
      include/my_sys.h:
        Spell error
      sql/mysql_priv.h:
        More structs and methods for table log
      sql/sql_partition.cc:
        lock/unlock global table log mutex
      sql/sql_table.cc:
        Lots of new code for table log
      c254381e
  6. 06 Feb, 2006 1 commit
    • unknown's avatar
      WL 2826: Step 10 · 9c3f0975
      unknown authored
      New methods to read/write/initialise table log
      
      
      sql/mysql_priv.h:
        New methods to read/write/initialise table log
      sql/sql_table.cc:
        New methods to read/write/initialise table log
      9c3f0975
  7. 04 Feb, 2006 1 commit
    • unknown's avatar
      WL 2826: Nineth step · 2716f0a0
      unknown authored
      Updated error inject scripts
      
      
      dbug/dbug_long.h:
        Updated scripts in dub_long.h as well
      sql/mysql_priv.h:
        Updated error inject scripts
      2716f0a0
  8. 03 Feb, 2006 3 commits
    • unknown's avatar
      WL 2826: Eigth step · 5336341b
      unknown authored
      Inserted monty patch to allow for adding and dropping
      DBUG keywords per thread
      
      
      dbug/dbug.c:
        Inserted monty patch to allow for adding and dropping
        DBUG keywords per thread
      include/my_dbug.h:
        Inserted monty patch to allow for adding and dropping
        DBUG keywords per thread
      5336341b
    • unknown's avatar
      WL 2826: Seventh step, more fixes for error injects · 6a897b54
      unknown authored
      Removed session variables for error injects
      started using DBUG macros for error injects
      
      
      include/my_dbug.h:
        Added new DBUG macros
      sql/sql_class.cc:
        Removed session variables for error injects
      sql/sql_class.h:
        Removed session variables for error injects
      sql/mysql_priv.h:
        Changed ERROR INJECT macros to use DBUG macros
      sql/mysqld.cc:
        Removed session variables for error injects
      sql/set_var.cc:
        Removed session variables for error injects
      6a897b54
    • unknown's avatar
      WL #2826: Sixth step, made it work with test cases · 6b64b1a9
      unknown authored
      
      BUILD/SETUP.sh:
        Fixed BUILD scripts
      BUILD/compile-pentium-debug-max:
        Fixed BUILD scripts
      sql/ha_partition.cc:
        Need to handle states differently when creating handler files
      sql/mysql_priv.h:
        Some error inject fixes
      sql/mysqld.cc:
        Some error inject fixes
      sql/set_var.cc:
        Some error inject fixes
      sql/sql_partition.cc:
        Fixing a bug with generate partition syntax
        A number of fixes
      sql/sql_table.cc:
        Fix a few bugs
      sql/table.cc:
        fix
      6b64b1a9
  9. 01 Feb, 2006 5 commits
    • unknown's avatar
      WL 2826: Fifth step · 4b335429
      unknown authored
      Removed partition state from parser
      
      
      sql/sql_yacc.yy:
        Removed partition state from parser
      4b335429
    • unknown's avatar
      WL 2826: Fourth step · 17de6d59
      unknown authored
      Remove partition state from frm file
      Ensure we can still load tables created in 5.1.6 for the time
      being
      
      
      sql/table.cc:
        Remove partition state from frm file
        Ensure we can still load tables created in 5.1.6 for the time
        being
      sql/unireg.cc:
        Remove partition state from frm file
        Ensure we can still load tables created in 5.1.6 for the time
        being
      17de6d59
    • unknown's avatar
      WL 2826: A third step, fixing generate_partition_syntax · 93c697ad
      unknown authored
      
      sql/mysql_priv.h:
        Make it possible to set injector code and value
        Declare header part of a set of new functions
      sql/sql_partition.cc:
        Fix generate_partition_syntax to handle shadow variant of frm file
      93c697ad
    • unknown's avatar
      WL 2826: Another step · 463e4e79
      unknown authored
      
      sql/mysql_priv.h:
        Set error_inject_code to zero after firing error injection
      sql/sql_partition.cc:
        New entries for new functions
      463e4e79
    • unknown's avatar
      WL 2826: First step in error handling of ALTER TABLE for partitioning · 3742297b
      unknown authored
      
      BUILD/SETUP.sh:
        Add possibility for BUILD scripts to add error inject flag
      BUILD/compile-pentium-debug-max:
        Add error inject flag to this script
      configure.in:
        Add handling of --with-error-inject in configure script
      sql/ha_ndbcluster.cc:
        Add possibility to rename handler file
      sql/ha_ndbcluster.h:
        Add possibility to rename handler file
      sql/ha_partition.cc:
        Add possibility to rename handler file
      sql/ha_partition.h:
        Add possibility to rename handler file
      sql/handler.h:
        Add possibility to rename handler file
      sql/mysql_priv.h:
        Add error inject macros
      sql/mysqld.cc:
        Add error inject system variables
      sql/set_var.cc:
        Add error inject system variables
      sql/sql_class.h:
        Add error inject system variables
      sql/sql_table.cc:
        Start modifying code for introducing table log, Step 1
      sql/unireg.cc:
        Add rename flag to handler file call
      sql/sql_partition.cc:
        Changes to ADD/DROP/CHANGE partitions
      3742297b
  10. 30 Jan, 2006 11 commits