1. 22 Sep, 2007 3 commits
    • unknown's avatar
      Merge shellback.(none):/home/msvensson/mysql/mysql-5.0-maint · de2bcae5
      unknown authored
      into  shellback.(none):/home/msvensson/mysql/my51-bug30843
      
      
      BitKeeper/deleted/.del-configure.js:
        Auto merged
      client/mysql.cc:
        Auto merged
      client/mysql_upgrade.c:
        Auto merged
      client/mysqldump.c:
        Auto merged
      client/mysqltest.c:
        Auto merged
      configure.in:
        Auto merged
      libmysql/libmysql.c:
        Auto merged
      mysql-test/Makefile.am:
        Auto merged
      mysql-test/mysql-test-run.pl:
        Auto merged
      mysql-test/r/udf.result:
        Auto merged
      mysql-test/t/udf.test:
        Auto merged
      scripts/Makefile.am:
        Auto merged
      sql/item_func.cc:
        Auto merged
      sql/mysql_priv.h:
        Auto merged
      sql/mysqld.cc:
        Auto merged
      sql/sql_select.cc:
        Auto merged
      sql/udf_example.def:
        Auto merged
      tests/mysql_client_test.c:
        Auto merged
      sql/udf_example.c:
        Merge 5.0->5.1
      de2bcae5
    • unknown's avatar
      Merge bk-internal:/home/bk/mysql-5.1-maint · 42d117e7
      unknown authored
      into  shellback.(none):/home/msvensson/mysql/my51-bug30843
      
      42d117e7
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-5.0-maint · 7884652d
      unknown authored
      into  alf.(none):/src/bug15327/my50-bug15327
      
      
      win/configure.js:
        Auto merged
      7884652d
  2. 21 Sep, 2007 9 commits
    • unknown's avatar
      Bug #15327: configure: --with-tcp-port option being partially ignored · 59d85c74
      unknown authored
          
      make sure that if builder configured with a non-standard (!= 3306)
      default TCP port that value actually gets used throughout.
      
      
      win/configure.js:
        Bug #15327: configure: --with-tcp-port option being partially ignored
                
        If MYSQL_TCP_PORT defaulted in configure (factory default 3306
        at the time of this writing), set MYSQL_TCP_PORT to factory
        default, then clear factory default after. That way, we lose no
        information, and we can distinguish between "defaulted" and the
        pathological case "builder specifically configured a port that
        coincides with factory default." This can in theory happen if
        builder configures and builds several servers from a script
        (--with-tcp-port=3306, --with-tcp-port=3316, --with-tcp-port=3326).
        Not all that probable, but much preferable to having more "magic"
        happen in the server when we can solve this without any guesswork.
      59d85c74
    • unknown's avatar
      - Increase default connect_timeout to avoid intermittent · b2f27486
      unknown authored
      disconnects when test servers are put under load
      
      b2f27486
    • unknown's avatar
      Merge alf.(none):/src/bug15327/my50-bug15327 · 463bce81
      unknown authored
      into  alf.(none):/src/bug15327/my51-bug15327
      
      
      BitKeeper/deleted/.del-configure.js:
        Auto merged
      463bce81
    • unknown's avatar
      Bug #15327: configure: --with-tcp-port option being partially ignored · 0896ee9f
      unknown authored
        
      make sure that if builder configured with a non-standard (!= 3306)
      default TCP port that value actually gets used throughout.
      
      
      win/configure.js:
        Bug #15327: configure: --with-tcp-port option being partially ignored
            
        If MYSQL_TCP_PORT defaulted in configure (factory default 3306
        at the time of this writing), set MYSQL_TCP_PORT to factory
        default, then clear factory default after. That way, we lose no
        information, and we can distinguish between "defaulted" and the
        pathological case "builder specifically configured a port that
        coincides with factory default." This can in theory happen if
        builder configures and builds several servers from a script
        (--with-tcp-port=3306, --with-tcp-port=3316, --with-tcp-port=3326).
        Not all that probable, but much preferable to having more "magic"
        happen in the server when we can solve this without any guesswork.
      0896ee9f
    • unknown's avatar
      Merge bk-internal:/home/bk/mysql-5.1-maint · d30a9e20
      unknown authored
      into  shellback.(none):/home/msvensson/mysql/my51-bug30843
      
      d30a9e20
    • unknown's avatar
      Bug#28359 Intermitted lost connection at 'reading authorization packet' errors · c6d4de10
      unknown authored
       - Increase default 'connect_timeout' value to 10 seconds
      
      
      sql/mysql_priv.h:
        Increase the default connect_timeout value to 10 seconds
      c6d4de10
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-5.0-maint · 8feb2474
      unknown authored
      into  shellback.(none):/home/msvensson/mysql/mysql-5.0-maint
      
      8feb2474
    • unknown's avatar
      Merge shellback.(none):/home/msvensson/mysql/mysql-5.0-maint · babd7e9e
      unknown authored
      into  shellback.(none):/home/msvensson/mysql/my51-bug30843
      
      
      mysql-test/t/archive.test:
        Auto merged
      mysql-test/r/archive.result:
        SCCS merged
      babd7e9e
    • unknown's avatar
      Bug#30843 Bad Test addition to t/archive.test · 90ce6f81
      unknown authored
       - Add extra insert
      
      
      mysql-test/r/archive.result:
        Add an extra insert to guarantee that the delayed
        insert shows up in the table
      mysql-test/t/archive.test:
        Add an extra insert to guarantee that the delayed
        insert shows up in the table
      90ce6f81
  3. 15 Sep, 2007 4 commits
    • unknown's avatar
      Merge tnurnberg@bk-internal.mysql.com:/home/bk/mysql-5.1-maint · 4e470301
      unknown authored
      into  mysql.com:/home/tnurnberg/15327/51-15327
      
      
      configure.in:
        Auto merged
      client/mysql.cc:
        Auto merged
      client/mysql_upgrade.c:
        Auto merged
      client/mysqladmin.cc:
        Auto merged
      client/mysqlbinlog.cc:
        Auto merged
      client/mysqlcheck.c:
        Auto merged
      client/mysqldump.c:
        Auto merged
      client/mysqlimport.c:
        Auto merged
      client/mysqlshow.c:
        Auto merged
      client/mysqltest.c:
        Auto merged
      libmysql/libmysql.c:
        Auto merged
      mysql-test/Makefile.am:
        Auto merged
      mysql-test/mysql-test-run-shell.sh:
        Auto merged
      scripts/Makefile.am:
        Auto merged
      sql/mysqld.cc:
        Auto merged
      tests/mysql_client_test.c:
        Auto merged
      4e470301
    • unknown's avatar
      Bug #15327: configure: --with-tcp-port option being partially ignored · d96bfcaf
      unknown authored
      after merge fix :-/
      
      d96bfcaf
    • unknown's avatar
      Merge tnurnberg@bk-internal.mysql.com:/home/bk/mysql-5.0-maint · 362f6feb
      unknown authored
      into  mysql.com:/home/tnurnberg/15327/50-15327
      
      
      client/mysql.cc:
        Auto merged
      client/mysql_upgrade.c:
        Auto merged
      client/mysqldump.c:
        Auto merged
      client/mysqltest.c:
        Auto merged
      configure.in:
        Auto merged
      libmysql/libmysql.c:
        Auto merged
      mysql-test/Makefile.am:
        Auto merged
      scripts/Makefile.am:
        Auto merged
      sql/mysqld.cc:
        Auto merged
      tests/mysql_client_test.c:
        Auto merged
      362f6feb
    • unknown's avatar
      Merge mysql.com:/home/tnurnberg/15327/50-15327 · 53880014
      unknown authored
      into  mysql.com:/home/tnurnberg/15327/51-15327
      
      
      BitKeeper/deleted/.del-mysqld_safe-watch.sh~37cbc9a97ffd2555:
        Auto merged
      BitKeeper/deleted/.del-mysqlmanagerc.c~4f6e3499e68508f6:
        Auto merged
      client/mysql_upgrade.c:
        Auto merged
      configure.in:
        Auto merged
      libmysql/libmysql.c:
        Auto merged
      mysql-test/Makefile.am:
        Auto merged
      mysql-test/mysql-test-run-shell.sh:
        Auto merged
      netware/mysql_test_run.c:
        Auto merged
      scripts/Makefile.am:
        Auto merged
      scripts/mysql_fix_privilege_tables.sh:
        Auto merged
      server-tools/instance-manager/priv.h:
        Auto merged
      client/mysql.cc:
        manual merge
      client/mysqladmin.cc:
        manual merge
      client/mysqlbinlog.cc:
        manual merge
      client/mysqlcheck.c:
        manual merge
      client/mysqldump.c:
        manual merge
      client/mysqlimport.c:
        manual merge
      client/mysqlshow.c:
        manual merge
      client/mysqltest.c:
        manual merge
      sql/mysqld.cc:
        manual merge
      tests/mysql_client_test.c:
        manual merge
      tests/thread_test.c:
        manual merge
      53880014
  4. 13 Sep, 2007 1 commit
    • unknown's avatar
      Bug #15327: configure: --with-tcp-port option being partially ignored · 78653bdf
      unknown authored
      make sure that if builder configured with a non-standard (!= 3306)
      default TCP port that value actually gets used throughout. if they
      didn't configure a value, assume "use a sensible default", which
      will be read from /etc/services or, failing that, from the factory
      default. That makes the order of preference
      - command-line option
      - my.cnf, where applicable
      - $MYSQL_TCP_PORT environment variable
      - /etc/services (unless configured --with-tcp-port)
      - default port (--with-tcp-port=... or factory default)
      
      
      client/mysql.cc:
        Bug #15327: configure: --with-tcp-port option being partially ignored
        
        make help on --port a little more clear
      client/mysql_upgrade.c:
        Bug #15327: configure: --with-tcp-port option being partially ignored
        
        make help on --port a little more clear
      client/mysqladmin.cc:
        Bug #15327: configure: --with-tcp-port option being partially ignored
        
        make help on --port a little more clear
      client/mysqlbinlog.cc:
        Bug #15327: configure: --with-tcp-port option being partially ignored
        
        make help on --port a little more clear
      client/mysqlcheck.c:
        Bug #15327: configure: --with-tcp-port option being partially ignored
        
        make help on --port a little more clear
      client/mysqldump.c:
        Bug #15327: configure: --with-tcp-port option being partially ignored
        
        make help on --port a little more clear
      client/mysqlimport.c:
        Bug #15327: configure: --with-tcp-port option being partially ignored
        
        make help on --port a little more clear
      client/mysqlmanagerc.c:
        Bug #15327: configure: --with-tcp-port option being partially ignored
        
        make help on --port a little more clear
      configure.in:
        Bug #15327: configure: --with-tcp-port option being partially ignored
        
        If MYSQL_TCP_PORT defaulted in configure (factory default 3306
        at the time of this writing), set MYSQL_TCP_PORT to factory
        default, then clear factory default after. That way, we lose no
        information, and we can distinguish between "defaulted" and the
        pathological case "builder specifically configured a port that
        coincides with factory default." This can in theory happen if
        builder configures and builds several servers from a script
        (--with-tcp-port=3306, --with-tcp-port=3316, --with-tcp-port=3326).
        Not all that probable, but much preferable to having more "magic"
        happen in the server when we can solve this without any guesswork.
      client/mysqlshow.c:
        Bug #15327: configure: --with-tcp-port option being partially ignored
        
        make help on --port a little more clear
      client/mysqltest.c:
        Bug #15327: configure: --with-tcp-port option being partially ignored
        
        make help on --port a little more clear
      include/mysql_version.h.in:
        Bug #15327: configure: --with-tcp-port option being partially ignored
        
        make factory default for TCP port available as MYSQL_PORT_DEFAULT
        if build-time configured with a different default.  (0 if unchanged)
      libmysql/libmysql.c:
        Bug #15327: configure: --with-tcp-port option being partially ignored
        
        initialize default tcp port for client, like so:
        - if user configured --with-tcp-port, use that value as default
        - otherwise assume "use a good default": search mysqld/tcp in
          /etc/services; if that doesn't exist, use factory default (3306)
        - environment variable MYSQL_TCP_PORT overrides this default
        - command-line option overrides all of the above
      mysql-test/Makefile.am:
        Bug #15327: configure: --with-tcp-port option being partially ignored
        
        make factory default for TCP port available as MYSQL_TCP_PORT_DEFAULT
        if build-time configured with a different default.  (0 if unchanged)
      mysql-test/mysql-test-run-shell.sh:
        Bug #15327: configure: --with-tcp-port option being partially ignored
        
        set up MYSQL_TCP_PORT if not already set in environment:
        - if user configured --with-tcp-port, use that value as default
        - otherwise assume "use a good default": search mysqld/tcp in
          /etc/services; if that doesn't exist, use factory default (3306)
      netware/mysql_test_run.c:
        Bug #15327: configure: --with-tcp-port option being partially ignored
        
        account for non-standard default port-no. configured at build-time
      netware/mysqld_safe.c:
        Bug #15327: configure: --with-tcp-port option being partially ignored
        
        account for non-standard default port-no. configured at build-time
      scripts/Makefile.am:
        Bug #15327: configure: --with-tcp-port option being partially ignored
        
        make factory default for TCP port available as MYSQL_TCP_PORT_DEFAULT
        if build-time configured with a different default.  (0 if unchanged)
      scripts/mysql_config.sh:
        Bug #15327: configure: --with-tcp-port option being partially ignored
        
        set up MYSQL_TCP_PORT if not already set in environment:
        - if user configured --with-tcp-port, use that value as default
        - otherwise assume "use a good default": search mysqld/tcp in
          /etc/services; if that doesn't exist, use factory default (3306)
      scripts/mysql_fix_privilege_tables.sh:
        Bug #15327: configure: --with-tcp-port option being partially ignored
        
        clarifying notice only
      scripts/mysqld_safe-watch.sh:
        Bug #15327: configure: --with-tcp-port option being partially ignored
        
        account for non-standard default port-no. configured at build-time
      server-tools/instance-manager/priv.h:
        Bug #15327: configure: --with-tcp-port option being partially ignored
        
        account for non-standard default port-no. configured at build-time
      sql/mysqld.cc:
        Bug #15327: configure: --with-tcp-port option being partially ignored
        
        if builder specifically requested a default port, use that
        (even if it coincides with our factory default).
        only if they didn't do we check /etc/services (and, failing
        on that, fall back to the factory default of 3306).
        either default can be overridden by the environment variable
        MYSQL_TCP_PORT, which in turn can be overridden with command
        line options.
      tests/mysql_client_test.c:
        Bug #15327: configure: --with-tcp-port option being partially ignored
        
        make help on --port a little more clear
      tests/ssl_test.c:
        Bug #15327: configure: --with-tcp-port option being partially ignored
        
        account for non-standard default port-no. configured at build-time
      tests/thread_test.c:
        Bug #15327: configure: --with-tcp-port option being partially ignored
        
        make help on --port a little more clear
      78653bdf
  5. 11 Sep, 2007 1 commit
    • unknown's avatar
      Add support for specifying suites not located in mysql-test/suite/ · b6f28be2
      unknown authored
      Example otions that will all run binlog_stm_binlog.test in suite/binlog:
       --suite=binlog binlog.binlog_stm_binlog
       --suite=binlog binlog_stm_binlog
       binlog_stm_binlog
       --suite=suite/binlog binlog.binlog_stm_binlog
       --suite=suite/binlog binlog_stm_binlog
       
      
      b6f28be2
  6. 05 Sep, 2007 3 commits
    • unknown's avatar
      Merge damien-katzs-computer.local:/Users/dkatz/mysql50 · a3c8d7b7
      unknown authored
      into  damien-katzs-computer.local:/Users/dkatz/50_udf_const
      
      
      sql/item_func.cc:
        Auto merged
      a3c8d7b7
    • unknown's avatar
      Merge dkatz@bk-internal.mysql.com:/home/bk/mysql-5.0-maint · 8d69b197
      unknown authored
      into  damien-katzs-computer.local:/Users/dkatz/mysql50
      
      
      sql/sql_select.cc:
        Auto merged
      8d69b197
    • unknown's avatar
      Bug #29804 UDF parameters don't contain correct string length · 1c03de85
      unknown authored
        
      Previously, UDF *_init functions were passed constant strings with erroneous lengths.
      The length came from the containing variable's size, not the length of the value itself.
        
      Now the *_init functions get the constant as a null terminated string with the correct
      length supplied too.
      
      
      mysql-test/r/udf.result:
        Test case to check constants passed UDFs.
      mysql-test/t/udf.test:
        Test case to check constants passed UDFs.
      sql/item_func.cc:
        UDF _init functions are now passed the length of the constants, rather than the max
        length of the var containing the constant.
      sql/udf_example.c:
        Added check_const_len functions. The check_const_len_init functions checks that the
        lengths of constants are correctly passed.
      sql/udf_example.def:
        Add new example functions to windows dll export list.
      1c03de85
  7. 01 Sep, 2007 4 commits
  8. 31 Aug, 2007 4 commits
  9. 30 Aug, 2007 4 commits
  10. 29 Aug, 2007 7 commits
    • unknown's avatar
      Post-merge fixes, and disable buggy test case on embedded · 55881a99
      unknown authored
      
      mysql-test/t/query_cache.test:
        Disable query_cache test on embedded, due to bug 30710.
      sql/log_event_old.cc:
        Post-merge fix, change RELAY_LOG_INFO to Relay_log_info.
      55881a99
    • unknown's avatar
      Added ORDER BY to udf select so that results are ordered. · 3dbbdbe4
      unknown authored
      
      mysql-test/include/rpl_udf.inc:
        ORDER BY to force order
      mysql-test/suite/rpl/r/rpl_udf.result:
        Fix for ORDER BY
      3dbbdbe4
    • unknown's avatar
      Merge sita.local:/Users/tsmith/m/bk/maint/51-target22 · dc8ffcb1
      unknown authored
      into  sita.local:/Users/tsmith/m/bk/maint/51
      
      
      sql/field.cc:
        Auto merged
      sql/log_event_old.cc:
        Auto merged
      sql/rpl_record.h:
        Auto merged
      sql/rpl_utility.cc:
        Auto merged
      sql/rpl_utility.h:
        Auto merged
      sql/slave.h:
        Auto merged
      storage/innobase/handler/ha_innodb.cc:
        Auto merged
      sql/log_event.cc:
        Manual merge
      sql/log_event.h:
        Manual merge
      sql/log_event_old.h:
        Manual merge
      sql/rpl_record.cc:
        Manual merge
      sql/slave.cc:
        Manual merge
      dc8ffcb1
    • unknown's avatar
      Fix pushbuild test failures which occur on big-endian systems. · 952df32e
      unknown authored
        Do not convert innodb autoincrement value to little endian when on
        big endian systems.
      
      
      storage/innobase/row/row0sel.c:
        Do not convert innodb autoincrement value to little endian when on
        big endian systems.
      952df32e
    • unknown's avatar
      Merge pilot.(none):/data/msvensson/mysql/my51-m-imsuite · a402a0d2
      unknown authored
      into  pilot.(none):/data/msvensson/mysql/mysql-5.1-new-maint
      
      a402a0d2
    • unknown's avatar
      Move instance manager tests to it's own suite · f2638184
      unknown authored
      
      mysql-test/suite/im/t/im_daemon_life_cycle-im.opt:
        Rename: mysql-test/t/im_daemon_life_cycle-im.opt -> mysql-test/suite/im/t/im_daemon_life_cycle-im.opt
      mysql-test/suite/im/t/im_instance_conf-im.opt:
        Rename: mysql-test/t/im_instance_conf-im.opt -> mysql-test/suite/im/t/im_instance_conf-im.opt
      mysql-test/suite/im/t/im_life_cycle-im.opt:
        Rename: mysql-test/t/im_life_cycle-im.opt -> mysql-test/suite/im/t/im_life_cycle-im.opt
      mysql-test/suite/im/t/im_options-im.opt:
        Rename: mysql-test/t/im_options-im.opt -> mysql-test/suite/im/t/im_options-im.opt
      mysql-test/suite/im/t/im_utils-im.opt:
        Rename: mysql-test/t/im_utils-im.opt -> mysql-test/suite/im/t/im_utils-im.opt
      mysql-test/suite/im/r/im_cmd_line.result:
        Rename: mysql-test/r/im_cmd_line.result -> mysql-test/suite/im/r/im_cmd_line.result
      mysql-test/suite/im/r/im_daemon_life_cycle.result:
        Rename: mysql-test/r/im_daemon_life_cycle.result -> mysql-test/suite/im/r/im_daemon_life_cycle.result
      mysql-test/suite/im/r/im_instance_conf.result:
        Rename: mysql-test/r/im_instance_conf.result -> mysql-test/suite/im/r/im_instance_conf.result
      mysql-test/suite/im/r/im_life_cycle.result:
        Rename: mysql-test/r/im_life_cycle.result -> mysql-test/suite/im/r/im_life_cycle.result
      mysql-test/suite/im/r/im_options.result:
        Rename: mysql-test/r/im_options.result -> mysql-test/suite/im/r/im_options.result
      mysql-test/suite/im/r/im_utils.result:
        Rename: mysql-test/r/im_utils.result -> mysql-test/suite/im/r/im_utils.result
      mysql-test/suite/im/t/utils.sh:
        Rename: mysql-test/t/utils.sh -> mysql-test/suite/im/t/utils.sh
      mysql-test/suite/im/t/wait_for_process.sh:
        Rename: mysql-test/t/wait_for_process.sh -> mysql-test/suite/im/t/wait_for_process.sh
      mysql-test/suite/im/t/wait_for_socket.sh:
        Rename: mysql-test/t/wait_for_socket.sh -> mysql-test/suite/im/t/wait_for_socket.sh
      mysql-test/suite/im/t/log.sh:
        Rename: mysql-test/t/log.sh -> mysql-test/suite/im/t/log.sh
      mysql-test/suite/im/t/kill_n_check.sh:
        Rename: mysql-test/t/kill_n_check.sh -> mysql-test/suite/im/t/kill_n_check.sh
      mysql-test/suite/im/t/im_check_env.inc:
        Rename: mysql-test/include/im_check_env.inc -> mysql-test/suite/im/t/im_check_env.inc
      mysql-test/suite/im/t/im_cmd_line.imtest:
        Update location of im_check_env.inc
      mysql-test/suite/im/t/im_daemon_life_cycle.imtest:
        Update location of im_check_env.inc
        Add variable UTIL that points to the "ugly" .sh scripts
      mysql-test/suite/im/t/im_instance_conf.imtest:
        Update location of im_check_env.inc
      mysql-test/suite/im/t/im_life_cycle.imtest:
        Update location of im_check_env.inc
        Add variable UTIL that points to the "ugly" .sh scripts
      mysql-test/suite/im/t/im_options.imtest:
        Update location of im_check_env.inc
      mysql-test/suite/im/t/im_utils.imtest:
        Update location of im_check_env.inc
        Add variable UTIL that points to the "ugly" .sh scripts
      mysql-test/t/disabled.def:
        Move disabled im test to suite/im/t/disabled.def
      mysql-test/suite/im/t/disabled.def:
        New BitKeeper file ``mysql-test/suite/im/t/disabled.def''
      f2638184
    • unknown's avatar
      Merge pilot.(none):/data/msvensson/mysql/mysql-5.0-maint · 02258bdd
      unknown authored
      into  pilot.(none):/data/msvensson/mysql/mysql-5.1-new-maint
      
      
      mysql-test/mysql-test-run.pl:
        Auto merged
      02258bdd