1. 29 Mar, 2006 1 commit
    • unknown's avatar
      Makefile.am: · d800af4b
      unknown authored
        Install "ndb_size.pl" script and template, bug#18421
      
      
      ndb/tools/Makefile.am:
        Install "ndb_size.pl" script and template, bug#18421
      d800af4b
  2. 27 Mar, 2006 4 commits
    • unknown's avatar
      mysql_config.sh: · 7130316d
      unknown authored
        Remove Solaris -xc99=none C option as C++ compiler can't handle it
      
      
      scripts/mysql_config.sh:
        Remove Solaris -xc99=none C option as C++ compiler can't handle it
      7130316d
    • unknown's avatar
      mysql_config.sh: · 53aadad6
      unknown authored
        We are not to control what malloc package others are to use, remove -lmtmalloc from --libs(_r), bug#18322
      
      
      scripts/mysql_config.sh:
        We are not to control what malloc package others are to use, remove -lmtmalloc from --libs(_r), bug#18322
      53aadad6
    • unknown's avatar
      Merge perch.ndb.mysql.com:/home/jonas/src/41-work · da1a6f58
      unknown authored
      into  perch.ndb.mysql.com:/home/jonas/src/mysql-4.1
      
      
      da1a6f58
    • unknown's avatar
      ndb - autotest · 2a00c516
      unknown authored
        Change semantic on DumpStateOrd::CmvmiSetRestartOnErrorInsert()
          Called wo/ args it resets to value in configuration (previously it set to 1 if called wo/ args)
      
      
      ndb/src/kernel/blocks/cmvmi/Cmvmi.cpp:
        Change semantic on DumpStateOrd::CmvmiSetRestartOnErrorInsert
          Called wo/ args it resets to value in configuration (previously it set to 1 if called wo/ args)
      ndb/test/ndbapi/testNodeRestart.cpp:
        Change semantic on DumpStateOrd::CmvmiSetRestartOnErrorInsert
          Called wo/ args it resets to value in configuration (previously it set to 1 if called wo/ args)
      ndb/test/src/NdbBackup.cpp:
        Change semantic on DumpStateOrd::CmvmiSetRestartOnErrorInsert
          Called wo/ args it resets to value in configuration (previously it set to 1 if called wo/ args)
      ndb/test/src/NdbRestarts.cpp:
        Change semantic on DumpStateOrd::CmvmiSetRestartOnErrorInsert
          Called wo/ args it resets to value in configuration (previously it set to 1 if called wo/ args)
      2a00c516
  3. 23 Mar, 2006 5 commits
    • unknown's avatar
      config-win.h: · 5aa14b98
      unknown authored
        If CYBOZU defined, set character sets etc
      
      
      include/config-win.h:
        If CYBOZU defined, set character sets etc
      5aa14b98
    • unknown's avatar
      ndb - · deb4d310
      unknown authored
        remove bug#18385 from autotest as it only works on 2 node clusters
      
      
      ndb/test/run-test/daily-basic-tests.txt:
        remove bug#18385 as it only works on 2 node clusters
      deb4d310
    • unknown's avatar
      ndb - · fde02a80
      unknown authored
        minor fixes in test programs
      
      
      ndb/src/kernel/blocks/ERROR_codes.txt:
        Fix conflicting error codes
      ndb/src/kernel/blocks/dblqh/DblqhMain.cpp:
        Fix conflicting error codes
      ndb/test/ndbapi/testNodeRestart.cpp:
        Fix test program
      fde02a80
    • unknown's avatar
      Merge abarkov@bk-internal.mysql.com:/home/bk/mysql-4.1 · 278b83a8
      unknown authored
      into  mysql.com:/usr/home/bar/mysql-4.1.b15376
      
      
      include/m_ctype.h:
        Auto merged
      strings/ctype-bin.c:
        Auto merged
      strings/ctype-euc_kr.c:
        Auto merged
      strings/ctype-gb2312.c:
        Auto merged
      strings/ctype-ucs2.c:
        Auto merged
      278b83a8
    • unknown's avatar
      Merge abarkov@bk-internal.mysql.com:/home/bk/mysql-4.1 · 49d2b4f0
      unknown authored
      into  mysql.com:/usr/home/bar/mysql-4.1.b17374
      
      
      49d2b4f0
  4. 22 Mar, 2006 5 commits
    • unknown's avatar
      ndb - · 2279f08a
      unknown authored
        Add per partition info (optionally to ndb_desc)
      
      
      ndb/tools/desc.cpp:
        Add per partition info (optionally to ndb_desc)
      2279f08a
    • unknown's avatar
      ndb - autotest · e74b313c
      unknown authored
        Update makefile for removed files
      
      
      ndb/test/run-test/Makefile.am:
        Update makefile for removed files
      e74b313c
    • unknown's avatar
      ndb - · 4fb98ee6
      unknown authored
        some more ndb-autotest updates (previously uncommitted...but in use)
      
      
      ndb/test/run-test/ndb-autotest.sh:
        More autotest updates
      4fb98ee6
    • unknown's avatar
      ndb - · ad911e85
      unknown authored
        minor update to ndb-autotest.sh and config files
      
      
      ndb/test/run-test/conf-daily-devel-ndbmaster.txt:
        Add SendBufferMemory to remove rare overruns
      ndb/test/run-test/conf-dl145a.txt:
        Add SendBufferMemory to remove rare overruns
      ndb/test/run-test/conf-ndbmaster.txt:
        Add SendBufferMemory to remove rare overruns
      ndb/test/run-test/conf-shark.txt:
        Add SendBufferMemory to remove rare overruns
      ndb/test/run-test/ndb-autotest.sh:
        Add support for conf per host
      ad911e85
    • unknown's avatar
      ndb - bug#18414 · 19340f22
      unknown authored
        Fix timeout during ABORT when ZABORT_TIMEOUT_BREAK is outstanding
      
      
      ndb/src/kernel/blocks/ERROR_codes.txt:
        New error code
      ndb/src/kernel/blocks/dbdih/DbdihMain.cpp:
        remove dumping of LCP info during NF
      ndb/src/kernel/blocks/dbtc/DbtcMain.cpp:
        Fix timeout during ABORT when ZABORT_TIMEOUT_BREAK is outstanding
      ndb/test/ndbapi/testNodeRestart.cpp:
        Add testcase for bug18414
      ndb/test/ndbapi/testTimeout.cpp:
        Fix error code checking
      ndb/test/run-test/daily-basic-tests.txt:
        Add testcase for bug18414
      19340f22
  5. 21 Mar, 2006 2 commits
    • unknown's avatar
      ndb - bug#18118 · 058019f6
      unknown authored
        timeslice DUMP(7015)
      
      
      ndb/include/kernel/signaldata/DumpStateOrd.hpp:
        doc...
      ndb/src/kernel/blocks/dbdih/DbdihMain.cpp:
        timeslice DUMP(7015)
      058019f6
    • unknown's avatar
      ndb - bug#18385 · 8ed36cb6
      unknown authored
        Partial system restart, can not try to start with higher GCI that own
        even if knowing about a higher number
      
      
      ndb/include/kernel/signaldata/DumpStateOrd.hpp:
        Add new dump for setting time between gcp
      ndb/include/kernel/signaldata/StartPerm.hpp:
        Move error codes into StartPerm + Add new error code
      ndb/src/kernel/blocks/ERROR_codes.txt:
        Add new error insert
      ndb/src/kernel/blocks/dbdih/Dbdih.hpp:
        Move error codes into StartPerm + Add new error code
      ndb/src/kernel/blocks/dbdih/DbdihMain.cpp:
        Fix so that we don't try to restart to a too new GCI when doing a partial start
        Add new error code when this node later tries to join
      ndb/test/include/NdbRestarter.hpp:
        Add new method for selecting random node
      ndb/test/ndbapi/testSystemRestart.cpp:
        Add new testcase for bug#18385
      ndb/test/run-test/daily-basic-tests.txt:
        Run test in daily-basic
      ndb/test/src/NdbRestarter.cpp:
        Add new method for selecting random node
      8ed36cb6
  6. 20 Mar, 2006 7 commits
    • unknown's avatar
      Merge joreland@bk-internal.mysql.com:/home/bk/mysql-4.1-wl2610 · 591aedaa
      unknown authored
      into  perch.ndb.mysql.com:/home/jonas/src/41-work
      
      
      591aedaa
    • unknown's avatar
      ndb - bug#18352 · ad6dcfb1
      unknown authored
        remove debug prinout
      
      
      ad6dcfb1
    • unknown's avatar
      ndb - wl2610, bug#18352 · d230d0e1
      unknown authored
        Remove useless and tricky state fiddleing in TC
          to syncronize NF_CompleteRep as code is already present in DIH aswell
        Keep broadcast of TAKEOVER_TCCONF for online upgrade
      
      
      ndb/src/kernel/blocks/dblqh/DblqhMain.cpp:
        Add clever dump for showing active operations
      ndb/src/kernel/blocks/dbtc/Dbtc.hpp:
        Remove useless and tricky state fiddleing in TC
          to syncronize NF_CompleteRep as code is already present in DIH aswell
          Keep broadcast of TAKEOVER_TCCONF for online upgrade
      ndb/src/kernel/blocks/dbtc/DbtcMain.cpp:
        Remove useless and tricky state fiddleing in TC
          to syncronize NF_CompleteRep as code is already present in DIH aswell
          Keep broadcast of TAKEOVER_TCCONF for online upgrade
      d230d0e1
    • unknown's avatar
      ndb - bug#18352 · 51a093f1
      unknown authored
        Use variable waitfor_response_timeout (depending on TransactionDeadLockTimeout)
        When getting 4012, set NeedAbort and ReleaseOnClose
      
      
      ndb/src/ndbapi/NdbConnection.cpp:
        Use variable for WAITFOR_RESPONSE_TIMEOUT
      ndb/src/ndbapi/Ndbif.cpp:
        Use variable timeout for waitfor, 
          when receiving 4012, set NeedAbort and ReleaseOnClose
      ndb/src/ndbapi/TransporterFacade.cpp:
        Init wait_for_response_timoue as max TRANSACTION_DEADLOCK_TIMEOUT
      ndb/src/ndbapi/TransporterFacade.hpp:
        Init wait_for_response_timoue as max TRANSACTION_DEADLOCK_TIMEOUT
      ndb/test/ndbapi/testTimeout.cpp:
        Add testcase for 4012
      ndb/test/run-test/daily-basic-tests.txt:
        Add testcase for 4012
      51a093f1
    • unknown's avatar
      Bug#17374: select ... like 'A%' operator fails to find value on columuns with key · 83bc8c4e
      unknown authored
      Fixed that LIKE worked case insensitively for latin2_czech_cs,
      which was wrong for a case sensitive collation.
      
      
      include/m_ctype.h:
        Making my_wildcmp_bin public instead of static
      strings/ctype-bin.c:
        Making my_wildcmp_bin public instead of static
      strings/ctype-czech.c:
        Use my_wildcmp_bin instead of case insensitive my_wildcmp_8bit
      mysql-test/include/have_latin2_ch.inc:
        New BitKeeper file ``mysql-test/include/have_latin2_ch.inc''
      mysql-test/r/ctype_latin2_ch.result:
        New BitKeeper file ``mysql-test/r/ctype_latin2_ch.result''
      mysql-test/r/have_latin2_ch.require:
        New BitKeeper file ``mysql-test/r/have_latin2_ch.require''
      mysql-test/t/ctype_latin2_ch.test:
        New BitKeeper file ``mysql-test/t/ctype_latin2_ch.test''
      83bc8c4e
    • unknown's avatar
      Bug#18004 Connecting crashes server when default charset is UCS2 · 7913527e
      unknown authored
      table.cc:
        Fixing to use system_charset_info instead of default_charset_info.
        Crash happened because the "ctype" array is empty in UCS2,
        and thus cannot be used with my_isspace().
        The reason why UCS2 appeared in this context was because of
        of default_charset_info variable incorrectly substituted to my_isspace().
        As functions check_db_name(), check_table_name() and check_column_name()
        always get values in utf8, system_charset_info must be used instead.
      ctype_ucs2_def.test, ctype_ucs2_def-master.opt, ctype_ucs2_def.result:
        new file
      
      
      sql/table.cc:
        Bug#18004 Connecting crashes server when default charset is UCS2
        Use of default_charset_info was wrong.
        Functions check_db_name, check_table_name and check_column_name
        get values of system_charset_info character set (utf8).
      7913527e
    • unknown's avatar
      ndb - wl2610 · 37230a2a
      unknown authored
        Activly abort transactions (that's affected) during NF
        This removes a lot of bugs that can occur otherwise is using
          high value for TransactionDeadLockTimout
      
      
      ndb/include/kernel/signaldata/TcContinueB.hpp:
        New continueb for active transaction abort on nf
      ndb/src/kernel/blocks/dbtc/Dbtc.hpp:
        Add bitmask of participating nodes to transaction record
        Add bitmask of node fail steps, so that NF_CompleteRep is not sent until all steps has completed
      ndb/src/kernel/blocks/dbtc/DbtcMain.cpp:
        Active transaction baortion
      37230a2a
  7. 17 Mar, 2006 3 commits
    • unknown's avatar
      ndb - bug#16772 · 3bfaf333
      unknown authored
        dont't allow node to join cluster until all nodes has completed failure handling
      
      
      ndb/src/kernel/blocks/qmgr/QmgrMain.cpp:
        When getting CM_ADD for node that I haven't completed failure handling for do _not_ just override.
        But instead set state...and send CM_ACK_ADD on execCONNECT_REP (much...later)
      ndb/test/ndbapi/testNodeRestart.cpp:
        testcase for bug#16772
      ndb/test/run-test/daily-basic-tests.txt:
        Run test in basic suite
      3bfaf333
    • unknown's avatar
      BUG#18283 When InnoDB returns error 'lock table full', MySQL can write · 367442f7
      unknown authored
      to binlog too much.
      
      When InnoDB has to rollback a transaction because the lock table has
      filled up, it also needs to inform the upper layer that the transaction
      was rolled back so that the cached transaction is not written to the
      binary log.
      
      
      sql/ha_innodb.cc:
        When InnoDB rolls back a transaction in HA_ERR_LOCK_TABLE_FULL, it
        needs to inform the upper layer to rollback the transaction also.
      367442f7
    • unknown's avatar
      ndb - bug#18298 · 6ac6b08c
      unknown authored
        8 repeated nr with table wo/ logging cause crash
        Dont create crashed replica for temporary tables
      
      
      ndb/src/kernel/blocks/dbdih/Dbdih.hpp:
        Dont create crashed replica for temporary tables
      ndb/src/kernel/blocks/dbdih/DbdihMain.cpp:
        Dont create crashed replica for temporary tables
      6ac6b08c
  8. 16 Mar, 2006 1 commit
  9. 13 Mar, 2006 3 commits
  10. 10 Mar, 2006 3 commits
    • unknown's avatar
      Merge mysql.com:/home/mydev/mysql-4.1 · 00852307
      unknown authored
      into  mysql.com:/home/mydev/mysql-4.1-bug14980
      
      
      00852307
    • unknown's avatar
      Bug#14980 - COUNT(*) incorrect on MyISAM table with certain INDEX · fbe17c2a
      unknown authored
      For "count(*) while index_column = value" an index read
      is done. It consists of an index scan and retrieval of
      each key.
      
      For efficiency reasons the index scan stores the key in
      the special buffer 'lastkey2' once only. At the first 
      iteration it notes this fact with the flag 
      HA_STATE_RNEXT_SAME in 'info->update'.
      
      For efficiency reasons, the key retrieval for blobs
      does not allocate a new buffer, but uses 'lastkey2'...
      
      Now I clear the HA_STATE_RNEXT_SAME flag whenever the 
      buffer has been polluted. In this case, the index scan
      copies the key value again (and sets the flag again).
      
      
      include/my_base.h:
        Bug#14980 - COUNT(*) incorrect on MyISAM table with certain INDEX
        Changed the comment for HA_STATE_RNEXT_SAME as a warning
        for future uses.
      myisam/mi_delete.c:
        Bug#14980 - COUNT(*) incorrect on MyISAM table with certain INDEX
        Removing the flag HA_STATE_RNEXT_SAME from info->update
        if info->lastkey2 was reused for another purpose than
        index scanning.
      myisam/mi_key.c:
        Bug#14980 - COUNT(*) incorrect on MyISAM table with certain INDEX
        Removing the flag HA_STATE_RNEXT_SAME from info->update
        if info->lastkey2 was reused for another purpose than
        index scanning.
      myisam/mi_rnext_same.c:
        Bug#14980 - COUNT(*) incorrect on MyISAM table with certain INDEX
        Removed trailing space and fixed a comment.
      myisam/mi_unique.c:
        Bug#14980 - COUNT(*) incorrect on MyISAM table with certain INDEX
        Removing the flag HA_STATE_RNEXT_SAME from info->update
        if info->lastkey2 was reused for another purpose than
        index scanning.
      myisam/mi_update.c:
        Bug#14980 - COUNT(*) incorrect on MyISAM table with certain INDEX
        Removing the flag HA_STATE_RNEXT_SAME from info->update
        if info->lastkey2 was reused for another purpose than
        index scanning.
      myisam/mi_write.c:
        Bug#14980 - COUNT(*) incorrect on MyISAM table with certain INDEX
        Removing the flag HA_STATE_RNEXT_SAME from info->update
        if info->lastkey2 was reused for another purpose than
        index scanning.
      mysql-test/r/myisam.result:
        Bug#14980 - COUNT(*) incorrect on MyISAM table with certain INDEX
        Added test result.
      mysql-test/t/myisam.test:
        Bug#14980 - COUNT(*) incorrect on MyISAM table with certain INDEX
        Added test.
      fbe17c2a
    • unknown's avatar
      Merge mysql.com:/M41/comment-4.1 into mysql.com:/M41/mysql-4.1 · bf8fdd38
      unknown authored
      
      scripts/make_binary_distribution.sh:
        Auto merged
      bf8fdd38
  11. 09 Mar, 2006 1 commit
  12. 08 Mar, 2006 4 commits
    • unknown's avatar
      mysql-test-run.pl, mtr_cases.pl · a3208c0f
      unknown authored
        - Back porting of some changes in later releases
        - Corrected valgrind support
        - Removed work around for TZ needed in VisualStudio 6
        - Don't restart master to add special settings from "<testcase>-master.opt",
          if same settngs as running master, feature request in bug#12433
        - With --reorder, keep tests with same *-master.opt content together,
          to save even more master restarts
      
      
      mysql-test/lib/mtr_misc.pl:
        Added functions to compare lists of options
      mysql-test/lib/mtr_cases.pl:
        Removed special code for Windows as in VC6 we unset
        TZ to avoid library bug
      mysql-test/mysql-test-run.pl:
        Handle pseudo option --timezone=<spec> that sets TZ
      a3208c0f
    • unknown's avatar
      Merge neptunus.(none):/home/msvensson/mysql/mysql-4.1 · 3c83b827
      unknown authored
      into  neptunus.(none):/home/msvensson/mysql/bug17137/my41-bug17137
      
      
      3c83b827
    • unknown's avatar
      Bug#17137 Running "truncate table" on temporary table leaves the table open on a slave · f491db21
      unknown authored
       - Decrease "slave_open_temp_tables" during reopen of truncated table.
       - Add test "rpl_trunc_temp" 
      
      
      sql/sql_delete.cc:
        Decrease "slave_open_temp_tables" after temporary table has been closed, it will be
        increased again when the temp table is reopened after it's been truncated.
      mysql-test/r/rpl_trunc_temp.result:
        New BitKeeper file ``mysql-test/r/rpl_trunc_temp.result''
      mysql-test/t/rpl_trunc_temp.test:
        New BitKeeper file ``mysql-test/t/rpl_trunc_temp.test''
      f491db21
    • unknown's avatar
      mysql-test-run.pl: · cf11f78a
      unknown authored
        Allow space in base directory path, bug#15736
      
      
      mysql-test/mysql-test-run.pl:
        Allow space in base directory path, bug#15736
      cf11f78a
  13. 06 Mar, 2006 1 commit