1. 17 Feb, 2010 6 commits
    • Alexey Botchkov's avatar
      Bug#38959 archive_gis fails due to rounding difference · b0dfc404
      Alexey Botchkov authored
          Multi_polygon::centroid() has an error in the implementation
            
      per-file messages:
        sql/spatial.cc
      Bug#38959      archive_gis fails due to rounding difference
              multi_polygon::centroid() implementation fixed
      b0dfc404
    • Magne Mahre's avatar
      Merge from mysql-trunk-bugfixing · a9c27168
      Magne Mahre authored
      a9c27168
    • Magne Mahre's avatar
      Bug#47017 rpl_timezone fails on PB-2 with mismatch error · 3f51a6c2
      Magne Mahre authored
      This is a post-fix cleanup to move rpl.rpl_timezone out
      of 'experimental' state.
      3f51a6c2
    • Bjorn Munch's avatar
      Bug #51248 Server start fails with MTR_VERSION=1 and code with WL5154 · b5706e4e
      Bjorn Munch authored
      Replaced --default-character-set with --character-set-server
      Replaced --language with --lc-messages-dir
      NB full test suite not tested yet
      b5706e4e
    • Magne Mahre's avatar
      WL#5182 Remove more deprecated 4.1/5.0 features · 520a11c8
      Magne Mahre authored
      WL#5154 was a task for formally deprecating and removing items that
      were mentioned in the manual as having been deprecated since MySQL
      4.1 or 5.0, but that had never been removed.
      
      Since WL#5154 was created, examination of mysqld.cc, mysql.cc, and
      mysqldump.c reveals additional deprecations not mentioned in the
      manual. (In some cases, the items are simply not mentioned in the
      5.1+ manuals.)
      
      This is a follow-on task to deprecate and remove these additional
      items.
      
      The deprecation happened in MySQL 5.1, and the options/variables
      are now removed from the code.
      
      
      
      client/mysql.cc:
        --no-tee is now removed
      client/mysqldump.c:
        --all is now removed
        -a now points to --create-options
      sql/mysqld.cc:
        delay-key-write-for-all-tables is removed
        --enable-locking is removed
        --log-update is removed
        --skip-locking is removed
        --skip-symlink is removed
        --sql-bin-update-same is removed
        --warnings is removed
        --record-buffer is removed
      520a11c8
    • Magne Mahre's avatar
      WL#5154 Remove deprecated 4.1 features · aae5ccf8
      Magne Mahre authored
      A set of program options and variables was deprecated in
      MySQL 5.1, and is hereby removed.
      
      
      
      client/mysql.cc:
        --no-auto-rehash (-A)  is no longer deprecated
        --no-named-commands (-g) is now removed
        --skip-line-numbers (-L) is no longer deprecated
        --set-variable (-O) is now removed
        --no-pager is now removed
      client/mysqlbinlog.cc:
        --position is now removed (use --start-position)
        -j is now equivalent with --start-position
      client/mysqldump.c:
        --first-slave is now removed
        --no-set-names (-N) is now removed
        --set-variable (-O) is now removed
      mysql-test/include/default_mysqld.cnf:
        default-character-set is removed as an option
        character-set-server is equivalent.
      mysql-test/t/bug47671-master.opt:
        default-character-set option is removed
        character-set-server is equivalent
      mysql-test/t/ctype_latin1_de-master.opt:
        default-character-set option is removed
        character-set-server is equivalent
      mysql-test/t/ctype_ucs2_def-master.opt:
        default-collation is removed
        collation-server is equicalent
      scripts/mysqld_multi.sh:
        --config-file has been superseded by
        --defaults-extra-file
      sql/mysql_priv.h:
        Removed the version number in the deprecation
        warning text, as decided by ServerPT.
      sql/mysqld.cc:
        --default-character-set (-C) is removed
        --default-collation is removed
        --log-long-format (-0) is removed
        --safe-show-database is removed
        --set-variable (-O) is removed
      sql/sql_yacc.yy:
        The FRAC_SECOND keyword is removed
      sql/sys_vars.cc:
        The sql_log_update system variable is removed
      aae5ccf8
  2. 16 Feb, 2010 2 commits
    • Serge Kozlov's avatar
      Bug#48308 · 25427713
      Serge Kozlov authored
      Merge mysql-trunk-bugfixing -> mysql-next-mr-bugfixing
      25427713
    • Serge Kozlov's avatar
      Bug#48308. · 67864dbf
      Serge Kozlov authored
      1. Now test use fake_relay_log primitive
      2. Added RESET SLAVE to include/setup_fake_relay_log.inc for removing relay log info file
      3. Added RESET SLAVE to include/cleanup_fake_relay_log.inc
      4. Test moved to rpl suite as rpl_binlog_auto_inc_bug33029.test
      5. Updated result file
      67864dbf
  3. 14 Feb, 2010 5 commits
    • Magne Mahre's avatar
      Bug#48929 Error in Accept() if using many file descriptors · e535a205
      Magne Mahre authored
      In POSIX systems, the file descriptor set used in the select(2)
      system call is represented by a bit vector of size FD_SETSIZE.
      When select(2) is used on file/socket descriptors with a value
      that is beyond this size, unpredictable errors may occur.
      
      In this case, the error happens when there are a large number
      of tables that need repair.  These tables are opened before
      the sockets for incoming connections are acquired, resulting
      in these sockets getting descriptor id which is higher than
      FD_SETSIZE.
      
      Replacing the call to select(2) with poll(2) fixes the problem,
      as poll takes an array of the wanted descriptors, instead of
      a bit vector.  
      
      MS Windows has a different implementation of 'select', and is not
      affected by this bug.  
      
      
      configure.in:
        Added a test for the <poll.h> file
      sql/mysqld.cc:
        Restructured some of the code to reduce the number of
        #ifdef's.  Removed some HP/UX 10-specific code.
      e535a205
    • Alexander Nozdrin's avatar
      Merge from mysql-trunk-bugfixing. · b494bedd
      Alexander Nozdrin authored
      b494bedd
    • Alexander Nozdrin's avatar
      Null-merge from mysql-trunk. · 67b7b282
      Alexander Nozdrin authored
      67b7b282
    • Alexander Nozdrin's avatar
      Empty merge from mysql-trunk. · 1f35368d
      Alexander Nozdrin authored
      1f35368d
    • Alexander Nozdrin's avatar
      Fix tree name. · ad703ca5
      Alexander Nozdrin authored
      ad703ca5
  4. 13 Feb, 2010 1 commit
  5. 12 Feb, 2010 15 commits
  6. 11 Feb, 2010 6 commits
    • Joerg Bruehe's avatar
      Upmerge changes done to the generic spec file in 5.0 to 5.1, · d8fe3cec
      Joerg Bruehe authored
      this includes a major whitespace (formatting) alignment
      and sequence changes to better agree with other spec files.
      
      Further changes:
      - All features are controlled by "%define" set from call
        options or builtin.
      - "bundled zlib" is on by default.
      - "with libgcc" is controlled by runtime detection of gcc.
      - Handling of "CFLAGS" and "CXXFLAGS" is more concentrated.
      - Several missing man pages were added.
      d8fe3cec
    • Magne Mahre's avatar
      merge from mysql-trunk-bugfixing · f9509e9f
      Magne Mahre authored
      f9509e9f
    • Magne Mahre's avatar
      Bug#50574 5.5.x allows spatial indexes on non-spatial columns, · d80dc746
      Magne Mahre authored
                causing crashes!
      
      Adding a SPATIAL INDEX on a non-geometrical column caused a
      segmentation fault when the table was subsequently 
      inserted into.
            
      A test was added in mysql_prepare_create_table to explicitly
      check whether non-geometrical columns are used in a
      spatial index, and throw an error if so.
      
      
      mysql-test/t/gis.test:
        Added test cases to verify that only geometrical
        columns can get a spatial index.
                
        In addition, verify that only a single geom.
        column can participate in a spatial index.
      d80dc746
    • Magne Mahre's avatar
      merge · c1ccac83
      Magne Mahre authored
      c1ccac83
    • Magne Mahre's avatar
      Bug#50542 5.5.x doesn't check length of key prefixes: · 326e8681
      Magne Mahre authored
                corruption and crash results
            
      An index creation statement where the index key
      is larger/wider than the column it references 
      should throw an error.
            
      A statement like:
        CREATE TABLE t1 (a CHAR(1), PRIMARY KEY (A(255)))
      did not error, but a segmentation fault followed when
      an insertion was attempted on the table
            
      The partial key validiation clause has been 
      restructured to (hopefully) better document which
      uses of partial keys are valid.
      
      326e8681
    • Luis Soares's avatar
      Automerge from mysql-next-mr-bugfixing. · 8e8f5128
      Luis Soares authored
      8e8f5128
  7. 10 Feb, 2010 5 commits