1. 13 Mar, 2014 2 commits
  2. 12 Mar, 2014 4 commits
    • Sergei Golubchik's avatar
      update test results · 686387f6
      Sergei Golubchik authored
      686387f6
    • Sergei Golubchik's avatar
      typo fixed · 23d81a50
      Sergei Golubchik authored
      23d81a50
    • Michael Widenius's avatar
      MDEV-5619: CREATE OR REPLACE does not release MDL_EXCLUSIVE upon failure · 9efb2bf2
      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.
      9efb2bf2
    • Michael Widenius's avatar
      Fixed some failing tests · 5ca574a0
      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
      5ca574a0
  3. 11 Mar, 2014 2 commits
    • Michael Widenius's avatar
      Merge with 5.5 · fe75144a
      Michael Widenius authored
      fe75144a
    • Michael Widenius's avatar
      Fixed a compiler failure and removed some warnings in windows · c5c3a43d
      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
      c5c3a43d
  4. 10 Mar, 2014 1 commit
    • Michael Widenius's avatar
      Fixed MDEV-5724 "Server crashes on SQL select containing more group by and... · 6c79532c
      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()
      6c79532c
  5. 07 Mar, 2014 1 commit
    • Sergey Vojtovich's avatar
      MDEV-5766 - my_atomic_load does memory writes · 5c18c731
      Sergey Vojtovich authored
      my_atomic_load() is implemented as __sync_fetch_and_or(var, 0) which
      writes or-ed value back to var. Memory writes as such have worse
      performance and scalability than reads.
      
      gcc 4.7 and up offers better facility for atomic loads/stores. Use it
      whenever it is available.
      5c18c731
  6. 10 Mar, 2014 4 commits
    • Elena Stepanova's avatar
      Increase version number · 83bb222c
      Elena Stepanova authored
      83bb222c
    • Elena Stepanova's avatar
      The test had synchronization point, but did not save master position · f3e57cb2
      Elena Stepanova authored
      before that, which caused indeterministic outcome
      f3e57cb2
    • Michael Widenius's avatar
      Fixed MDEV-5724 "Server crashes on SQL select containing more group by and... · 3880e4e6
      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()
      3880e4e6
    • Michael Widenius's avatar
      Fixed MDEV-5780 "create-big fails in 10.0" · a498f4e4
      Michael Widenius authored
      The issue was that create...trigger part of the test suite used a debug_sync point that before was never triggered (in other words, wrong meaningless test).
      With the new create ... replace code the debug sync point is triggered and the test case could not handled that.
      
      I fixed this by adding a wait and go for the debug syncpoint in the test.
      
      Removed some compiler warnings from mysql_cond_timedwait
      
      
      include/mysql/psi/mysql_thread.h:
        Removed compiler warnings
      mysql-test/r/create-big.result:
        New test result
      mysql-test/t/create-big.test:
        Fixed test case as create_table_select_before_check_if_exists was not before triggered by the code.
      a498f4e4
  7. 08 Mar, 2014 1 commit
  8. 07 Mar, 2014 6 commits
  9. 06 Mar, 2014 3 commits
  10. 05 Mar, 2014 1 commit
  11. 04 Mar, 2014 14 commits
  12. 03 Mar, 2014 1 commit