1. 17 Dec, 2012 2 commits
    • unknown's avatar
      MDEV-532: Fix some race conditions in test cases. · cd0970c4
      unknown authored
      With MDEV-532, the binlog_checkpoint event is logged asynchronously
      from a binlog background thread. This causes some sporadic failures
      in some test cases whose output depends on order of events in
      binlog.
      
      Fix using an include file that waits until the binlog checkpoint
      event has been logged before proceeding with the test case.
      cd0970c4
    • Igor Babaev's avatar
      Merge mariadb-5.5 -> 10.0-base. · 7760efad
      Igor Babaev authored
      7760efad
  2. 14 Dec, 2012 2 commits
  3. 13 Dec, 2012 1 commit
  4. 26 Nov, 2012 1 commit
    • unknown's avatar
      Fix of MDEV-3874: Server crashes in Item_field::print on a SELECT from a MERGE... · b8b875cb
      unknown authored
      Fix of MDEV-3874: Server crashes in Item_field::print on a SELECT from a MERGE view with materialization+semijoin, subquery, ORDER BY.
      
      The problem was that in debugging binaries it try to print item to assign human readable name to the item.
      But subquery item was already freed (join_free/cleanup with full cleanup) so Item_field refers to temporary
      table which memory had been already freed.
      b8b875cb
  5. 05 Dec, 2012 1 commit
    • Igor Babaev's avatar
      Fixed bug mdev-3888. · 5e345281
      Igor Babaev authored
      When inserting a record with update on duplicate keys the server calls
      the ha_index_read_idx_map handler function to look for the record
      that violates unique key constraints. The third parameter of this call
      should mark only the base components of the index where the server is
      searched for the record. Possible hidden components of the primary key
      are to be unmarked.
      5e345281
  6. 01 Dec, 2012 2 commits
  7. 27 Nov, 2012 3 commits
  8. 26 Nov, 2012 2 commits
  9. 22 Nov, 2012 2 commits
  10. 21 Nov, 2012 2 commits
  11. 20 Nov, 2012 1 commit
    • unknown's avatar
      MDEV-3861: Assertion in TC_LOG_MMAP. · 6058b654
      unknown authored
      Root cause was that number of entries in commit checkpoint buffer
      was bigger than total available entries in the mmap()'ed score
      file. This causes TC_LOG_MMAP to run out of entries before even
      the first checkpoint is started, which causes a hang.
      
      Fixed by making sure we have fewer entries within one commit
      checkpoint than total available scorefile entries.
      
      Another part of this bug was discovery of severel unrelated bugs
      in TC_LOG_MMAP dating back to 5.1. These were fixed in 5.1 and
      will be merged up (the problem this patch fixes exists only in
      10.0).
      6058b654
  12. 17 Nov, 2012 1 commit
    • Sergei Golubchik's avatar
      MDEV-736 LP:1004615 - Unexpected warnings "Encountered illegal value '' when... · 13ba0dd2
      Sergei Golubchik authored
      MDEV-736 LP:1004615 - Unexpected warnings "Encountered illegal value '' when converting to DECIMAL" on a query with aggregate functions and GROUP BY
      
      fix: don't call field->val_decimal() if the field->is_null()
      because the buffer at field->ptr might not hold a valid decimal value
      
      sql/item_sum.cc:
        do not call field->val_decimal() if the field->is_null()
      storage/maria/ma_blockrec.c:
        cleanup
      storage/maria/ma_rrnd.c:
        cleanup
      strings/decimal.c:
        typo
      13ba0dd2
  13. 20 Nov, 2012 3 commits
  14. 19 Nov, 2012 3 commits
  15. 17 Nov, 2012 1 commit
  16. 15 Nov, 2012 1 commit
    • Sergei Golubchik's avatar
      MDEV-3826 compilation of client programs fail: m_string.h tries to include <mysql/plugin.h> · 3a1fdc9e
      Sergei Golubchik authored
      mysql_config:
      - add not only $pkgincludedir, but also $pkgincludedir/.. to the header search path,
        for #include <mysql/plugin.h> to work
      
      
      scripts/mysql_config.sh:
        - don't support headers in */include anymore. only in */include/mysql
        - remove the incorrect "bug fix" (fixed correctly long time ago)
        - add not only $pkgincludedir, but also $pkgincludedir/.. to the header search path,
          for #include <mysql/plugin.h> to work
        - but don't do it, if $pkgincludedir/.. is /usr/include
      3a1fdc9e
  17. 12 Nov, 2012 1 commit
  18. 10 Nov, 2012 2 commits
    • Vladislav Vaintroub's avatar
      MDEV-3849 - 1 bytes stack overwrite in normalize_dirname(). · 35313020
      Vladislav Vaintroub authored
      Take into account that length of strings passed down to this function can be up to FN_REFLEN+1 bytes. including terminating zero.
      The overwrite was caused by incomplete fix to MySQL Bug # 44834
      35313020
    • Igor Babaev's avatar
      Fixed bug mdev-3845. · 094f4cf7
      Igor Babaev authored
      If triggers are used for an insert/update/delete statement than the values of
      all virtual columns must be computed as any of them may be used by the triggers.
      094f4cf7
  19. 09 Nov, 2012 9 commits