1. 13 Oct, 2006 1 commit
    • unknown's avatar
      ndb - tux scan: use lock pool for better perf and mem usage · d266dd4a
      unknown authored
      
      ndb/src/kernel/blocks/dbtux/Dbtux.hpp:
        use pool of lock ops (like tupscan) instead of array of 992
      ndb/src/kernel/blocks/dbtux/DbtuxDebug.cpp:
        use pool of lock ops (like tupscan) instead of array of 992
      ndb/src/kernel/blocks/dbtux/DbtuxGen.cpp:
        use pool of lock ops (like tupscan) instead of array of 992
      ndb/src/kernel/blocks/dbtux/DbtuxScan.cpp:
        use pool of lock ops (like tupscan) instead of array of 992
      ndb/src/kernel/vm/DLFifoList.hpp:
        add Head::isEmpty
      d266dd4a
  2. 11 Oct, 2006 3 commits
  3. 10 Oct, 2006 6 commits
  4. 09 Oct, 2006 2 commits
    • unknown's avatar
      ndb - bug#20446: fix + other TUX scan improvements · 0a3f4063
      unknown authored
      
      ndb/src/kernel/blocks/dbtux/Dbtux.hpp:
        fixes to move scan when entry removed: 1. do not check visibility to transaction 2. keep Blocked if moved to another version of same tuple 3. general improvements (remove m_match etc)
      ndb/src/kernel/blocks/dbtux/DbtuxDebug.cpp:
        fixes to move scan when entry removed: 1. do not check visibility to transaction 2. keep Blocked if moved to another version of same tuple 3. general improvements (remove m_match etc)
      ndb/src/kernel/blocks/dbtux/DbtuxGen.cpp:
        fixes to move scan when entry removed: 1. do not check visibility to transaction 2. keep Blocked if moved to another version of same tuple 3. general improvements (remove m_match etc)
      ndb/src/kernel/blocks/dbtux/DbtuxMaint.cpp:
        fixes to move scan when entry removed: 1. do not check visibility to transaction 2. keep Blocked if moved to another version of same tuple 3. general improvements (remove m_match etc)
      ndb/src/kernel/blocks/dbtux/DbtuxScan.cpp:
        fixes to move scan when entry removed: 1. do not check visibility to transaction 2. keep Blocked if moved to another version of same tuple 3. general improvements (remove m_match etc)
      ndb/src/kernel/blocks/dbtux/DbtuxSearch.cpp:
        fixes to move scan when entry removed: 1. do not check visibility to transaction 2. keep Blocked if moved to another version of same tuple 3. general improvements (remove m_match etc)
      0a3f4063
    • unknown's avatar
      ndb - bug#20446: test case and cleanups (not fix) · e578f61f
      unknown authored
      
      ndb/test/ndbapi/testOIBasic.cpp:
        test -case h for parallel ordered update (bug#20446)
      ndb/test/run-test/daily-basic-tests.txt:
        test -case h for parallel ordered update (bug#20446)
      ndb/src/kernel/blocks/dbtux/Dbtux.hpp:
        remove stupid Data abstraction which is not completely transparent
      ndb/src/kernel/blocks/dbtux/DbtuxCmp.cpp:
        remove stupid Data abstraction which is not completely transparent
      ndb/src/kernel/blocks/dbtux/DbtuxGen.cpp:
        remove stupid Data abstraction which is not completely transparent
      e578f61f
  5. 08 Oct, 2006 3 commits
  6. 06 Oct, 2006 8 commits
  7. 05 Oct, 2006 6 commits
    • unknown's avatar
      Merge mysql.com:/home/svoj/devel/mysql/BUG21381/mysql-4.1-engines · 0eb68fbe
      unknown authored
      into  mysql.com:/home/svoj/devel/mysql/BUG21381/mysql-5.0-engines
      
      
      mysql-test/r/ndb_update.result:
        Auto merged
      mysql-test/t/ndb_update.test:
        Auto merged
      sql/sql_update.cc:
        Manual merge.
      0eb68fbe
    • unknown's avatar
      Merge svojtovich@bk-internal.mysql.com:/home/bk/mysql-4.1-engines · 1e5d2626
      unknown authored
      into  mysql.com:/home/svoj/devel/mysql/BUG21381/mysql-4.1-engines
      
      1e5d2626
    • unknown's avatar
      Merge willster.(none):/home/stewart/Documents/MySQL/5.0/ndb · b04c53f7
      unknown authored
      into  willster.(none):/home/stewart/Documents/MySQL/5.0/bug13987-5.0_bugfixonly
      
      
      ndb/include/mgmapi/mgmapi.h:
        Auto merged
      ndb/src/mgmapi/mgmapi.cpp:
        Auto merged
      b04c53f7
    • unknown's avatar
      BUG#21381 - Engine not notified about multi-table UPDATE IGNORE · 717624ef
      unknown authored
      Though this is not storage engine specific problem, I was able to
      repeat this problem with BDB and NDB engines only. That was the
      reason to add a test case into ndb_update.test. As a result
      different bad things could happen.
      
      BDB has removed duplicate rows which is not expected.
      NDB returns an error.
      
      For multi table update notify storage engine about UPDATE IGNORE
      as it is done in single table UPDATE.
      
      
      mysql-test/r/ndb_update.result:
        A test case for bug#21381.
      mysql-test/t/ndb_update.test:
        A test case for bug#21381.
      sql/sql_update.cc:
        For multi table update notify storage engine about UPDATE IGNORE
        as it is done in single table UPDATE.
      717624ef
    • unknown's avatar
      BUG#13987 Cluster: Loss of data nodes can cause high CPU usage from ndb_mgmd · b0223282
      unknown authored
      smaller patch for 5.0.
      
      complete patch going to 5.1 due to more intrusiveness for 'list sessions' etc
      
      
      ndb/include/mgmapi/mgmapi.h:
        add internal get_fd to use in test
      ndb/include/util/InputStream.hpp:
        - add this weird startover member to SocketInputStream
            - this helps work out if we've read a newline yet and should start inserting
                 into buffer from the start
      ndb/src/common/util/InputStream.cpp:
        remove evil, add more.
        
        keep track internally we've retrieved a newline yet (m_startover)
      ndb/src/common/util/Parser.cpp:
        change way detecting of NoLine
        
        remove some trailing whitespace that was uglying the place up a bit
      ndb/src/common/util/socket_io.cpp:
        Always retrieve data from the OS so that we instantly get EOF on disconnect
        and don't end up spinning looking for a newline.
      ndb/src/mgmapi/mgmapi.cpp:
        add internal ndb_mgm_get_fd() for internal testing
        
        handle 'node status' a bit better
      ndb/test/ndbapi/testMgm.cpp:
        Add test for MgmApiSession disconnection (mgmd at 100%)
        
        not fully automated due to smaller patch for 5.0
        
        will be complete in 5.1
      b0223282
    • unknown's avatar
      Merge mysql.com:/home/gluh/MySQL/Merge/5.0 · d878f239
      unknown authored
      into  mysql.com:/home/gluh/MySQL/Merge/5.0-kt
      
      d878f239
  8. 04 Oct, 2006 1 commit
    • unknown's avatar
      Merge perch.ndb.mysql.com:/home/jonas/src/mysql-5.0-ndb-bj · 3e852dfb
      unknown authored
      into  perch.ndb.mysql.com:/home/jonas/src/mysql-5.0-ndb
      
      
      ndb/include/mgmapi/mgmapi.h:
        Auto merged
      ndb/src/kernel/blocks/dbdih/DbdihMain.cpp:
        Auto merged
      ndb/src/mgmapi/mgmapi.cpp:
        Auto merged
      ndb/src/ndbapi/NdbScanOperation.cpp:
        Auto merged
      ndb/include/ndb_version.h.in:
        merge
      3e852dfb
  9. 03 Oct, 2006 10 commits
    • unknown's avatar
      Merge bk-internal:/home/bk/mysql-5.0 · 32a34343
      unknown authored
      into  neptunus.(none):/home/msvensson/mysql/mysql-5.0-maint
      
      
      sql/item_func.cc:
        Auto merged
      sql/log.cc:
        Auto merged
      sql/set_var.cc:
        Auto merged
      sql/sql_class.h:
        Auto merged
      32a34343
    • unknown's avatar
      Merge mysqldev@production.mysql.com:my/mysql-5.0-release · ad57fc6b
      unknown authored
      into  moonlight.intranet:/home/tomash/src/mysql_ab/mysql-5.0-real-bug21726-fix-2
      
      
      sql/sql_select.cc:
        Auto merged
      ad57fc6b
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-5.0 · 2f8d7794
      unknown authored
      into  moonlight.intranet:/home/tomash/src/mysql_ab/mysql-5.0-real-bug21726-fix
      
      
      sql/sql_select.cc:
        Auto merged
      2f8d7794
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-5.0 · d0c55b6c
      unknown authored
      into  booka.:/home/alik/MySQL/devel/5.0-rt
      
      d0c55b6c
    • unknown's avatar
      Merge moonlight.intranet:/home/tomash/src/mysql_ab/mysql-5.0-real · 825f7a15
      unknown authored
      into  moonlight.intranet:/home/tomash/src/mysql_ab/mysql-5.0-real-bug21726-fix
      
      
      sql/sql_select.cc:
        Auto merged
      825f7a15
    • unknown's avatar
      Merge bk-internal:/home/bk/mysql-5.0-runtime · db7e2059
      unknown authored
      into  neptunus.(none):/home/msvensson/mysql/mysql-5.0-maint
      
      
      BitKeeper/etc/collapsed:
        auto-union
      mysql-test/lib/mtr_process.pl:
        Auto merged
      mysql-test/mysql-test-run.pl:
        Auto merged
      mysql-test/r/ps.result:
        Auto merged
      sql/mysql_priv.h:
        Auto merged
      sql/opt_range.cc:
        Auto merged
      sql/sql_acl.cc:
        Auto merged
      db7e2059
    • unknown's avatar
      Merge bk-internal:/home/bk/mysql-5.0-rpl · 5807a43d
      unknown authored
      into  neptunus.(none):/home/msvensson/mysql/mysql-5.0-maint
      
      
      client/mysql.cc:
        Auto merged
      include/m_ctype.h:
        Auto merged
      mysql-test/r/ctype_utf8.result:
        Auto merged
      mysql-test/r/strict.result:
        Auto merged
      mysql-test/r/warnings.result:
        Auto merged
      mysql-test/t/ctype_utf8.test:
        Auto merged
      sql/field.cc:
        Auto merged
      sql/item_func.cc:
        Auto merged
      5807a43d
    • unknown's avatar
      Added a missing breakpoint. This could cause · c0f02fb3
      unknown authored
      wrong results in order by in some rare cases.
      
      c0f02fb3
    • unknown's avatar
      Fix for the patch for bug#21726: Incorrect result with multiple · 5f502963
      unknown authored
      invocations of LAST_INSERT_ID.
      
      Reding of LAST_INSERT_ID inside stored function wasn't noted by caller,
      and no LAST_INSERT_ID_EVENT was issued for binary log.
      
      The solution is to add THD::last_insert_id_used_bin_log, which is much
      like THD::last_insert_id_used, but is reset only for upper-level
      statements.  This new variable is used to issue LAST_INSERT_ID_EVENT.
      
      
      mysql-test/r/rpl_insert_id.result:
        For bug#21726, add result for statement-based replication of function
        calls.
      mysql-test/t/rpl_insert_id.test:
        For bug#21726, add test case for statement-based replication of function
        calls.
      sql/item_func.cc:
        Set THD::last_insert_id_used_bin_log for issuing of LAST_INSERT_ID_EVENT.
      sql/log.cc:
        Issue LAST_INSERT_ID_EVENT if THD::last_insert_id_used_bin_log is set.
      sql/set_var.cc:
        Set THD::last_insert_id_used_bin_log for issuing of LAST_INSERT_ID_EVENT.
      sql/sql_class.cc:
        Initialize THD::last_insert_id_used_bin_log.
        Fix typo, add whitespace.
      sql/sql_class.h:
        Add THD::last_insert_id_used_bin_log.
      sql/sql_parse.cc:
        Reset THD::last_insert_id_used_bin_log for upper-level statements.
      sql/sql_select.cc:
        Set THD::last_insert_id_used_bin_log for issuing of LAST_INSERT_ID_EVENT.
      5f502963
    • unknown's avatar
      Merge jamppa@bk-internal.mysql.com:/home/bk/mysql-5.0 · 28b2e3c9
      unknown authored
      into  ua141d10.elisa.omakaista.fi:/home/my/bk/mysql-5.0
      
      28b2e3c9