1. 24 Feb, 2009 9 commits
    • Davi Arnaut's avatar
      Bug#41110: crash with handler command when used concurrently with alter table · 1959c496
      Davi Arnaut authored
      Bug#41112: crash in mysql_ha_close_table/get_lock_data with alter table
      
      The problem is that the server wasn't handling robustly failures
      to re-open a table during a HANDLER .. READ statement. If the
      table needed to be re-opened due to it's storage engine being
      altered to one that doesn't support HANDLER, a reference (dangling
      pointer) to a closed table could be left in place and accessed in
      later attempts to fetch from the table using the handler. Also,
      if the server failed to set a error message if the re-open
      failed. These problems could lead to server crashes or hangs.
      
      The solution is to remove any references to a closed table and
      to set a error if reopening a table during a HANDLER .. READ
      statement fails.
      1959c496
    • Davi Arnaut's avatar
      Bug#41110: crash with handler command when used concurrently with alter table · 322a5a39
      Davi Arnaut authored
      Bug#41112: crash in mysql_ha_close_table/get_lock_data with alter table
      
      The problem is that the server wasn't handling robustly failures
      to re-open a table during a HANDLER .. READ statement. If the
      table needed to be re-opened due to it's storage engine being
      altered to one that doesn't support HANDLER, a reference (dangling
      pointer) to a closed table could be left in place and accessed in
      later attempts to fetch from the table using the handler. Also,
      if the server failed to set a error message if the re-open
      failed. These problems could lead to server crashes or hangs.
      
      The solution is to remove any references to a closed table and
      to set a error if reopening a table during a HANDLER .. READ
      statement fails.
      
      There is no test case in this change set as the test depends on
      a testing feature only available on 5.1 and later.
      322a5a39
    • Tatiana A. Nurnberg's avatar
      automerge · d16c7dd1
      Tatiana A. Nurnberg authored
      d16c7dd1
    • Tatiana A. Nurnberg's avatar
      automerge · 1fbfd317
      Tatiana A. Nurnberg authored
      1fbfd317
    • Tatiana A. Nurnberg's avatar
      automerge · 963167e0
      Tatiana A. Nurnberg authored
      963167e0
    • Tatiana A. Nurnberg's avatar
      automerge · fde4ef6e
      Tatiana A. Nurnberg authored
      fde4ef6e
    • Tatiana A. Nurnberg's avatar
      automerge · 5ee7e1b7
      Tatiana A. Nurnberg authored
      5ee7e1b7
    • Tatiana A. Nurnberg's avatar
      automerge · 93dac5c5
      Tatiana A. Nurnberg authored
      93dac5c5
    • Tatiana A. Nurnberg's avatar
      automerge · c1e0d670
      Tatiana A. Nurnberg authored
      c1e0d670
  2. 23 Feb, 2009 12 commits
  3. 22 Feb, 2009 1 commit
  4. 21 Feb, 2009 1 commit
    • Alfranio Correia's avatar
      BUG#38174 secure-file-priv breaks LOAD DATA INFILE replication in statement mode · 4447ce61
      Alfranio Correia authored
                        
      If secure-file-priv was set on slave, it became unable to execute
      LOAD DATA INFILE statements sent from master using mixed or
      statement-based replication.
                        
      This patch fixes the issue by ignoring this security restriction
      and checking if the files are created and read by the slave in the
      --slave-load-tmpdir while executing the SQL Thread.
      4447ce61
  5. 20 Feb, 2009 12 commits
  6. 19 Feb, 2009 5 commits
    • Patrick Crews's avatar
      merge 5.0 -> 5.1 · 783cae18
      Patrick Crews authored
      These are only 5.0's fixes being merged.
      5.1 and 6.0 Unix-removals will occur in different patches.
      783cae18
    • Patrick Crews's avatar
      Bug#38831: 11 test cases fail on Windows due to missing commands · ac46e344
      Patrick Crews authored
      Re-enabling mysqlbinlog.test on Windows - removed the use of grep/sed
      ac46e344
    • Davi Arnaut's avatar
      Bug#41098: Query Cache returns wrong result with concurrent insert · a2e4449b
      Davi Arnaut authored
      The problem is that select queries executed concurrently with
      a concurrent insert on a MyISAM table could be cached if the
      select started after the query cache invalidation but before
      the unlock of tables performed by the concurrent insert. This
      race could happen because the concurrent insert was failing
      to prevent cache of select queries happening at the same time.
      
      The solution is to add a 'uncacheable' status flag to signal
      that a concurrent insert is being performed on the table and
      that queries executing at the same time shouldn't cache the
      results.
      a2e4449b
    • Serge Kozlov's avatar
      merge 5.1 · 123549e7
      Serge Kozlov authored
      123549e7
    • Patrick Crews's avatar
      Bug#38831: 11 test cases fail on Windows due to missing commands · cc628c61
      Patrick Crews authored
      Replaced Unix calls with mysql-test-run's built-in functions / SQL manipulation where possible.
      Replaced error codes with error names as well.
      Disabled two tests on Windows due to more complex Unix command usage
      See Bug#41307, Bug#41308
      cc628c61