1. 29 Nov, 2011 2 commits
    • Vladislav Vaintroub's avatar
      Fix testcases: · 09d55451
      Vladislav Vaintroub authored
      1. main.merge fails with errno 13 in copy_file().
      
      The reason for the error is that copy_file tries to create a file with the same name as recently deleted one,
      and there is still an open handle for the deleted file.
      To fix, use my_delete_allow_opened() for MTR's delete_file. On Windows,  this renames file to unique name
      prior to deletion, and prevents EACCES errors for files opened with FILE_SHARE_DELETE.
      
      2. innodb_bug59641 
      generates warnings, after server was killed and restarted in the test case.
      The warnings are about test_suppression table (needs to be repaired, as it that was written just prior to the crash)
      Fixed by using FLUSH TABLES after populating warning suppression table.
      09d55451
    • Vladislav Vaintroub's avatar
      merge, fix Windows warnings · b33883f1
      Vladislav Vaintroub authored
      b33883f1
  2. 28 Nov, 2011 1 commit
    • Sergei Golubchik's avatar
      after merge fixes · f6db6c83
      Sergei Golubchik authored
      sql/sql_base.cc:
        fix a memory leak
      storage/xtradb/handler/ha_innodb.cc:
        fix for a visual studio
      storage/xtradb/row/row0ins.c:
        valgrind complains about uninitialized variable.
        incorrect errors in the innodb.test too
      f6db6c83
  3. 24 Nov, 2011 4 commits
    • Michael Widenius's avatar
      Automatic merge · 4fbc58d5
      Michael Widenius authored
      4fbc58d5
    • Michael Widenius's avatar
    • Michael Widenius's avatar
      Merge with MariaDB 5.1 · 7bbd6c55
      Michael Widenius authored
      7bbd6c55
    • Michael Widenius's avatar
      Fixes for build failuers found by buildbot · 5241a23e
      Michael Widenius authored
      mysql-test/mysql-test-run.pl:
        Rename MYSQLD -> MYSQLD_SIMPLE_CMD to avoid conflict with new MYSQLD variable from MySQL 5.1
      mysql-test/r/innodb_file_format.result:
        Remove old duplicated test
      mysql-test/suite/pbxt/r/endspace.result:
        Update test to last version
      mysql-test/suite/pbxt/r/heap.result:
        Removed heap test (not part of pbxt)
      mysql-test/suite/pbxt/r/select_safe.result:
        Updated results after error message change
      mysql-test/suite/pbxt/r/view_grant.result:
        Removed view test (not part of pbxt)
      mysql-test/suite/pbxt/t/endspace.test:
        Update test to last version
      mysql-test/suite/pbxt/t/heap.test:
        Removed heap test (not part of pbxt)
      mysql-test/suite/pbxt/t/view_grant.test:
        Removed view test (not part of pbxt)
      mysql-test/t/innodb_file_format.test:
        Remove old duplicated test
      mysql-test/t/mysqld_option_err.test:
        Use renamed variable
      sql/my_decimal.h:
        Fixed wrong define
      storage/maria/ma_loghandler.c:
        Fixed compiler warning
      5241a23e
  4. 23 Nov, 2011 2 commits
  5. 22 Nov, 2011 1 commit
  6. 21 Nov, 2011 5 commits
  7. 18 Nov, 2011 2 commits
  8. 16 Nov, 2011 1 commit
  9. 15 Nov, 2011 1 commit
    • Michael Widenius's avatar
      Fix for lp:780425 sql_buffer_result=1 gives wrong result for GROUP BY with a... · f090daaa
      Michael Widenius authored
      Fix for lp:780425 sql_buffer_result=1 gives wrong result for GROUP BY with a +# constant expression"
      
      mysql-test/r/select.result:
        Test case for lp:780425
      mysql-test/r/select_pkeycache.result:
        lp:780425
      mysql-test/t/select.test:
        lp:780425
      sql/sql_select.cc:
        Added DBUG_ASSERT to be prove some logic and later be able to simplify the code
        Set implicit_grouping if we delete a GROUP BY to signal do_select() that a grouping needs to be done.
      f090daaa
  10. 13 Nov, 2011 3 commits
  11. 12 Nov, 2011 3 commits
  12. 10 Nov, 2011 2 commits
    • Marko Mäkelä's avatar
      Bug #12842206 INNODB LOCKING REGRESSION FOR INSERT IGNORE: Add a test case. · 0d0924e3
      Marko Mäkelä authored
      The bug was accidentally fixed by fixing
      Bug#11759688 52020: InnoDB can still deadlock on just INSERT...ON DUPLICATE KEY
      a.k.a. the reintroduction of
      Bug#7975 deadlock without any locking, simple select and update
      0d0924e3
    • Marko Mäkelä's avatar
      Bug#11759688 52020: InnoDB can still deadlock on just INSERT...ON DUPLICATE KEY · 87593f55
      Marko Mäkelä authored
      a.k.a. Bug#7975 deadlock without any locking, simple select and update
      
      Bug#7975 was reintroduced when the storage engine API was made
      pluggable in MySQL 5.1. Instead of looking at thd->lex directly, we
      rely on handler::extra(). But, we were looking at the wrong extra()
      flag, and we were ignoring the TRX_DUP_REPLACE flag in places where we
      should obey it.
      
      innodb_replace.test: Add tests for hopefully all affected statement
      types, so that bug should never ever resurface. This kind of tests
      should have been added when fixing Bug#7975 in MySQL 5.0.3 in the
      first place.
      
      rb:806 approved by Sunny Bains
      87593f55
  13. 08 Nov, 2011 2 commits
    • Sergei Golubchik's avatar
      typos fixed · 3a0d42c6
      Sergei Golubchik authored
      (thanks viva64.com)
      3a0d42c6
    • Marko Mäkelä's avatar
      Bug#13358468 ASSERTION FAILURE IN BTR_PCUR_GET_BLOCK · c75c8ce8
      Marko Mäkelä authored
      btr_pcur_restore_position_func(): When the cursor was positioned at
      the tree infimum or supremum, initialize pos_state and latch_mode. The
      assertion failed, because pos_state was BTR_PCUR_WAS_POSITIONED.  In
      the test failure of WL#5874, the purge thread attempted to restore the
      cursor position on the infimum record (the clustered index was empty).
      
      btr_pcur_detach(), btr_pcur_is_detached(): Unused functions, remove.
      
      rb:804 approved by Inaam Rana
      c75c8ce8
  14. 07 Nov, 2011 1 commit
  15. 04 Nov, 2011 1 commit
  16. 01 Nov, 2011 2 commits
  17. 31 Oct, 2011 1 commit
  18. 29 Oct, 2011 1 commit
  19. 28 Oct, 2011 1 commit
  20. 27 Oct, 2011 4 commits