1. 02 Oct, 2009 1 commit
  2. 01 Oct, 2009 1 commit
  3. 30 Sep, 2009 13 commits
  4. 29 Sep, 2009 15 commits
    • Tatiana A. Nurnberg's avatar
      auto-merge · 00e5cea8
      Tatiana A. Nurnberg authored
      00e5cea8
    • Ingo Struewing's avatar
      WL#4259 - Debug Sync Facility · 21586dfb
      Ingo Struewing authored
      Backport from 6.0 to 5.1.
      Only those sync points are included, which are used in debug_sync.test.
      
        The Debug Sync Facility allows to place synchronization points
        in the code:
        
        open_tables(...)
        
        DEBUG_SYNC(thd, "after_open_tables");
        
        lock_tables(...)
        
        When activated, a sync point can
        
        - Send a signal and/or
        - Wait for a signal
        
        Nomenclature:
        
        - signal:            A value of a global variable that persists
                             until overwritten by a new signal. The global
                             variable can also be seen as a "signal post"
                             or "flag mast". Then the signal is what is
                             attached to the "signal post" or "flag mast".
        
        - send a signal:     Assign the value (the signal) to the global
                             variable ("set a flag") and broadcast a
                             global condition to wake those waiting for
                             a signal.
        
        - wait for a signal: Loop over waiting for the global condition until
                             the global value matches the wait-for signal.
        
        Please find more information in the top comment in debug_sync.cc
        or in the worklog entry.
      21586dfb
    • Kristofer Pettersson's avatar
      4e9be705
    • Tatiana A. Nurnberg's avatar
      auto-merge · caf38a02
      Tatiana A. Nurnberg authored
      caf38a02
    • Kristofer Pettersson's avatar
      autocommit · f79b783b
      Kristofer Pettersson authored
      f79b783b
    • Kristofer Pettersson's avatar
      Bug#42108 Wrong locking for UPDATE with subqueries leads to broken statement · 21d401c2
      Kristofer Pettersson authored
                replication
                    
      MySQL server uses wrong lock type (always TL_READ instead of
      TL_READ_NO_INSERT when appropriate) for tables used in
      subqueries of UPDATE statement. This leads in some cases to
      a broken replication as statements are written in the wrong
      order to the binlog.
      21d401c2
    • Martin Hansson's avatar
      Merge of Bug#35996. · e6b1bade
      Martin Hansson authored
      e6b1bade
    • Alexey Botchkov's avatar
      merging · 355b0405
      Alexey Botchkov authored
      355b0405
    • Davi Arnaut's avatar
      Don't use the semicolon character as a argument separator as it · 73153f1c
      Davi Arnaut authored
      can be interpreted as a shell metacharacter in some circumstances.
      For example, it is interpreted as a command separator when invoking
      a debugger.
      73153f1c
    • Alexey Botchkov's avatar
      merging · 2cafcbb5
      Alexey Botchkov authored
      2cafcbb5
    • Tatiana A. Nurnberg's avatar
      auto-merge · ba6bd996
      Tatiana A. Nurnberg authored
      ba6bd996
    • Alexey Botchkov's avatar
      merging · 45bdc1e0
      Alexey Botchkov authored
      45bdc1e0
    • Davi Arnaut's avatar
      Bug#45567: Fast ALTER TABLE broken for enum and set · fc374036
      Davi Arnaut authored
      The problem was that appending values to the end of an existing
      ENUM or SET column was being treated as table data modification,
      preventing a immediately (fast) table alteration that occurs when
      only table metadata is being modified.
      
      The cause was twofold: adding a enumeration or set members to the 
      end of the list of valid member values was not being considered
      a "compatible" table alteration, and for SET columns, the check
      was being done upon the max display length and not the underlying
      (pack) length of the field.
      
      The solution is to augment the function that checks wether two ENUM
      or SET fields are compatible -- by comparing the pack lengths and
      performing a limited comparison of the member values.
      fc374036
    • Mattias Jonsson's avatar
      merge · ecc556f4
      Mattias Jonsson authored
      ecc556f4
    • Sergey Glukhov's avatar
      Bug#47150 Assertion in Field_long::val_int() on MERGE + TRIGGER + multi-table UPDATE · 42999430
      Sergey Glukhov authored
      The bug is not related to MERGE table or TRIGGER. More correct description
      would be 'assertion on multi-table UPDATE + NATURAL JOIN + MERGEABLE VIEW'.
      On PREPARE stage(see test case) we call mark_common_columns() func which
      creates ON condition for NATURAL JOIN and sets appropriate
      table read_set bitmaps for fields which are used in ON condition.
      On EXECUTE stage mark_common_columns() is not called, we set
      necessary read_set bitmaps in setup_conds(). But 'B.f1' field
      is already processed and related item alredy fixed before
      setup_conds() as updated field and setup_conds can not set
      read_set bitmap because of that.
      The fix is to set read_set bitmap for appropriate table field even
      if Item_direct_view_ref item which represents a refernce to this field
      is fixed.
      42999430
  5. 28 Sep, 2009 10 commits