1. 11 Feb, 2006 1 commit
  2. 10 Feb, 2006 6 commits
    • unknown's avatar
      WL 2826: Error handling of ALTER TABLE for partitioning · c6d1dee7
      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
      c6d1dee7
    • unknown's avatar
      Don't use free'd memory, bad idea · 8ae7ef46
      unknown authored
      Free all memory with mutex and destroy mutex as final step
      
      
      8ae7ef46
    • unknown's avatar
      WL 2826: Error handling of ALTER TABLE for partitioning · 2287cee6
      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
      2287cee6
    • unknown's avatar
      Bug fixes + debug stuff · f99f322e
      unknown authored
      f99f322e
    • unknown's avatar
      Merge mronstrom@bk-internal.mysql.com:/home/bk/mysql-5.1-wl2826 · 8a0f12a1
      unknown authored
      into  c-9a08e253.1238-1-64736c10.cust.bredbandsbolaget.se:/home/pappa/wl2826
      
      
      sql/sql_partition.cc:
        Auto merged
      8a0f12a1
    • unknown's avatar
      WL 2826: Error handling of ALTER TABLE for partitioning · de3c77df
      unknown authored
      Bug fixes
      
      
      sql/sql_partition.cc:
        Bug fixes
      de3c77df
  3. 09 Feb, 2006 8 commits
    • unknown's avatar
      WL 2826: Error handling of ALTER TABLE for partitioning · 4bef9c0e
      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
      4bef9c0e
    • unknown's avatar
      WL 2826: Error handling of ALTER TABLE for partitioning · ddb14e0f
      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
      ddb14e0f
    • unknown's avatar
      WL 2826: Error handling of ALTER TABLE for partitioning · 392b82a1
      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
      392b82a1
    • unknown's avatar
      WL 2826: Error handling of ALTER TABLE for partitioning · d7bd607d
      unknown authored
      More fixes
      
      
      sql/sql_partition.cc:
        More fixes
      d7bd607d
    • unknown's avatar
      WL 2826: Error handling of ALTER TABLE for partitioning · cd653ed9
      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
      cd653ed9
    • unknown's avatar
      Merge mronstrom@bk-internal.mysql.com:/home/bk/mysql-5.1-wl2826 · b037a7ca
      unknown authored
      into  c-9a08e253.1238-1-64736c10.cust.bredbandsbolaget.se:/home/pappa/wl2826
      
      
      sql/sql_table.cc:
        Auto merged
      b037a7ca
    • unknown's avatar
      WL 2826: Error handling for ALTER TABLE for partitioning · 836912d1
      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
      836912d1
    • unknown's avatar
      WL 2826: Error handling of ALTER TABLE for partitioning · 256d8527
      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
      256d8527
  4. 08 Feb, 2006 2 commits
    • unknown's avatar
      WL 2826: Error handling for ALTER TABLE for partitioning Step 13 · e5200bc1
      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
      e5200bc1
    • unknown's avatar
      WL 2826: Error handling for ALTER TABLE for partitioning · 910bf380
      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.
      910bf380
  5. 07 Feb, 2006 2 commits
    • unknown's avatar
      WL 2826: Step 12 · e09fb5ce
      unknown authored
      More table log code
      
      
      sql/mysql_priv.h:
        Added new call
      sql/sql_table.cc:
        New table log code
      e09fb5ce
    • unknown's avatar
      WL 2826: Step 11 · e4a92796
      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
      e4a92796
  6. 06 Feb, 2006 1 commit
    • unknown's avatar
      WL 2826: Step 10 · 84627f5b
      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
      84627f5b
  7. 04 Feb, 2006 1 commit
    • unknown's avatar
      WL 2826: Nineth step · dde234ae
      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
      dde234ae
  8. 03 Feb, 2006 3 commits
    • unknown's avatar
      WL 2826: Eigth step · 846adac5
      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
      846adac5
    • unknown's avatar
      WL 2826: Seventh step, more fixes for error injects · 7ea92dcc
      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
      7ea92dcc
    • unknown's avatar
      WL #2826: Sixth step, made it work with test cases · e254606f
      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
      e254606f
  9. 01 Feb, 2006 5 commits
    • unknown's avatar
      WL 2826: Fifth step · 04c95dc2
      unknown authored
      Removed partition state from parser
      
      
      sql/sql_yacc.yy:
        Removed partition state from parser
      04c95dc2
    • unknown's avatar
      WL 2826: Fourth step · c31c4eec
      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
      c31c4eec
    • unknown's avatar
      WL 2826: A third step, fixing generate_partition_syntax · 83d418a2
      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
      83d418a2
    • unknown's avatar
      WL 2826: Another step · 9b6c2bc2
      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
      9b6c2bc2
    • unknown's avatar
      WL 2826: First step in error handling of ALTER TABLE for partitioning · 520dffb5
      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
      520dffb5
  10. 30 Jan, 2006 11 commits