1. 15 Sep, 2006 1 commit
    • unknown's avatar
      ndb - bug#21756 · 931af319
      unknown authored
        Fix for alter table when node is down...that could cause pain and misery
      
      
      ndb/src/kernel/blocks/dbdict/Dbdict.cpp:
        Make sure to check table version before retriving from disk
      931af319
  2. 04 Sep, 2006 1 commit
    • unknown's avatar
      bug#21965 - replication · d2d605e4
      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
      d2d605e4
  3. 24 Aug, 2006 1 commit
    • unknown's avatar
      ndb - bug#21800 · 5d82bec5
      unknown authored
        read TransactionDeadlockTimeout (for scans) to cater for insane settings
      
      
      ndb/src/ndbapi/NdbScanOperation.cpp:
        read TransactionDeadlockTimeout to cater for insane settings
      5d82bec5
  4. 09 Aug, 2006 1 commit
    • unknown's avatar
      ndb - bug#21536 · 3d7cb87b
      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
      3d7cb87b
  5. 08 Aug, 2006 1 commit
    • unknown's avatar
      ndb - bug#21213 · 6e5ad691
      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
      6e5ad691
  6. 07 Aug, 2006 1 commit
    • unknown's avatar
      ndb - bug#18475 · f4e01cf6
      unknown authored
        Fix error message on copyfragref
      
      
      ndb/src/kernel/blocks/ndbcntr/NdbcntrMain.cpp:
        Fix error message
      f4e01cf6
  7. 04 Aug, 2006 2 commits
    • unknown's avatar
      ndb - bug#21400 · bb285b44
      unknown authored
        Fix docs for NdbOpertation::sub_reg
      
      
      ndb/include/ndbapi/NdbOperation.hpp:
        Fix docs for sub_reg
      bb285b44
    • unknown's avatar
      ndb - bug#20296 (recommit in 4.1) · f287b4a8
      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
      f287b4a8
  8. 03 Aug, 2006 1 commit
    • unknown's avatar
      ndb - bug#20892 · 42fd7e8f
      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
      42fd7e8f
  9. 02 Aug, 2006 1 commit
    • unknown's avatar
      ndb - · 753651c1
      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
      753651c1
  10. 01 Aug, 2006 8 commits
  11. 31 Jul, 2006 1 commit
  12. 29 Jul, 2006 2 commits
  13. 28 Jul, 2006 4 commits
    • unknown's avatar
      Merge mysql.com:/Users/kent/mysql/bk/mysql-4.0 · 04d60b38
      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
      04d60b38
    • unknown's avatar
      Makefile.am, configure.in: · d1fde0f7
      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)
      d1fde0f7
    • unknown's avatar
      make_binary_distribution.sh: · 6f65bffe
      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)
      6f65bffe
    • unknown's avatar
      mysql.spec.sh: · a811cc0a
      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)
      a811cc0a
  14. 26 Jul, 2006 2 commits
    • unknown's avatar
      BUG#21206: memory corruption when too many cursors are opened at once · 35945019
      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.
      35945019
    • unknown's avatar
      Applied innodb-4.1-ss32 snapshot. · 03637f49
      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.
      03637f49
  15. 24 Jul, 2006 5 commits
  16. 23 Jul, 2006 1 commit
  17. 20 Jul, 2006 1 commit
    • unknown's avatar
      Merge bk@192.168.21.1:mysql-4.1 · c988ef94
      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
      c988ef94
  18. 19 Jul, 2006 2 commits
    • unknown's avatar
      Bug #21135 Crash in test "func_time" · d7c0c667
      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.
      d7c0c667
    • unknown's avatar
      mysql.spec.sh: · b53e47a1
      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
      b53e47a1
  19. 18 Jul, 2006 3 commits
    • unknown's avatar
      Merge moonbone.local:/home/evgen/bk-trees/mysql-4.1 · 6abe1c71
      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
      6abe1c71
    • unknown's avatar
      Merge moonbone.local:/work/mysql-4.1 · 5a77e566
      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
      5a77e566
    • unknown's avatar
      Backporting Kostja's changes made for 5.0 into 4.1. · d39e8532
      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
      d39e8532
  20. 17 Jul, 2006 1 commit
    • unknown's avatar
      Changes to make "sql/sql_locale.cc" compile + link on Windows: · 73328544
      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'.
      73328544