1. 19 Jan, 2015 1 commit
    • Sergei Golubchik's avatar
      MDEV-7294 MTR does not use /dev/shm with a out-of-source build · 5d0d6cb1
      Sergei Golubchik authored
      mtr internally does the following:
      1. $default_vardir=....
      2. $opt_vardir=$default_vardir unless $opt_vardir;
      3. $opt_vardir=realpath $opt_vardir unless IS_WINDOWS
      4. if ($opt_vardir eq $default_vardir) { .... use /dev/shm ... }
      
      thus we have to realpath $default_datadir too, otherwise
      the comparison logic might be broken
      5d0d6cb1
  2. 16 Jan, 2015 2 commits
  3. 14 Jan, 2015 3 commits
  4. 13 Jan, 2015 3 commits
  5. 10 Jan, 2015 1 commit
  6. 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
  7. 04 Jan, 2015 2 commits
  8. 02 Jan, 2015 3 commits
  9. 28 Dec, 2014 2 commits
  10. 23 Dec, 2014 1 commit
  11. 22 Dec, 2014 1 commit
  12. 21 Dec, 2014 6 commits
  13. 19 Dec, 2014 4 commits
  14. 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
  15. 17 Dec, 2014 6 commits
  16. 16 Dec, 2014 1 commit
  17. 15 Dec, 2014 1 commit