1. 02 May, 2013 1 commit
  2. 29 Apr, 2013 1 commit
    • Vladislav Vaintroub's avatar
      MDEV-4458 - Windows installer does not launch upgrade wizard anymore, even if... · 8d75f11a
      Vladislav Vaintroub authored
      MDEV-4458 - Windows installer does not launch upgrade wizard anymore, even if there are upgradable instances (i.e windows service of lower MariaDB/MySQL version)
      
      The main  reason for he error is misplaced ADD_DIRECTORY in top-level CMakeLists.txt.
      ADD_DIRECTORY(win/packaging) was places before win/upgrade_wizard, and MSI was not able to detect that  upgrade wizard was built, and thus excluded upgrade wizard entirely.
      8d75f11a
  3. 28 Apr, 2013 2 commits
    • Vladislav Vaintroub's avatar
      fix test on Windows · 2ffc7d73
      Vladislav Vaintroub authored
      2ffc7d73
    • Igor Babaev's avatar
      Fixed bug mdev-4340. · f225f548
      Igor Babaev authored
      The function make_join_statistics checks whether eq_ref access uses only
      constant expressions, and, if this is the case the function performs
      constant row substitution. The code of this check must take into account
      hidden components of extended secondary keys. 
      f225f548
  4. 25 Apr, 2013 2 commits
    • Vladislav Vaintroub's avatar
      Fix build on Windows · 1d130cc6
      Vladislav Vaintroub authored
      1d130cc6
    • unknown's avatar
      Fix unsigned/signed conversion bug in event type during mysql_binlog_send(). · 203264dd
      unknown authored
      Since event types can be >=128 and are read from a (possibly signed) char
      pointer, we need to cast to unsigned char before extending to int, or we will
      get an incorrect negative number. This was done in the main code path already,
      but there is a rare case where we check for new events first without a lock
      and then again with the lock. If the second check succeeds because a new event
      turns up at just the right time, then we took a code path that was missing the
      correct unsigned char cast, leading to incorrect handling of events for old
      slave servers and possibly other grief.
      
      (This was found from a sporadic failure in Buildbot of test case
      rpl_mariadb_slave_capability).
      203264dd
  5. 22 Apr, 2013 1 commit
    • unknown's avatar
      MDEV-4396: Fix sporadic failure of test innodb.innodb_bug14676111 · b54e5850
      unknown authored
      The problem was that xtradb has innodb_purge_threads default 1 (plain
      innodb defaults to 0).
      
      The test sets a special debug variable and relies on it to force
      purge to happen. But when using background purge threads, this does
      not work, the debug code is not made to handle this, so occasionally
      the test times out waiting for the purge to occur.
      
      Fix by explicitly setting innodb_purgee_threads=0 for this test.
      b54e5850
  6. 19 Apr, 2013 2 commits
  7. 18 Apr, 2013 1 commit
  8. 17 Apr, 2013 1 commit
  9. 16 Apr, 2013 3 commits
  10. 14 Apr, 2013 2 commits
  11. 12 Apr, 2013 1 commit
    • Michael Widenius's avatar
      Increase default value of max_binlog_cache_size and max_binlog_stmt_cache_size to ulonglong_max. · aa4c7dea
      Michael Widenius authored
      This fixes that by default LOAD DATA INFILE will not generate the error:
      "Multi-statement transaction required more than 'max_binlog_cache_size' bytes of storage..."
      
      
      mysql-test/suite/sys_vars/r/max_binlog_cache_size_basic.result:
        Updated test case
      mysql-test/suite/sys_vars/r/max_binlog_stmt_cache_size_basic.result:
        Updated test case
      sql/sys_vars.cc:
        Increase default value of max_binlog_cache_size and max_binlog_stmt_cache_size to ulonglong_max.
      aa4c7dea
  12. 11 Apr, 2013 4 commits
  13. 07 Apr, 2013 1 commit
    • Vladislav Vaintroub's avatar
      MDEV-4356 : MariaDB does not start if bind-address gets resolved to more than single IP address. · 5ae72bb7
      Vladislav Vaintroub authored
        
      MySQL bug http://bugs.mysql.com/bug.php?id=61713 was fixed in 5.5
        
      Fix is to remove check for multiple entries returned by getaddrinfo(), and use the first entry that works  - i.e socket can be created.  
      
      Unlike Oracle/MySQL's fix ,this one  is kept minimal : 
      -  we do not prioritize IPv4 over IPv6,  orr other way around,  and just rely on operating system to sort getaddrinfo() entries in sensible order. There is RFC that defines  what is sensible order for getaddrinfo entries ( RFC 3484), and OS specific tweaks are also possible , like /etc/gai.conf o Linux.
      -  also,  we do not force "0.0.0.0" address if bind-address is not given -  this would be a change in behavior of 5.5 at least on Windows, where passing NULL as  to getaddrinfo()  gives back IPv6-wildcard.
      5ae72bb7
  14. 06 Apr, 2013 3 commits
  15. 08 Apr, 2013 1 commit
    • unknown's avatar
      If a range tree has a branch that is an expensive constant, · 385de874
      unknown authored
      currently get_mm_tree skipped the evaluation of this constant
      and icorrectly proceeded. The correct behavior is to return a
      NULL subtree, according to the IF branch being fixed - when it
      evaluates the constant it returns a value, and doesn't continue
      further.
      385de874
  16. 05 Apr, 2013 2 commits
  17. 04 Apr, 2013 5 commits
  18. 01 Apr, 2013 1 commit
  19. 29 Mar, 2013 1 commit
  20. 28 Mar, 2013 1 commit
  21. 03 Apr, 2013 1 commit
  22. 29 Mar, 2013 3 commits
    • unknown's avatar
      Fix for MDEV-4144 · 599a1384
      unknown authored
        
      Analysis:
      The reason for the inefficent plan was that Item_subselect::is_expensive()
      didn't detect the special case when a subquery was optimized, but had no
      join plan because it either has no table, or its tables have been optimized
      away, or the optimizer detected that the result set is empty.
        
      Solution:
      Identify the special cases above in the Item_subselect::is_expensive(),
      and consider such degenerate subqueries inexpensive.
      599a1384
    • Vladislav Vaintroub's avatar
      fa01b76b
    • Igor Babaev's avatar
      Merge 5.3->5.5. · e91e8c8c
      Igor Babaev authored
      e91e8c8c