1. 04 Sep, 2006 1 commit
    • unknown's avatar
      bug#21965 - replication · 698f3b7e
      unknown authored
        fix deadlock if master switches log file in parallell with "show master logs"
        
      
      
      sql/log.cc:
        add raw_get_current_log which dont take log mutex
      sql/sql_class.h:
        add raw_get_current_log which dont take log mutex
      sql/sql_repl.cc:
        Fix lock order i.e first log_lock then index_lock
      698f3b7e
  2. 24 Aug, 2006 1 commit
    • unknown's avatar
      ndb - bug#21800 · e748962e
      unknown authored
        read TransactionDeadlockTimeout (for scans) to cater for insane settings
      
      
      ndb/src/ndbapi/NdbScanOperation.cpp:
        read TransactionDeadlockTimeout to cater for insane settings
      e748962e
  3. 09 Aug, 2006 1 commit
    • unknown's avatar
      ndb - bug#21536 · 87e73586
      unknown authored
        Make sure updateNodeInfo is run on master also for temporary tables
      
      
      ndb/src/kernel/blocks/dbdih/DbdihMain.cpp:
        Run update nodeinfo also here to handle
          temprorary tables in some situations
      ndb/src/kernel/blocks/ndbcntr/NdbcntrMain.cpp:
        new error insert
      ndb/test/ndbapi/testSystemRestart.cpp:
        test case
      87e73586
  4. 08 Aug, 2006 1 commit
    • unknown's avatar
      ndb - bug#21213 · c8d1bd32
      unknown authored
        Make sure totSendlenAi is set in case of ACC_ABORTCONF and activeCreate == true
        (only needed when >2 replica)
      
      
      ndb/src/kernel/blocks/dblqh/DblqhMain.cpp:
        Make sure totSendlenAi is set in case of ACC_ABORTCONF and activeCreate == true
      c8d1bd32
  5. 07 Aug, 2006 1 commit
    • unknown's avatar
      ndb - bug#18475 · 45724cf5
      unknown authored
        Fix error message on copyfragref
      
      
      ndb/src/kernel/blocks/ndbcntr/NdbcntrMain.cpp:
        Fix error message
      45724cf5
  6. 04 Aug, 2006 2 commits
    • unknown's avatar
      ndb - bug#21400 · ec87a0bb
      unknown authored
        Fix docs for NdbOpertation::sub_reg
      
      
      ndb/include/ndbapi/NdbOperation.hpp:
        Fix docs for sub_reg
      ec87a0bb
    • unknown's avatar
      ndb - bug#20296 (recommit in 4.1) · 1cbef6fa
      unknown authored
         Make sure that tupkeyErrorLab is run if interpretedUpdate(fail), so that entry is not inserted into index.
           Yeilding crash on following dml on tupel
      
      
      
      ndb/src/kernel/blocks/dbtup/DbtupExecQuery.cpp:
        Make sure that tupkeyErrorLab is run if interpretedUpdate(fail), so that entry is not inserted into index.
              Yeilding crash on following dml on tupe
      1cbef6fa
  7. 03 Aug, 2006 1 commit
    • unknown's avatar
      ndb - bug#20892 · 8a9821e2
      unknown authored
        Fix bug in tup buddy allocator, which made it make invalid access to cfreepagelist[16] (which is not defined)
      
      
      ndb/src/kernel/blocks/dbtup/DbtupPagMan.cpp:
        loop from firstListToCheck -1 (as firstListToCheck has already been checked), when looking for less than requested pages
        add if-statement for firtListToCheck == 0
      8a9821e2
  8. 02 Aug, 2006 1 commit
    • unknown's avatar
      ndb - · 2bb49082
      unknown authored
        Make possible to build both debug/release from compile-ndb-autotest
      
      
      BUILD/compile-ndb-autotest:
        Make possible to build both debug/release from compile-ndb-autotest
      2bb49082
  9. 01 Aug, 2006 8 commits
  10. 31 Jul, 2006 1 commit
  11. 29 Jul, 2006 2 commits
  12. 28 Jul, 2006 4 commits
    • unknown's avatar
      Merge mysql.com:/Users/kent/mysql/bk/mysql-4.0 · 608d7e92
      unknown authored
      into  mysql.com:/Users/kent/mysql/bk/mysql-4.1
      
      
      configure.in:
        Auto merged
      scripts/make_binary_distribution.sh:
        Auto merged
      support-files/mysql.spec.sh:
        SCCS merged
      608d7e92
    • unknown's avatar
      Makefile.am, configure.in: · 4f0c394c
      unknown authored
        Man page for mysqld command move to section 8 (bug#21220)
      
      
      configure.in:
        Man page for mysqld command move to section 8 (bug#21220)
      man/Makefile.am:
        Man page for mysqld command move to section 8 (bug#21220)
      4f0c394c
    • unknown's avatar
      make_binary_distribution.sh: · 3423142a
      unknown authored
        Man page for "mysqld" command move to section 8 (bug#21220)
      
      
      scripts/make_binary_distribution.sh:
        Man page for "mysqld" command move to section 8 (bug#21220)
      3423142a
    • unknown's avatar
      mysql.spec.sh: · 00c97fe0
      unknown authored
        Man page for "mysqld" command move to section 8 (bug#21220)
      
      
      support-files/mysql.spec.sh:
        Man page for "mysqld" command move to section 8 (bug#21220)
      00c97fe0
  13. 26 Jul, 2006 2 commits
    • unknown's avatar
      BUG#21206: memory corruption when too many cursors are opened at once · 3fcef0c7
      unknown authored
      Too many cursors (more than 1024) could lead to memory corruption.
      This affects both, stored routines and C API cursors, and the
      threshold is per-server, not per-connection.  Similarly, the
      corruption could happen when the server was under heavy load
      (executing more than 1024 simultaneous complex queries), and this is
      the reason why this bug is fixed in 4.1, which doesn't support
      cursors.
      
      The corruption was caused by a bug in the temporary tables code, when
      an attempt to create a table could lead to a write beyond allocated
      space.  Note, that only internal tables were affected (the tables
      created internally by the server to resolve the query), not tables
      created with CREATE TEMPORARY TABLE.  Another pre-condition for the
      bug is TRUE value of --temp-pool startup option, which, however, is a
      default.
      
      The cause of a bug was that random memory was overwritten in
      bitmap_set_next() due to out-of-bound memory access.
      
      
      mysys/my_bitmap.c:
        Local 'bitmap_size' is measured in bytes, no need to multiply it by 8.
      sql/sql_select.cc:
        Clear the temp_pool_slot bit only if we have set it previously.
      3fcef0c7
    • unknown's avatar
      Applied innodb-4.1-ss32 snapshot. · 5cb7afaf
      unknown authored
      
      innobase/ibuf/ibuf0ibuf.c:
        Applied innodb-4.1-ss32 snapshot.
         ibuf_fixed_addr_page(): Add parameter space. As the insert
         buffer B-tree is only located in the system tablespace
         (space 0), IBUF_TREE_ROOT_PAGE_NO is only special in space 0.
      5cb7afaf
  14. 24 Jul, 2006 5 commits
  15. 23 Jul, 2006 1 commit
  16. 20 Jul, 2006 1 commit
    • unknown's avatar
      Merge bk@192.168.21.1:mysql-4.1 · 6bbbf46f
      unknown authored
      into  mysql.com:/home/hf/work/mysql-4.1.19983
      
      
      libmysqld/lib_sql.cc:
        Auto merged
      tests/mysql_client_test.c:
        Auto merged
      6bbbf46f
  17. 19 Jul, 2006 2 commits
    • unknown's avatar
      Bug #21135 Crash in test "func_time" · 0794dc71
      unknown authored
       - backport patch from 5.0
       - "table" can be NULL in temporary fields used for type conversion
      
      
      sql/field.cc:
        table can be NULL in temporary fields used for type conversion.
        Store value in field as if db_low_byte_first was set.
      sql/field.h:
        table can be NULL in temporary fields used for type conversion.
        Store value in field as if db_low_byte_first was set.
      0794dc71
    • unknown's avatar
      mysql.spec.sh: · eff4efa8
      unknown authored
        Added new "mysql_explain_log" man page
        Added missing install of "myisam_ftdump" man page
        Added missing install of "mysqlman" man page
      
      
      support-files/mysql.spec.sh:
        Added new "mysql_explain_log" man page
        Added missing install of "myisam_ftdump" man page
        Added missing install of "mysqlman" man page
      eff4efa8
  18. 18 Jul, 2006 3 commits
    • unknown's avatar
      Merge moonbone.local:/home/evgen/bk-trees/mysql-4.1 · 1149cf99
      unknown authored
      into  moonbone.local:/work/tmp_merge-4.1-opt-mysql
      
      
      mysql-test/r/date_formats.result:
        Auto merged
      mysql-test/t/date_formats.test:
        Auto merged
      sql/item_strfunc.cc:
        Auto merged
      sql/sql_class.cc:
        Auto merged
      1149cf99
    • unknown's avatar
      Merge moonbone.local:/work/mysql-4.1 · 5ac65c9b
      unknown authored
      into  moonbone.local:/work/tmp_merge-4.1-opt-mysql
      
      
      mysql-test/r/date_formats.result:
        Auto merged
      mysql-test/t/date_formats.test:
        Auto merged
      5ac65c9b
    • unknown's avatar
      Backporting Kostja's changes made for 5.0 into 4.1. · 46be2df4
      unknown authored
      Please use "ul" when merging this changeset to 5.0.
      
      
      sql/item_timefunc.cc:
        Fix a valgrind warning in type_date test.
      sql/sql_locale.cc:
        Fix a Windows build failure:  "false" -> FALSE
      46be2df4
  19. 17 Jul, 2006 2 commits
    • unknown's avatar
      Changes to make "sql/sql_locale.cc" compile + link on Windows: · 1c410132
      unknown authored
      1) When initializing a boolean variable, do not use string representations '"false"' and '"true"' 
          but rather the boolean values 'false' and 'true'.
      2) Add the module to the various Windows description files.
      
      
      VC++Files/libmysqld/libmysqld.dsp:
        Add "sql/sql_locale.cpp" with similar settings as the other files.
      VC++Files/libmysqld/libmysqld.vcproj:
        Add "sql/sql_locale.cpp" with similar settings as the other files.
      VC++Files/libmysqld/libmysqld_ia64.dsp:
        Add "sql/sql_locale.cpp" with similar settings as the other files.
      VC++Files/mysqldemb/mysqldemb.dsp:
        Add "sql/sql_locale.cpp" with similar settings as the other files.
      VC++Files/mysqldemb/mysqldemb.vcproj:
        Add "sql/sql_locale.cpp" with similar settings as the other files.
      VC++Files/mysqldemb/mysqldemb_ia64.dsp:
        Add "sql/sql_locale.cpp" with similar settings as the other files.
      VC++Files/sql/mysqld.dsp:
        Add "sql/sql_locale.cpp" with similar settings as the other files.
      VC++Files/sql/mysqld.vcproj:
        Add "sql/sql_locale.cpp" with similar settings as the other files.
      VC++Files/sql/mysqld_ia64.dsp:
        Add "sql/sql_locale.cpp" with similar settings as the other files.
      VC++Files/sql/mysqldmax.dsp:
        Add "sql/sql_locale.cpp" with similar settings as the other files.
      VC++Files/sql/mysqldmax_ia64.dsp:
        Add "sql/sql_locale.cpp" with similar settings as the other files.
      sql/sql_locale.cc:
        When initializing a boolean variable, do not use stringrepresentations '"false"' and '"true"' 
        but rather the boolean values 'false' and 'true'.
      1c410132
    • unknown's avatar
      strings/strtod.c : Ensure the definition of "EOVERFLOW" is available. · a9fb36e2
      unknown authored
      In 5.0, this is already solved, so that is a null-merge ("ul").
      
      
      strings/strtod.c:
        This file needs the definition of "EOVERFLOW",
        which is on some platforms (Windows, OpenBSD) provided only by "my_base.h".
        As this in turn includes "my_global.h", the include file name can be changed.
      a9fb36e2