1. 12 Nov, 2007 4 commits
  2. 11 Nov, 2007 1 commit
  3. 06 Nov, 2007 5 commits
    • unknown's avatar
      BUG#32111 - Security Breach via DATA/INDEX DIRECORY and RENAME TABLE · ff4b438b
      unknown authored
      RENAME TABLE against a table with DATA/INDEX DIRECTORY overwrites
      the file to which the symlink points.
      
      This is security issue, because it is possible to create a table with
      some name in some non-system database and set DATA/INDEX DIRECTORY
      to mysql system database. Renaming this table to one of mysql system
      tables (e.g. user, host) would overwrite the system table.
      
      Return an error when the file to which the symlink points exist.
      
      
      mysql-test/r/symlink.result:
        A test case for BUG#32111.
      mysql-test/t/symlink.test:
        A test case for BUG#32111.
      mysys/my_symlink2.c:
        Return an error when the file to which the symlink points exist.
      ff4b438b
    • unknown's avatar
      Merge stella.local:/home2/mydev/mysql-5.0-amain · 85425773
      unknown authored
      into  stella.local:/home2/mydev/mysql-5.0-axmrg
      
      
      85425773
    • unknown's avatar
      Merge stella.local:/home2/mydev/mysql-5.0-ateam · 1a359e14
      unknown authored
      into  stella.local:/home2/mydev/mysql-5.0-axmrg
      
      
      1a359e14
    • unknown's avatar
      Bug#4692 - DISABLE/ENABLE KEYS waste a space · 42829c61
      unknown authored
      Disabling and enabling indexes on a non-empty table grows the
      index file.
      
      Disabling indexes just sets a flag per non-unique index and does not
      free the index blocks of the affected indexes. Re-enabling indexes
      creates new indexes with new blocks. The old blocks remain unused
      in the index file.
      
      Fixed by dropping and re-creating all indexes if non-empty disabled
      indexes exist when enabling indexes. Dropping all indexes resets
      the internal end-of-file marker to the end of the index file header.
      It also clears the root block pointers of every index and clears the
      deleted blocks chains. This way all blocks are declared as free.
      
      
      myisam/mi_check.c:
        Bug#4692 - DISABLE/ENABLE KEYS waste a space
        Added function mi_drop_all_indexes() to support drop of all indexes
        in case we want to re-enable non-empty disabled indexes.
        Changed mi_repair(), mi_repair_by_sort(), and mi_repair_parallel()
        to use the new function instead of duplicate drop index code.
      mysql-test/r/myisam.result:
        Bug#4692 - DISABLE/ENABLE KEYS waste a space
        Added test result.
      mysql-test/t/myisam.test:
        Bug#4692 - DISABLE/ENABLE KEYS waste a space
        Added test.
      42829c61
    • unknown's avatar
      Merge svojtovich@bk-internal.mysql.com:/home/bk/mysql-5.0-engines · 0c185254
      unknown authored
      into  mysql.com:/home/svoj/devel/mysql/BUG31950/mysql-5.0-engines
      
      
      0c185254
  4. 05 Nov, 2007 3 commits
  5. 02 Nov, 2007 10 commits
  6. 01 Nov, 2007 6 commits
    • unknown's avatar
      Merge stella.local:/home2/mydev/mysql-5.0-amain · baa757d3
      unknown authored
      into  stella.local:/home2/mydev/mysql-5.0-axmrg
      
      
      baa757d3
    • unknown's avatar
      Post-merge fix · 7b6b909a
      unknown authored
      7b6b909a
    • unknown's avatar
      Bug#31909 - New gis.test creates warnings files · d787eb95
      unknown authored
      Comment sign of -- at line begin in test files lead to warnings
      from mysqltest.
      
      Changed -- to #.
      
      
      mysql-test/include/gis_keys.inc:
        Bug#31909 - New gis.test creates warnings files
        Changed -- to # at comment begin to avoid warnings files.
      d787eb95
    • unknown's avatar
      Merge lambda.hsd1.co.comcast.net.:/home/malff/TREE/mysql-5.0-base · 74394b27
      unknown authored
      into  lambda.hsd1.co.comcast.net.:/home/malff/TREE/mysql-5.0-rt-merge
      
      
      74394b27
    • unknown's avatar
      BUG#31950 - repair table hangs while processing multicolumn utf8 · db4ef35a
      unknown authored
                  fulltext index
      
      Having a table with broken multibyte characters may cause fulltext
      parser dead-loop.
      
      Since normally it is not possible to insert broken multibyte sequence
      into a table, this problem may arise only if table is damaged.
      
      Affected statements are:
      - CHECK/REPAIR against damaged table with fulltext index;
      - boolean mode phrase search against damaged table with or
        without fulltext inex;
      - boolean mode searches without index;
      - nlq searches.
      
      No test case for this fix. Affects 5.0 only.
      
      
      myisam/ft_parser.c:
        When skipping leading spaces, skip broken characters as well (broken
        characters a identified by mbl == 0).
      db4ef35a
    • unknown's avatar
      Bug #31848: Test failure: Cluster has problems on insert with auto-increment · 8890b295
      unknown authored
      Fix uninitialized variable causing failures for some interpreted update
      operations on gcc 4.2.1.
      
      
      ndb/src/kernel/blocks/dbtup/DbtupExecQuery.cpp:
        Fix uninitialized variable causing failures for some interpreted update
        operations on gcc 4.2.1.
      8890b295
  7. 31 Oct, 2007 4 commits
  8. 30 Oct, 2007 6 commits
    • unknown's avatar
      Merge stella.local:/home2/mydev/mysql-4.1-amain · 967c06df
      unknown authored
      into  stella.local:/home2/mydev/mysql-4.1-axmrg
      
      
      967c06df
    • unknown's avatar
      Makefile.am: · 1de7e5c0
      unknown authored
        Ensure use of libedit "config.h" by adding "-I. -I$(srcdir)" to DEFS,
        work around for problem with automake 1.10 (bug#24809)
      
      
      cmd-line-utils/libedit/Makefile.am:
        Ensure use of libedit "config.h" by adding "-I. -I$(srcdir)" to DEFS,
        work around for problem with automake 1.10 (bug#24809)
      1de7e5c0
    • unknown's avatar
      Merge dfischer@bk-internal.mysql.com:/home/bk/mysql-5.0-build · e3b246d6
      unknown authored
      into  pippilotta.erinye.com:/shared/home/df/mysql/build/mysql-5.0-build
      
      
      e3b246d6
    • unknown's avatar
      bug#30630 · b0bc908c
      unknown authored
      b0bc908c
    • unknown's avatar
      Merge moksha.local:/Users/davi/mysql/bugs/31669-5.0 · 157645f4
      unknown authored
      into  moksha.local:/Users/davi/mysql/mysql-5.0-runtime
      
      
      libmysql/libmysql.c:
        Auto merged
      tests/mysql_client_test.c:
        Auto merged
      157645f4
    • unknown's avatar
      BUG#11392 - fulltext search bug · b698b6fd
      unknown authored
      Fulltext boolean mode phrase search may crash server on platforms
      where size of pointer is not equal to size of unsigned integer
      (in other words some 64-bit platforms).
      
      The problem was integer overflow.
      
      Affects 4.1 only.
      
      
      myisam/ft_boolean_search.c:
        my_match_t::beg is unsigned int, that means type of expression
        (m[0].beg - 1) has unsigned type too. It may happen that instr()
        finds substring in the beggining of passed string, returning
        m[0].beg equal to 0. In this case value of expression (m[0].beg - 1)
        is equal to MAX_UINT.
        
        This is not a problem on platforms where sizeof(pointer) equals to
        sizeof(uint). That means ptr[(uint)-1] = ptr[(uint)MAX_UINT] = ptr - 1.
        
        On some 64-bit platforms where sizeof(pointer) is 8 and sizeof(uint)
        is 4, wrong address gets accessed. In other words ptr[(uint)-1] is
        equal to ptr + MAX_UINT.
      mysql-test/r/fulltext.result:
        A test case for BUG#11392.
      mysql-test/t/fulltext.test:
        A test case for BUG#11392.
      b698b6fd
  9. 29 Oct, 2007 1 commit