1. 14 Jan, 2015 2 commits
  2. 13 Jan, 2015 3 commits
  3. 10 Jan, 2015 1 commit
  4. 06 Jan, 2015 1 commit
    • Kristian Nielsen's avatar
      MDEV-7189: main.processlist fails sporadically in buildbot · 00649525
      Kristian Nielsen authored
      The test case tried to trigger a DEBUG_SYNC point at the end of a SELECT
      SLEEP(5) statement. It did this by using EXECUTE 2, intending to trigger first
      at the end of SET DEBUG_SYNC, and second at the end of the SELECT SLEEP(5).
      
      However, in --ps-protocol mode, this does not work, because the SELECT is
      executed in two steps (Prepare followed by Execute). Thus, the DEBUG_SYNC got
      triggered too early, during the Prepare stage rather than Execute, and the
      test case could race and information_schema.processlist see the thread in the
      wrong state.
      
      This patch fixes by changing the way the DEBUG_SYNC point is triggered. Now we
      add a DBUG injection inside the code for SLEEP(5). This ensures that the
      DEBUG_SYNC point is not activated until the SLEEP(5) is running, ensuring
      that the following wait for completion will be effective.
      00649525
  5. 04 Jan, 2015 2 commits
  6. 02 Jan, 2015 3 commits
  7. 28 Dec, 2014 2 commits
  8. 23 Dec, 2014 1 commit
  9. 22 Dec, 2014 1 commit
  10. 21 Dec, 2014 6 commits
  11. 19 Dec, 2014 4 commits
  12. 18 Dec, 2014 2 commits
    • Sergey Petrunya's avatar
      Merge 5.3 -> 5.5 · 13e1acc5
      Sergey Petrunya authored
      13e1acc5
    • Sergey Petrunya's avatar
      MDEV-6830: Server crashes in best_access_path after a sequence of SELECTs ... · b75090c7
      Sergey Petrunya authored
      generate_derived_keys_for_table() did not work correctly in the case where
      - it had a potential index on derived table
      - however, TABLE::check_tmp_key() would disallow creation of this index 
        after looking at its future key parts (because of the key parts exceeding 
        max. index length)
      - the code would leave a KEYUSE structure that refers to a non-existant index.
        Depending on further optimizer calculations, this could cause a crash. 
      b75090c7
  13. 17 Dec, 2014 6 commits
  14. 16 Dec, 2014 1 commit
  15. 15 Dec, 2014 5 commits
    • Rich Prohaska's avatar
      8e193934
    • Michael Widenius's avatar
      MDEV-6855 Assertion `cond_type == Item::FUNC_ITEM' failed in... · 5257d71e
      Michael Widenius authored
      MDEV-6855 Assertion `cond_type == Item::FUNC_ITEM' failed in check_group_min_max_predicates with GROUP BY, aggregate in WHERE SQ, multi-part key
      
      
      mysql-test/r/group_by.result:
        Test for MDEV-6855
      mysql-test/t/group_by.test:
        Test for MDEV-6855
      sql/item.h:
        Fixed spelling error
      sql/opt_range.cc:
        Added handling of cond_type == Item::CACHE_ITEM in WHERE clauses for MIN/MAX optimization.
        Fixed indentation
      5257d71e
    • Michael Widenius's avatar
      MDEV-4010 Deadlock on concurrent INSERT .. SELECT into an Aria table with statement binary logging · 10ab3e68
      Michael Widenius authored
      There was a bug in lock handling when mixing INSERT ... SELECT on the same table.
      
      
      mysql-test/suite/maria/insert_select.result:
        Test case for MDEV_4010
      mysql-test/suite/maria/insert_select.test:
        Test case for MDEV_4010
      mysys/thr_lock.c:
        We wrongly alldoed TL_WRITE_CONCURRENT_INSERT when there was a TL_READ_NO_INSERT lock
      10ab3e68
    • Michael Widenius's avatar
      MDEV-6896 kill user command cause MariaDB crash · 80ee57a3
      Michael Widenius authored
      mysql-test/r/kill-2.result:
        test case for MDEV-6896
      mysql-test/t/kill-2-master.opt:
        test case for MDEV-6896
      mysql-test/t/kill-2.test:
        test case for MDEV-6896
      sql/sql_parse.cc:
        Use host_or_ip instead of host as host may be 0
      80ee57a3
    • Michael Widenius's avatar
      MDEV-6871 Multi-value insert on MyISAM table that makes slaves crash (when... · 4a32d9c0
      Michael Widenius authored
      MDEV-6871 Multi-value insert on MyISAM table that makes slaves crash (when using --skip-external-locking=0)
      Problem was that repair() did lock and unlock tables, which leaved already locked tables in wrong state
      
      include/my_check_opt.h:
        Added option T_NO_LOCKS to disable locking during repair()
        Fixed duplicated bit T_NO_CREATE_RENAME_LSN
      mysql-test/suite/rpl/r/myisam_external_lock.result:
        Test case for MDEV-6871
      mysql-test/suite/rpl/t/myisam_external_lock-slave.opt:
        Test case for MDEV-6871
      mysql-test/suite/rpl/t/myisam_external_lock.test:
        Test case for MDEV-6871
      storage/maria/ha_maria.cc:
        Don't lock tables during enable_indexes()
        Removed some calls to current_thd
      storage/myisam/ha_myisam.cc:
        Don't lock tables during enable_indexes()
        Removed some calls to current_thd
      4a32d9c0