1. 21 Mar, 2014 2 commits
  2. 20 Mar, 2014 3 commits
  3. 19 Mar, 2014 12 commits
  4. 18 Mar, 2014 1 commit
    • Igor Babaev's avatar
      Fixed bug mdev-5191. · 06ef0bda
      Igor Babaev authored
      Corrected cost estimates when a join buffer is used and the optimizer is requested
      to use condition selectivities.
      06ef0bda
  5. 17 Mar, 2014 3 commits
  6. 16 Mar, 2014 1 commit
  7. 14 Mar, 2014 3 commits
  8. 13 Mar, 2014 2 commits
  9. 12 Mar, 2014 5 commits
    • Sergei Golubchik's avatar
      update test results · 89406110
      Sergei Golubchik authored
      89406110
    • Sergei Golubchik's avatar
      typo fixed · 4e29d31c
      Sergei Golubchik authored
      4e29d31c
    • Michael Widenius's avatar
      MDEV-5619: CREATE OR REPLACE does not release MDL_EXCLUSIVE upon failure · f320b12c
      Michael Widenius authored
      
      mysql-test/r/create_or_replace.result:
        Added test of releasing of metadata locks
      mysql-test/t/create_or_replace.test:
        Added test of releasing of metadata locks
      sql/handler.h:
        Added marker if table was deleted as part of CREATE OR REPLACE
      sql/sql_base.cc:
        Added Locked_tables_list::unlock_locked_table()
      sql/sql_class.h:
        New prototypes
      sql/sql_insert.cc:
        Unlock metadata locks for deleted table in case of error. Also do unlock tables if this was the only locked table.
      sql/sql_table.cc:
        Unlock metadata locks for deleted table in case of error. Also do unlock tables if this was the only locked table.
      f320b12c
    • Michael Widenius's avatar
      Fixed some failing tests · 49ca12a1
      Michael Widenius authored
      Remove memory warnings if mysql client aborts early
      Changed copyright for clients
      
      client/mysql.cc:
        Free memory if get_options fails, so that we don't get warnings from safemalloc
      include/welcome_copyright_notice.h:
        Added SkySQL to client copyrights
      mysql-test/valgrind.supp:
        Added suppressions for memory leaks from dlopen() for OpenSUSE 12.3
      storage/oqgraph/mysql-test/oqgraph/regression_mdev5744.result:
        Suppress warning
      storage/oqgraph/mysql-test/oqgraph/regression_mdev5744.test:
        Suppress warning
      49ca12a1
    • unknown's avatar
      Update the help text for --slave-parallel-threads, to clarify the · 2fc4a103
      unknown authored
      meaning of the count, and to remove the alpha warning.
      2fc4a103
  10. 11 Mar, 2014 3 commits
    • unknown's avatar
      MDEV-5804: If same GTID is received on multiple master connections in... · 8b9b7ec3
      unknown authored
      MDEV-5804: If same GTID is received on multiple master connections in multi-source replication, the event is double-executed causing corruption or replication failure
      
      Some fixes, mainly to make it work in non-parallel replication mode also
      (--slave-parallel-threads=0).
      
      Patch should be fairly complete now.
      8b9b7ec3
    • Michael Widenius's avatar
      Merge with 5.5 · 17278496
      Michael Widenius authored
      17278496
    • Michael Widenius's avatar
      Fixed a compiler failure and removed some warnings in windows · 800a278f
      Michael Widenius authored
      extra/replace.c:
        Removed compiler warning
      sql/unireg.cc:
        Removed compiler warning
      storage/maria/ma_blockrec.c:
        Removed compiler warning
      storage/maria/ma_dynrec.c:
        Fixed compiler failure
      storage/maria/ma_unique.c:
        Removed compiler warning
      storage/myisam/mi_check.c:
        Removed compiler warning
      storage/myisam/mi_checksum.c:
        Removed compiler warning
      800a278f
  11. 10 Mar, 2014 1 commit
    • Michael Widenius's avatar
      Fixed MDEV-5724 "Server crashes on SQL select containing more group by and... · 599eb0dc
      Michael Widenius authored
      Fixed MDEV-5724 "Server crashes on SQL select containing more group by and left join statements using innodb tables"
        
      The problem was that a big record was allocated on the stack, which casued stack to run out.
        
      Fixed by using my_safe_alloca() instead of my_alloca() when allocating records.
      Now only records <= 16384 are allocated on the stack.
      
      mysql-test/r/stack-crash.result:
        Added test case
      mysql-test/t/stack-crash.test:
        Added test case
      storage/maria/ma_blockrec.c:
        Use my_safe_alloca() instead of my_alloca()
      storage/maria/ma_dynrec.c:
        Use my_safe_alloca() instead of my_alloca()
      storage/maria/maria_def.h:
        Added MARIA_MAX_RECORD_ON_STACK
      storage/maria/maria_pack.c:
        Use my_safe_alloca() instead of my_alloca()
      599eb0dc
  12. 09 Mar, 2014 1 commit
    • unknown's avatar
      MDEV-5804: If same GTID is received on multiple master connections in... · 2c2478b8
      unknown authored
      MDEV-5804: If same GTID is received on multiple master connections in multi-source replication, the event is double-executed causing corruption or replication failure
      
      Before, the arrival of same GTID twice in multi-source replication
      would cause double-apply or in gtid strict mode an error.
      
      Keep the behaviour, but add an option --gtid-ignore-duplicates which
      allows to correctly handle duplicates, ignoring all but the first.
      This relies on the user ensuring correct configuration so that
      sequence numbers are strictly increasing within each replication
      domain; then duplicates can be detected simply by comparing the
      sequence numbers against what is already applied.
      
      Only one master connection (but possibly multiple parallel worker
      threads within that connection) is allowed to apply events within
      one replication domain at a time; any other connection that
      receives a GTID in the same domain either discards it (if it is
      already applied) or waits for the other connection to not have
      any events to apply.
      
      Intermediate patch, as proof-of-concept for testing. The main limitation
      is that currently it is only implemented for parallel replication,
      @@slave_parallel_threads > 0.
      2c2478b8
  13. 15 Mar, 2014 1 commit
  14. 07 Mar, 2014 2 commits