1. 31 Jul, 2014 2 commits
  2. 30 Jul, 2014 2 commits
    • Michael Widenius's avatar
      Fix for MDEV-6493: Assertion `table->file->stats.records > 0 || error'... · 53643152
      Michael Widenius authored
      Fix for MDEV-6493: Assertion `table->file->stats.records > 0 || error' failure, or 'Invalid write' valgrind warnings, or crash on scenario with Aria table, view, LOCK TABLES
      
      This bug only happens in case of paritioned tables used in LOCK TABLES and implicit_commit() was called
      (as part of trying to execute a CREATE TABLE withing lock tables)
      
      The problem was that Aria could not move the tables from one transaction to the new one, as thd->open_tables contained
      a partitioned tables and not an Aria table.
      
      Fix:
      - Store a list of all open tables that are part of a share in share->open_tables
      - In maria::implict_commit() use transaction->used_tables & share->open_tables to find out which tables
        was part of the current transaction instead of using thd->open_tables, which may contain partitioned tables.
      
      
      mysql-test/suite/maria/maria_partition.result:
        Added test case
      mysql-test/suite/maria/maria_partition.test:
        Added test case
      storage/maria/ha_maria.cc:
        Use trn->used tables and share->open_tables to find out which tables was part of the current transaction instead of using thd->open_tables.
      storage/maria/ma_close.c:
        Remove closed table from share->open_list
      storage/maria/ma_open.c:
        Add table to share->open_list
      storage/maria/ma_state.c:
        Added comment
      storage/maria/maria_def.h:
        Added share->open_list, a list of all tables that is using this share.
      53643152
    • Michael Widenius's avatar
      Fixed some compiler warnings · a1c1700b
      Michael Widenius authored
      a1c1700b
  3. 29 Jul, 2014 3 commits
  4. 28 Jul, 2014 3 commits
  5. 27 Jul, 2014 1 commit
  6. 26 Jul, 2014 1 commit
  7. 27 Jul, 2014 1 commit
  8. 26 Jul, 2014 1 commit
    • Jan Lindström's avatar
      Fix InnoDB: Assertion failure in thread 2868898624 in file buf0lru.c line 1000 · 8ae26740
      Jan Lindström authored
      InnoDB: Failing assertion: mutex_own(&buf_pool->LRU_list_mutex)
      
      and
      
      InnoDB: Assertion failure in thread 2868898624 in file buf0lru.c line 1077
      InnoDB: Failing assertion: mutex_own(&buf_pool->LRU_list_mutex)
      
      Analysis: Function buf_LRU_free_block might release LRU_list_mutex on
      same cases to avoid mutex order problems, we need to take it back 
      before accessing list. 
      8ae26740
  9. 25 Jul, 2014 1 commit
  10. 24 Jul, 2014 1 commit
  11. 23 Jul, 2014 2 commits
  12. 25 Jul, 2014 1 commit
  13. 24 Jul, 2014 1 commit
  14. 23 Jul, 2014 5 commits
  15. 24 Jun, 2014 1 commit
  16. 17 Jun, 2014 1 commit
  17. 23 Jul, 2014 1 commit
  18. 22 Jul, 2014 3 commits
  19. 15 Jul, 2014 1 commit
  20. 08 Jul, 2014 1 commit
  21. 04 Jul, 2014 3 commits
  22. 30 Jun, 2014 1 commit
  23. 18 Jun, 2014 1 commit
  24. 17 Jun, 2014 2 commits