1. 15 Dec, 2006 2 commits
    • unknown's avatar
      Merge polly.local:/tmp/maint/bug24117/my51-bug24117 · 36c0cc54
      unknown authored
      into  polly.local:/home/kaa/src/maint/mysql-5.1-maint
      
      
      mysql-test/r/sp.result:
        Auto merged
      mysql-test/t/sp.test:
        Auto merged
      mysys/typelib.c:
        Auto merged
      sql/field.cc:
        Auto merged
      sql/field.h:
        Auto merged
      36c0cc54
    • unknown's avatar
      Merge polly.local:/tmp/maint/bug24117/my50-bug24117 · 3863e8d6
      unknown authored
      into  polly.local:/tmp/maint/bug24117/my51-bug24117
      
      
      mysql-test/t/sp.test:
        Auto merged
      sql/field.cc:
        Auto merged
      sql/field.h:
        Auto merged
      mysql-test/r/sp.result:
        Manual merge
      3863e8d6
  2. 14 Dec, 2006 7 commits
    • unknown's avatar
      Fix for bug #24117 "server crash on a FETCH with a cursor on a table which is... · 5b712814
      unknown authored
      Fix for bug #24117 "server crash on a FETCH with a cursor on a table which is not in the table cache"
      
      Problem:
      When creating a temporary field for a temporary table in create_tmp_field_from_field(), a resulting field is created as an exact copy of an original one (in Field::new_field()). However, Field_enum and Field_set contain a pointer (typelib) to memory allocated in the parent table's MEM_ROOT, which under some circumstances may be deallocated later by the time a temporary table is used.
      
      Solution:
      Override the new_field() method for Field_enum and Field_set and create a separate copy of the typelib structure in there.
      
      
      include/typelib.h:
        Added copy_typelib() declaration
      mysql-test/r/sp.result:
        Added a testcase for bug #24117 "server crash on a FETCH with a cursor on a table which is not in the table cache"
      mysql-test/t/sp.test:
        Added a testcase for bug #24117 "server crash on a FETCH with a cursor on a table which is not in the table cache"
      mysys/typelib.c:
        Added copy_typelib() definition
      sql/field.cc:
        Create a copy of the internal 'typelib' structure when copying Field_enum of Field_set objects.
      sql/field.h:
        Override new_field method in Field_enum (and Field_set) to copy the typelib structure.
      5b712814
    • unknown's avatar
      Merge kpdesk.mysql.com:/home/thek/dev/bug17489/my51-bug17498 · 501f9247
      unknown authored
      into  kpdesk.mysql.com:/home/thek/dev/mysql-5.1-maint
      
      
      501f9247
    • unknown's avatar
      Merge kpdesk.mysql.com:/home/thek/dev/bug17489/my50-bug17498 · 1db55868
      unknown authored
      into  kpdesk.mysql.com:/home/thek/dev/bug17489/my51-bug17498
      
      
      mysql-test/r/symlink.result:
        Auto merged
      mysql-test/t/myisam.test:
        Auto merged
      mysql-test/t/symlink.test:
        Auto merged
      mysql-test/r/myisam.result:
        SCCS merged
      1db55868
    • unknown's avatar
      Bug#17498 failed to put data file in custom directory use "data directory" option · e9133433
      unknown authored
      Merged 4.1->5.0. Updated myisam.test
      
      
      mysql-test/r/myisam.result:
        updated result file
      mysql-test/t/myisam.test:
        Removing symlink specific test from myisam test
      e9133433
    • unknown's avatar
      Merge kpdesk.mysql.com:/home/thek/dev/bug17489/my41-bug17498 · d2b950f0
      unknown authored
      into  kpdesk.mysql.com:/home/thek/dev/bug17489/my50-bug17498
      
      
      mysql-test/r/symlink.result:
        Auto merged
      mysql-test/t/symlink.test:
        Auto merged
      mysql-test/r/myisam.result:
        SCCS merged
      mysql-test/t/myisam.test:
        SCCS merged
      d2b950f0
    • unknown's avatar
      Bug#17498 failed to put data file in custom directory use "data directory" option · e524063b
      unknown authored
      - When this bug was corrected it changed the behavior 
        for data/index directory in the myisam test case.
      - This patch moves the OS depending tests to a non-windows
        test file.
      
      
      mysql-test/r/myisam.result:
        moved test from myisam to symlink; new result file
      mysql-test/r/symlink.result:
        moved test from myisam to symlink; new result file
      mysql-test/t/myisam.test:
        moved test from myisam to symlink
      mysql-test/t/symlink.test:
        moved test from myisam to symlink
      e524063b
    • unknown's avatar
      Merge shakedown.(none):/home/jpipes/dev/bug20246/my51-bug20246 · 9595e343
      unknown authored
      into  shakedown.(none):/home/jpipes/dev/mysql-5.1-maint
      
      
      include/mysql.h:
        Auto merged
      9595e343
  3. 13 Dec, 2006 1 commit
  4. 11 Dec, 2006 10 commits
  5. 10 Dec, 2006 2 commits
  6. 08 Dec, 2006 16 commits
  7. 07 Dec, 2006 2 commits
    • unknown's avatar
      Having MYSQL_VERSION_ID defined correctly made this KILL_QUERY enum item visible. This is a · 8b5787fa
      unknown authored
      forwards-incompatible change.
      
      
      8b5787fa
    • unknown's avatar
      Bug#17498 failed to put data file in custom directory use "data directory" option · 1267a7fb
      unknown authored
      - Using DATA/INDEX DIRECTORY option on Windows put data/index file into
        default directory because the OS doesn't support readlink().
      - The procedure for changing data/index file directory is 
        different under Windows.
      - With this fix we report a warning if DATA/INDEX option is used,
        but OS doesn't support readlink().
      
      
      mysql-test/r/windows.result:
        - updated result file.
      mysql-test/t/windows.test:
        - Added test case to verify we get warnings if we specify DATA/INDEX
          DIRECTORY on a platform which doesn't support readlink().
      sql/sql_parse.cc:
        - Added warnings if DATA/INDEX DIRECTORY option is used but not supported
          by the target platform.
      1267a7fb