1. 23 Feb, 2016 6 commits
    • Sergei Golubchik's avatar
      MDEV-9500 Bug after upgrade to 10.1.10 (and 10.1.11) · 0fcd0ee3
      Sergei Golubchik authored
      Case: table with a NOT NULL field, BEFORE UPDATE trigger,
      and UPDATE with a subquery that uses GROUP BY on that
      NOT NULL field, and needs a temporary table for it.
      
      Because of the BEFORE trigger, the field becomes nullable
      temporarily. But its Item_field (used in GROUP BY) doesn't.
      When working with the temptable some code looked at
      item->maybe_null, some - at field->null_ptr.
      The fix: make Item_field nullable when its field is.
      
      This triggers an assert. The group key size is calculated
      before the item is made nullable, so the group key doesn't
      have a null byte. The fix: make fields/items nullable
      before the group key size is calculated.
      0fcd0ee3
    • Sergei Golubchik's avatar
      MDEV-9560 Mariadb 10.1 Crashes when replicating from 10.0 · a38b705f
      Sergei Golubchik authored
      when replicating old temporal type fields (that don't store
      metadata in the binlog), take the precision from
      destination fields.
      
      (this fixes the replication failure, crashes were
      fixed in a different commit)
      a38b705f
    • Sergei Golubchik's avatar
      correct temporal fields in max_display_length_for_field() · 4cabc608
      Sergei Golubchik authored
      it's *display length* (a.k.a. field_length)
      not storage length (a.k.a. pack_length)
      4cabc608
    • Sergei Golubchik's avatar
      cleanup · d4b1425b
      Sergei Golubchik authored
      * make a local variable for target_table->field[col]
      * move an often-used bit function to my_bit.h
      * remove a non-static and not really needed trivial comparison
        function with a very generic name
      d4b1425b
    • Sergei Golubchik's avatar
      MDEV-9475 I can't finish my_install_db using binary tar distribution · ab2a9600
      Sergei Golubchik authored
      to avoid run-time libjemalloc.so dependency
      link binary tarballs with a static libjemalloc_pic.a
      ab2a9600
    • Sergei Golubchik's avatar
      update test results after MDEV-9307 · bb54df6e
      Sergei Golubchik authored
      bb54df6e
  2. 22 Feb, 2016 6 commits
  3. 21 Feb, 2016 1 commit
  4. 18 Feb, 2016 1 commit
  5. 17 Feb, 2016 4 commits
  6. 16 Feb, 2016 1 commit
  7. 07 Feb, 2016 1 commit
  8. 02 Feb, 2016 3 commits
    • Sergei Petrunia's avatar
      MDEV-9504: ANALYZE TABLE shows wrong 'rows' value for ORDER BY query · 07b8aefe
      Sergei Petrunia authored
      Revert the patch for MDEV-9504.
      It causes test failures, attempt to fix these causes more failures. The
      source of all this is that the code in test_if_skip_sort_order() has
      a peculiar way of treating select_limit parameter:
      Correct value is computed when the query plan is changed. In other cases,
      we use an approximation that ignores the presence of GROUP BY clause,
      or JOINs, or both.
      
      A patch that fixes all of the above would be too big to do in 10.1
      07b8aefe
    • Monty's avatar
      Fixed warnings and one memory loss found by valgrind · 55ea2654
      Monty authored
      The memory loss could happen in Aria with encrypted tables when Aria failed to encrypt a block.
      In normal usage this should never happen.
      55ea2654
    • Monty's avatar
      Merge branch '10.0' into 10.1 · 11c2d3c3
      Monty authored
      Conflicts:
      	configure.cmake
      11c2d3c3
  9. 01 Feb, 2016 8 commits
  10. 31 Jan, 2016 2 commits
  11. 30 Jan, 2016 1 commit
  12. 28 Jan, 2016 6 commits