1. 03 Mar, 2008 6 commits
    • kaa@kaamos.(none)'s avatar
      Merge kaamos.(none):/data/src/opt/bug31781/my51 · 9b983f8a
      kaa@kaamos.(none) authored
      into  kaamos.(none):/data/src/opt/mysql-5.1-opt
      9b983f8a
    • kaa@kaamos.(none)'s avatar
      Merge kaamos.(none):/data/src/opt/bug31781/my50 · 92ba2cef
      kaa@kaamos.(none) authored
      into  kaamos.(none):/data/src/opt/bug31781/my51
      92ba2cef
    • kaa@kaamos.(none)'s avatar
      Fix for bug #31781: multi-table UPDATE with temp-pool enabled fails · bd53f960
      kaa@kaamos.(none) authored
                          with errno 17
      
      my_create() did not perform any checks for the case when a file is
      successfully created by a call to open(), but the call to
      my_register_filename() later fails because the number of open files
      has exceeded the my_open_files limit. This can happen on platforms 
      which do not have getrlimit(), and hence we do not know the real limit
      for open files. In such a case an error was returned to a caller
      although the file has actually been created. Since callers assume
      my_create() to return an error only when it failed to create a file,
      they did not perform any cleanups, leaving an 'orphaned' file on the
      file system.
      
      Fixed by adding a check for the above case to my_create() and ensuring
      the newly created file is deleted before returning an error.
      
      Creating a deterministic test case in the test suite is impossible,
      because the exact steps required to reproduce the above situation
      depend on the platform and/or environment (OS per-user limits, queries
      executed by previous tests, startup parameters). The patch was
      manually tested on Windows using examples posted in the bug report.
      bd53f960
    • gluh@mysql.com/mgluh.(none)'s avatar
      test case fix · 1411d279
      gluh@mysql.com/mgluh.(none) authored
      1411d279
    • gluh@mgluh.(none)'s avatar
      Merge mysql.com:/home/gluh/MySQL/mysql-5.0-opt · 644fdc8c
      gluh@mgluh.(none) authored
      into  mysql.com:/home/gluh/MySQL/mysql-5.1-opt
      644fdc8c
    • gluh@mysql.com/mgluh.(none)'s avatar
      test case fix · fc1ae077
      gluh@mysql.com/mgluh.(none) authored
      fc1ae077
  2. 01 Mar, 2008 2 commits
  3. 29 Feb, 2008 13 commits
  4. 28 Feb, 2008 8 commits
  5. 27 Feb, 2008 9 commits
  6. 26 Feb, 2008 2 commits