1. 09 Mar, 2011 1 commit
    • Jon Olav Hauglid's avatar
      Bug#11815600 [ERROR] INNODB COULD NOT FIND INDEX PRIMARY · 9b30e2e2
      Jon Olav Hauglid authored
                   KEY NO 0 FOR TABLE IN ERROR LOG 
      
      With the changes made by the patches for Bug#11751388 and
      Bug#11784056, concurrent reads are allowed while secondary
      indexes are created in InnoDB. This means that the metadata
      lock on the affected table is not upgraded to exclusive
      until the .FRM is updated at the end of ALTER TABLE processing.
      
      The problem was that if this lock upgrade failed for some
      reason (e.g. timeout), the index information in the server
      and inside InnoDB would be out of sync. This would happen
      since the add index operation already was committed inside 
      InnoDB but the table metadata inside the server had not been
      updated yet.
      
      This patch fixes the problem by (for now) reverting the
      effects of the patches for Bug#11751388 and Bug#11784056.
      Concurrent reads will now again be blocked during creation
      of secondary indexes in InnoDB.
      
      Test case added to innodb_mysql_lock.test.
      9b30e2e2
  2. 17 Feb, 2011 4 commits
  3. 11 Feb, 2011 3 commits
    • Tor Didriksen's avatar
      Bug #59686 crash in String::copy() with time data type · 32e6d147
      Tor Didriksen authored
      The problem was that Item_sum_hybrid::val_xxx() did not propagate null values
      up the expression tree.
      32e6d147
    • Guilhem Bichot's avatar
      Fix for BUG#59894 · 77c0f33e
      Guilhem Bichot authored
      "set optimizer_switch to e or d causes invalid memory writes/valgrind warnings":
      due to prefix support, the argument "e" was overwritten with its full value
      "engine_condition_pushdown", which caused a buffer overrun.
      This was wrong usage of find_type(); other wrong usages are fixed here too.
      Please start reading with the comment of typelib.c.
      77c0f33e
    • Sergey Glukhov's avatar
      Bug#59685 crash in String::length with date types · e9fc441a
      Sergey Glukhov authored
      The crash happens because Item_cache which is result
      holder for Item_subselect can't correctly convert
      a DATETIME value from string to int representation.
      The fix is to disable constant item convertion for
      subselect(partial rollback of bug52157 fix).
      e9fc441a
  4. 10 Feb, 2011 9 commits
  5. 09 Feb, 2011 11 commits
  6. 08 Feb, 2011 12 commits