1. 18 Feb, 2010 1 commit
    • Magne Mahre's avatar
      Cleanup after push of · 42747979
      Magne Mahre authored
      WL#5154 - Remove deprecated 4.1 features
      
      The fix is the removal of the sql_log_update_basic
      test, as this option is deprecated and removed,
      and a minor change to the result file of
      lc_time_names_basic as the error message has
      changed.
      42747979
  2. 17 Feb, 2010 6 commits
    • Alexey Botchkov's avatar
      Bug#38959 archive_gis fails due to rounding difference · df460f4e
      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
      df460f4e
    • Magne Mahre's avatar
      Merge from mysql-trunk-bugfixing · 1191483b
      Magne Mahre authored
      1191483b
    • Magne Mahre's avatar
      Bug#47017 rpl_timezone fails on PB-2 with mismatch error · de554de6
      Magne Mahre authored
      This is a post-fix cleanup to move rpl.rpl_timezone out
      of 'experimental' state.
      de554de6
    • Bjorn Munch's avatar
      Bug #51248 Server start fails with MTR_VERSION=1 and code with WL5154 · 6e5a6259
      Bjorn Munch authored
      Replaced --default-character-set with --character-set-server
      Replaced --language with --lc-messages-dir
      NB full test suite not tested yet
      6e5a6259
    • Magne Mahre's avatar
      WL#5182 Remove more deprecated 4.1/5.0 features · 68b5c12d
      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
      68b5c12d
    • Magne Mahre's avatar
      WL#5154 Remove deprecated 4.1 features · 7178879c
      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
      7178879c
  3. 16 Feb, 2010 2 commits
    • Serge Kozlov's avatar
      Bug#48308 · 6270e3be
      Serge Kozlov authored
      Merge mysql-trunk-bugfixing -> mysql-next-mr-bugfixing
      6270e3be
    • Serge Kozlov's avatar
      Bug#48308. · 7e888463
      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
      7e888463
  4. 14 Feb, 2010 5 commits
    • Magne Mahre's avatar
      Bug#48929 Error in Accept() if using many file descriptors · 2d4687d0
      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.
      2d4687d0
    • Alexander Nozdrin's avatar
      Merge from mysql-trunk-bugfixing. · 87c6bf3f
      Alexander Nozdrin authored
      87c6bf3f
    • Alexander Nozdrin's avatar
      Null-merge from mysql-trunk. · 07be82c2
      Alexander Nozdrin authored
      07be82c2
    • Alexander Nozdrin's avatar
      Empty merge from mysql-trunk. · cd437325
      Alexander Nozdrin authored
      cd437325
    • Alexander Nozdrin's avatar
      Fix tree name. · 1b9f84bf
      Alexander Nozdrin authored
      1b9f84bf
  5. 13 Feb, 2010 1 commit
  6. 12 Feb, 2010 15 commits
  7. 11 Feb, 2010 6 commits
    • Joerg Bruehe's avatar
      Upmerge changes done to the generic spec file in 5.0 to 5.1, · 2813cd58
      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.
      2813cd58
    • Magne Mahre's avatar
      merge from mysql-trunk-bugfixing · 4480e803
      Magne Mahre authored
      4480e803
    • Magne Mahre's avatar
      Bug#50574 5.5.x allows spatial indexes on non-spatial columns, · 20379351
      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.
      20379351
    • Magne Mahre's avatar
      merge · fe70c237
      Magne Mahre authored
      fe70c237
    • Magne Mahre's avatar
      Bug#50542 5.5.x doesn't check length of key prefixes: · 93cd02bc
      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.
      
      93cd02bc
    • Luis Soares's avatar
      Automerge from mysql-next-mr-bugfixing. · c4f1de9f
      Luis Soares authored
      c4f1de9f
  8. 10 Feb, 2010 4 commits