1. 31 Jul, 2007 2 commits
    • unknown's avatar
      Merge ramayana.hindu.god:/home/tsmith/m/bk/51 · 82fbe7a4
      unknown authored
      into  ramayana.hindu.god:/home/tsmith/m/bk/maint/jul31/51
      
      
      mysql-test/r/federated.result:
        Auto merged
      mysql-test/t/federated.test:
        Auto merged
      sql/sql_select.cc:
        Auto merged
      sql/sql_table.cc:
        Auto merged
      storage/federated/ha_federated.h:
        Auto merged
      storage/innobase/handler/ha_innodb.cc:
        Auto merged
      mysql-test/include/mix1.inc:
        Manual merge
      mysql-test/r/innodb_mysql.result:
        Manual merge
      82fbe7a4
    • unknown's avatar
      Bug #29419 "Specifying a join_buffer > 4GB on 64 bit machines not possible." · d0e8d1ab
      unknown authored
        
      Use size_t instead of uint when calculating join buffer size, because uint can be overflown on 64-bit platforms and join_buffer_size > 4 GB.
        
      The test case for this bug is a part of the test suite for bug #5731.
      
      
      sql/sql_select.cc:
        Use size_t instead of uint when calculating join buffer size, because uint can be overflown on 64-bit platforms and join_buffer_size > 4G.
      d0e8d1ab
  2. 30 Jul, 2007 1 commit
    • unknown's avatar
      mysqld_safe.sh: · b635b286
      unknown authored
        Post-review fix, if 'logger' can't be found, and --syslog is requested, exit with error message instead of fall back to logging to error file.
      
      
      scripts/mysqld_safe.sh:
        Post-review fix, if 'logger' can't be found, and --syslog is requested, exit with error message instead of fall back to logging to error file.
      b635b286
  3. 28 Jul, 2007 2 commits
  4. 27 Jul, 2007 12 commits
    • unknown's avatar
      Merge ramayana.hindu.god:/home/tsmith/m/bk/maint/51-b29992 · b4a10153
      unknown authored
      into  ramayana.hindu.god:/home/tsmith/m/bk/maint/51
      
      
      b4a10153
    • unknown's avatar
      Bug #29992: syslog error logging does not flush · 17f98499
      unknown authored
      Don't use syslog by default; user will have to request it explicitly with the --syslog option.
      
      Use "sed -u" to get unbuffered output from sed, if it's supported.
      
      Otherwise, don't use sed at all - don't strip the timestamp from mysqld messages.
      
      Also, add new --syslog-tag=FOO option, which adds "-FOO" to the tag used when logging messages to syslog (i.e., mysqld-FOO or mysqld_safe-FOO)
      
      Also, explicitly mention where log messages are going, so user can more easily find them.
      
      Also, check if 'logger' is in the PATH, and log to the error log file if it can't be found.
      
      
      17f98499
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-5.1-maint · 1aa6f24b
      unknown authored
      into  alf.(none):/src/bug30103/my51-bug30103
      
      
      1aa6f24b
    • unknown's avatar
      Bug#30103 CMake build solution does not remove auto-generated resources · 2302a302
      unknown authored
      - Add CMake rule to remove files.
      - Manual merge.
      
      
      sql/CMakeLists.txt:
        Bug#30103 CMake build solution does not remove auto-generated resources
        - Add CMake rule to remove files.
      2302a302
    • unknown's avatar
      Merge alf.(none):/src/bug30103/my50-bug30103 · 3a7b1c82
      unknown authored
      into  alf.(none):/src/bug30103/my51-bug30103
      
      
      BitKeeper/deleted/.del-CMakeLists.txt~3:
        Auto merged
      3a7b1c82
    • unknown's avatar
      Merge damien-katzs-computer.local:/Users/dkatz/50_hpux · f9d8bae0
      unknown authored
      into  damien-katzs-computer.local:/Users/dkatz/mysql51
      
      
      sql/mysqld.cc:
        Auto merged
      BitKeeper/deleted/.del-yassl.m4~e55e55c1e863abaf:
        Auto merged
      f9d8bae0
    • unknown's avatar
      Merge rkalimullin@bk-internal.mysql.com:/home/bk/mysql-5.1-maint · f00620ba
      unknown authored
      into  mysql.com:/home/ram/work/b29980/b29980.5.1
      
      
      sql/sql_table.cc:
        Auto merged
      f00620ba
    • unknown's avatar
      Bug#30103 CMake build solution does not remove auto-generated resources · 32cc0694
      unknown authored
      - Add CMake rule to remove files.
      
      
      32cc0694
    • unknown's avatar
      Merge mysql.com:/home/svoj/devel/mysql/BUG29957/mysql-5.0-engines · f97155c9
      unknown authored
      into  mysql.com:/home/svoj/devel/mysql/BUG29957/mysql-5.1-engines
      
      
      storage/myisam/mi_extra.c:
        Auto merged
      mysql-test/r/alter_table.result:
        Manual merge
      mysql-test/t/alter_table.test:
        Manual merge
      f97155c9
    • unknown's avatar
      Merge svojtovich@bk-internal.mysql.com:/home/bk/mysql-5.0-engines · 766725c5
      unknown authored
      into  mysql.com:/home/svoj/devel/mysql/BUG29957/mysql-5.0-engines
      
      
      766725c5
    • unknown's avatar
      BUG#29957 - alter_table.test fails · e92ce5d5
      unknown authored
      INSERT/DELETE/UPDATE followed by ALTER TABLE within LOCK TABLES
      may cause table corruption on Windows.
      
      That happens because ALTER TABLE writes outdated shared state
      info into index file.
      
      Fixed by removing obsolete workaround.
      
      Affects MyISAM tables on Windows only.
      
      
      myisam/mi_extra.c:
        On windows when mi_extra(HA_EXTRA_PREPARE_FOR_DELETE) is called,
        we release external lock and close index file. If we're in LOCK
        TABLES, MyISAM state info doesn't get updated until UNLOCK TABLES.
        
        That means when we release external lock and we're in LOCK TABLES,
        we may write outdated state info.
        
        As SQL layer closes all table instances, we do not need this
        workaround anymore.
      mysql-test/r/alter_table.result:
        A test case for BUG#29957.
      mysql-test/t/alter_table.test:
        A test case for BUG#29957.
      e92ce5d5
    • unknown's avatar
      Bug #25061 Build failure on HP/UX similar to BUG#20507 · 9eaf0ae7
      unknown authored
      Added libCsup as a mysql library dependency on hpux11.
      
      This means any projects statically linking to our libraries using the HPUX11 compiler will need to add the -lCSup option to their build link options. If they use the mysql_config tool this will happen automatically.
      
      Projects that dynamically link to libmysqlclient will continue to work without any modifications.
      
      Library libCsup is a C++ runtime library needed for yassl support when built with the hpux11 C/C++ compiler. The first attempts to fix this bug were to remove the yassl dependencies on libCsup. We tried removing all pure virtual functions and other hacks, but the dependency remained. The only other options left involve extensive restructuring of the yassl library.
          
      
      
      config/ac-macros/yassl.m4:
        Added libCsup as a mysql library dependency on hpux11 when building yassl.
      9eaf0ae7
  5. 26 Jul, 2007 10 commits
  6. 25 Jul, 2007 13 commits
    • unknown's avatar
      table.cc, sql_select.cc: · ddd72899
      unknown authored
        Post-merge fix.
      
      
      sql/sql_select.cc:
        Post-merge fix.
      sql/table.cc:
        Post-merge fix.
      ddd72899
    • unknown's avatar
      sql_select.cc: · c5948832
      unknown authored
        Post-merge fix.
      
      
      sql/sql_select.cc:
        Post-merge fix.
      c5948832
    • unknown's avatar
      Bug#29522 · b37ca18a
      unknown authored
        "log.cc:1448: failed assertion `mysql_bin_log.is_open() && rex_data->empty()'"
        When Federated's transaction support was disabled by bug29875,
        this assertion became unreproducable.
      
      
      mysql-test/t/disabled.def:
        bug29522
          reenable federated_innodb test
      b37ca18a
    • unknown's avatar
      Merge gleb.loc:/home/uchum/work/bk/5.0 · 2df3b7b0
      unknown authored
      into  gleb.loc:/home/uchum/work/bk/5.0-opt
      
      
      mysql-test/t/create.test:
        Auto merged
      sql/field.cc:
        Auto merged
      sql/sql_base.cc:
        Auto merged
      sql/table.cc:
        Auto merged
      mysql-test/r/create.result:
        Merge with 5.0 (main).
      2df3b7b0
    • unknown's avatar
      tmp_table_size is not about user-created temporary tables, only · 37b6be08
      unknown authored
      internal ones (like those of GROUP BY): fixing the --help text.
      
      
      sql/mysqld.cc:
        tmp_table_size is not about user-created temporary tables, only
        internal ones (like those of GROUP BY)
      37b6be08
    • unknown's avatar
      Merge gleb.loc:/home/uchum/work/bk/5.0-opt · 21b83ab7
      unknown authored
      into  gleb.loc:/home/uchum/work/bk/5.1-opt
      
      
      mysql-test/r/having.result:
        Auto merged
      mysql-test/t/create.test:
        Auto merged
      mysql-test/t/having.test:
        Auto merged
      sql/field.cc:
        Auto merged
      sql/sql_select.cc:
        Auto merged
      mysql-test/include/mix1.inc:
        Merge with 5.0-opt.
      mysql-test/r/create.result:
        Merge with 5.0-opt.
      mysql-test/r/innodb_mysql.result:
        Merge with 5.0-opt.
      mysql-test/r/type_enum.result:
        Merge with 5.0-opt.
      mysql-test/t/type_enum.test:
        Merge with 5.0-opt.
      sql/filesort.cc:
        Merge with 5.0-opt.
      sql/sql_base.cc:
        Merge with 5.0-opt.
      sql/table.cc:
        Merge with 5.0-opt.
      storage/innobase/handler/ha_innodb.cc:
        Merge with 5.0-opt.
      21b83ab7
    • unknown's avatar
      lock0iter.c: · 43bc432e
      unknown authored
        remove unused variable "bit_no"
      
      
      storage/innobase/lock/lock0iter.c:
        remove unused variable "bit_no"
      43bc432e
    • unknown's avatar
      Merge tsmith@bk-internal.mysql.com:/home/bk/mysql-5.1-maint · 916eed59
      unknown authored
      into  ramayana.hindu.god:/home/tsmith/m/bk/inno/jul24/51
      
      
      916eed59
    • unknown's avatar
      Apply snapshot innodb-51-ss1644: Part #2. · 31dffd10
      unknown authored
      I forgot to check in some new files: lock0priv.h lock0priv.ic lock0iter.c lock0iter.h
      
      
      storage/innobase/include/lock0iter.h:
        BitKeeper file /home/tsmith/m/bk/inno/jul24/51/storage/innobase/include/lock0iter.h
      storage/innobase/include/lock0priv.h:
        BitKeeper file /home/tsmith/m/bk/inno/jul24/51/storage/innobase/include/lock0priv.h
      storage/innobase/include/lock0priv.ic:
        BitKeeper file /home/tsmith/m/bk/inno/jul24/51/storage/innobase/include/lock0priv.ic
      storage/innobase/lock/lock0iter.c:
        BitKeeper file /home/tsmith/m/bk/inno/jul24/51/storage/innobase/lock/lock0iter.c
      31dffd10
    • unknown's avatar
      Merge xiphis.org:/anubis/antony/work/p2-bug25679.3 · c6a0b224
      unknown authored
      into  xiphis.org:/anubis/antony/work/p2-bug25679.3.merge-5.1
      
      
      mysql-test/r/federated.result:
        Auto merged
      mysql-test/t/federated.test:
        Auto merged
      storage/federated/ha_federated.h:
        Auto merged
      storage/federated/ha_federated.cc:
        manual merge 5.0 to 5.1
      c6a0b224
    • unknown's avatar
      Bug#25679 · b42247bc
      unknown authored
        "Federated Denial of Service"
        Federated storage engine used to attempt to open connections within
        the ::create() and ::open() methods which are invoked while LOCK_open
        mutex is being held by mysqld. As a result, no other client sessions
        can open tables while Federated is attempting to open a connection.
        Long DNS lookup times would stall mysqld's operation and a rogue
        connection string which connects to a remote server which simply
        stalls during handshake can stall mysqld for a much longer period of
        time.
        This patch moves the opening of the connection much later, when the
        federated actually issues queries, by which time the LOCK_open mutex is
        no longer being held.
      
      
      mysql-test/r/federated.result:
        change of test/results due to patch for bug25679
      mysql-test/t/federated.test:
        change of test/results due to patch for bug25679
      sql/ha_federated.cc:
        bug25679
          remove function check_foreign_fata_source()
          ha_federated::open() no longer opens the federated connection.
          ha_federated::create() no longer opens and tests connection.
          ha_federated::real_connect() opens connection and tests presence of table.
          ha_federated::real_query() sends query, calling real_connect() if neccessary.
      sql/ha_federated.h:
        bug25679
          new methods real_query() and real_connect()
      b42247bc
    • unknown's avatar
      Merge gleb.loc:/home/uchum/work/bk/4.1-opt · 0784d924
      unknown authored
      into  gleb.loc:/home/uchum/work/bk/5.0-opt
      
      
      0784d924
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-5.1-maint · 82ea4c95
      unknown authored
      into  amd64.(none):/src/bug24732/my51-bug24732
      
      
      82ea4c95