1. 04 Oct, 2004 20 commits
    • unknown's avatar
      Merge joreland@bk-internal.mysql.com:/home/bk/mysql-4.1-ndb · f9900675
      unknown authored
      into mysql.com:/home/jonas/src/mysql-4.1-ndb
      
      
      f9900675
    • unknown's avatar
      corrected merge error rgarding NDB_CONNECTSTRING · 0afb328e
      unknown authored
      0afb328e
    • unknown's avatar
      added debug printouts in ndbapi · 1c0213eb
      unknown authored
      1c0213eb
    • unknown's avatar
      Merge poseidon.ndb.mysql.com:/home/tomas/mysql-4.1 · 8f9e1eb5
      unknown authored
      into poseidon.ndb.mysql.com:/home/tomas/mysql-4.1-ndb-merge
      
      
      sql/ha_ndbcluster.cc:
        Auto merged
      8f9e1eb5
    • unknown's avatar
      typo · 4d288838
      unknown authored
      4d288838
    • unknown's avatar
      Merge · 035d92f4
      unknown authored
      
      sql/sql_show.cc:
        Auto merged
      sql/ha_ndbcluster.cc:
        SCCS merged
      035d92f4
    • unknown's avatar
      Merge tulin@bk-internal.mysql.com:/home/bk/mysql-4.1 · ab600d16
      unknown authored
      into poseidon.ndb.mysql.com:/home/tomas/mysql-4.1
      
      
      ab600d16
    • unknown's avatar
      bug #5872, transactions should only be restarted with transaction.on flag off... · 5e458aac
      unknown authored
      bug #5872, transactions should only be restarted with transaction.on flag off if execute_commit has been performed
      added testcase for this
      use force send for all executes
      
      
      mysql-test/r/ndb_blob.result:
        added testcase for alter table of blob from ndb to myisam
      mysql-test/t/ndb_blob.test:
        added testcase for alter table of blob from ndb to myisam
      sql/ha_ndbcluster.cc:
        bug #5872, transactions should only be restarted with transaction.on flag off if execute_commit has been performed
        use force send for all executes
      5e458aac
    • unknown's avatar
    • unknown's avatar
      new printer · 900182d5
      unknown authored
      900182d5
    • unknown's avatar
      Merge joreland@bk-internal.mysql.com:/home/bk/mysql-4.1-ndb · d7885b5e
      unknown authored
      into mysql.com:/home/jonas/src/mysql-4.1-ndb
      
      
      ndb/include/ndbapi/NdbOperation.hpp:
        Auto merged
      ndb/include/ndbapi/NdbScanOperation.hpp:
        Auto merged
      ndb/src/ndbapi/NdbOperationDefine.cpp:
        Auto merged
      d7885b5e
    • unknown's avatar
      NdbIndexScanOperation::reset_bounds() · 499ebf4d
      unknown authored
      - Send BOUNDS as KEYINFO
      - At restart, only reset KEYINFO
      
      --
      Fix resource shortage at KEYINFO in Dbtc and Dblqh w.r.t scan
      --
      
      
      ndb/include/kernel/signaldata/AttrInfo.hpp:
        Let NdbScanOperation access AttrInfo
      ndb/include/kernel/signaldata/KeyInfo.hpp:
        Let NdbScanOperation access AttrInfo
      ndb/include/kernel/signaldata/ScanFrag.hpp:
        Send KeyLen in ScanFragReq (for range scans)
      ndb/include/kernel/signaldata/ScanTab.hpp:
        Send KeyLen in ScanTabReq (for range scans)
      ndb/include/ndbapi/NdbConnection.hpp:
        Function for adding op to list
      ndb/include/ndbapi/NdbIndexScanOperation.hpp:
        new method for saving BOUNDS
      ndb/include/ndbapi/NdbOperation.hpp:
        Remove bounds stuff from NdbOperation and put it into NdbScanOperation
      ndb/include/ndbapi/NdbScanOperation.hpp:
        reset bounds
      ndb/src/common/debugger/signaldata/Makefile.am:
        New signal data printer for ScanFrag
      ndb/src/common/debugger/signaldata/ScanTab.cpp:
        Fix printout
      ndb/src/common/debugger/signaldata/SignalDataPrint.cpp:
        New signal data printer for ScanFrag
      ndb/src/kernel/blocks/backup/Backup.cpp:
        Updated ScanFragReq
      ndb/src/kernel/blocks/dblqh/Dblqh.hpp:
        Use same sendKeyInfo for both acckeyreq and tux_bounds
      ndb/src/kernel/blocks/dblqh/DblqhMain.cpp:
        Let range scan use KEYinfo for bounds instead of attrinfo
      ndb/src/kernel/blocks/dbtc/Dbtc.hpp:
        Let range scan use KEYinfo for bounds instead of attrinfo
      ndb/src/kernel/blocks/dbtc/DbtcMain.cpp:
        Handle keyinfo in range scan
      ndb/src/kernel/blocks/dbtux/DbtuxScan.cpp:
        Skip useless 5 words in beginning of TuxBounds
      ndb/src/kernel/blocks/suma/Suma.cpp:
        Fix SCAN_FRAGREQ
      ndb/src/ndbapi/NdbConnection.cpp:
        reset bounds
      ndb/src/ndbapi/NdbOperation.cpp:
        Remove bounds
      ndb/src/ndbapi/NdbOperationDefine.cpp:
        Remove bounds stuff
      ndb/src/ndbapi/NdbOperationInt.cpp:
        Remove bounds stuff
      ndb/src/ndbapi/NdbScanOperation.cpp:
        Send BOUNDS in KEYINFO instead of ATTRINFO
      499ebf4d
    • unknown's avatar
      A couple of typos fixed. · 48bf8259
      unknown authored
      
      sql/item.cc:
        A typo fixed in a comment, which is probably not valid any more
      sql/sql_class.h:
        no such class Ttem_subselect.
      48bf8259
    • unknown's avatar
      Merge tulin@bk-internal.mysql.com:/home/bk/mysql-4.1-ndb · 599a7842
      unknown authored
      into poseidon.ndb.mysql.com:/home/tomas/mysql-4.1-ndb-merge
      
      
      ndb/src/mgmclient/CommandInterpreter.cpp:
        Auto merged
      599a7842
    • unknown's avatar
      addes auto pointer class for using with my_ functions · 77fd668e
      unknown authored
      switch to using my_ for heap allocations
      
      
      ndb/include/util/NdbAutoPtr.hpp:
        addes auto pointer class for using with my_ functions
      ndb/src/mgmclient/CommandInterpreter.cpp:
        switch to using my_ for heap allocations
      77fd668e
    • unknown's avatar
      sql_show.cc: · b3b26c05
      unknown authored
        ctype_recode does not hang anymore. Small fix after Marko's change.
      
      
      sql/sql_show.cc:
        ctype_recode does not hang anymore. Small fix after Marko's change.
      b3b26c05
    • unknown's avatar
      Merge · 15d474b2
      unknown authored
      
      mysql-test/mysql-test-run.sh:
        SCCS merged
      15d474b2
    • unknown's avatar
      use new function stop_ndbcluster · 9752b315
      unknown authored
      9752b315
    • unknown's avatar
      Merge · de3a7d11
      unknown authored
      
      mysql-test/mysql-test-run.sh:
        SCCS merged
      de3a7d11
    • unknown's avatar
      2ed312ce
  2. 03 Oct, 2004 6 commits
    • unknown's avatar
      make sure old mysqld's are shutdown · 606d13eb
      unknown authored
      606d13eb
    • unknown's avatar
      Merge tulin@bk-internal.mysql.com:/home/bk/mysql-4.1 · e2ca20ca
      unknown authored
      into poseidon.ndb.mysql.com:/home/tomas/mysql-4.1-ndb
      
      
      e2ca20ca
    • unknown's avatar
      merge error · 8ab3ebe2
      unknown authored
      8ab3ebe2
    • unknown's avatar
      merge error · 1f16f2db
      unknown authored
      1f16f2db
    • unknown's avatar
      Merge · ec81fca2
      unknown authored
      
      BitKeeper/etc/logging_ok:
        auto-union
      sql/ha_ndbcluster.h:
        Auto merged
      sql/handler.cc:
        Auto merged
      sql/handler.h:
        Auto merged
      sql/mysql_priv.h:
        Auto merged
      sql/sql_base.cc:
        Auto merged
      sql/sql_show.cc:
        Auto merged
      sql/sql_table.cc:
        Auto merged
      mysql-test/mysql-test-run.sh:
        SCCS merged
      sql/ha_ndbcluster.cc:
        SCCS merged
      ec81fca2
    • unknown's avatar
      mysqldump.c: · 4defd5d5
      unknown authored
        typos in comment.
      
      
      client/mysqldump.c:
        typos in comment.
      4defd5d5
  3. 01 Oct, 2004 14 commits
    • unknown's avatar
      Merge tulin@bk-internal.mysql.com:/home/bk/mysql-4.1 · 52d5c01d
      unknown authored
      into poseidon.ndb.mysql.com:/home/tomas/mysql-4.1
      
      
      52d5c01d
    • unknown's avatar
      Merge tulin@bk-internal.mysql.com:/home/bk/mysql-4.1 · 4b6fbbc7
      unknown authored
      into poseidon.ndb.mysql.com:/home/tomas/mysql-4.1
      
      
      sql/ha_ndbcluster.cc:
        Auto merged
      4b6fbbc7
    • unknown's avatar
      Merge dellis@bk-internal.mysql.com:/home/bk/mysql-4.1 · 61ef4d29
      unknown authored
      into goetia.(none):/home/dellis/mysqlab/bk/mysql-4.1
      
      
      61ef4d29
    • unknown's avatar
      grant.test, grant.result, sql_acl.cc: · f0440c27
      unknown authored
        BUG #5831 Changed mysql_revoke_all() to successfully delete all privileges for a user in one pass.
      
      
      sql/sql_acl.cc:
        BUG #5831 Changed mysql_revoke_all() to successfully delete all privileges for a user in one pass.
      mysql-test/r/grant.result:
        BUG #5831 Changed mysql_revoke_all() to successfully delete all privileges for a user in one pass.
      mysql-test/t/grant.test:
        BUG #5831 Changed mysql_revoke_all() to successfully delete all privileges for a user in one pass.
      f0440c27
    • unknown's avatar
      ha_innodb.cc: · 3fd4bb02
      unknown authored
        A partial bugfix to a multibyte charset / column prefix index bug: my_charpos() does not handle right some cases, we try to mask the bug for ASCII chars < 128 in the UTF-8 charset
      
      
      sql/ha_innodb.cc:
        A partial bugfix to a multibyte charset / column prefix index bug: my_charpos() does not handle right some cases, we try to mask the bug for ASCII chars < 128 in the UTF-8 charset
      3fd4bb02
    • unknown's avatar
      fsp0fsp.h: · 32c36a20
      unknown authored
        Remove accidentally pushed fsp debug code
      
      
      innobase/include/fsp0fsp.h:
        Remove accidentally pushed fsp debug code
      32c36a20
    • unknown's avatar
      Merge heikki@build.mysql.com:/home/bk/mysql-4.1 · 2a4f2f96
      unknown authored
      into hundin.mysql.fi:/home/heikki/mysql-4.1
      
      
      sql/ha_innodb.cc:
        Auto merged
      2a4f2f96
    • unknown's avatar
      Many files: · d822c6f7
      unknown authored
        Fix bug introduced by the prefix key + multibyte charsets patch today
      
      
      sql/ha_innodb.cc:
        Fix bug introduced by the prefix key + multibyte charsets patch today
      innobase/include/data0type.h:
        Fix bug introduced by the prefix key + multibyte charsets patch today
      innobase/include/fsp0fsp.h:
        Fix bug introduced by the prefix key + multibyte charsets patch today
      innobase/data/data0type.c:
        Fix bug introduced by the prefix key + multibyte charsets patch today
      innobase/row/row0ins.c:
        Fix bug introduced by the prefix key + multibyte charsets patch today
      innobase/row/row0row.c:
        Fix bug introduced by the prefix key + multibyte charsets patch today
      innobase/row/row0sel.c:
        Fix bug introduced by the prefix key + multibyte charsets patch today
      innobase/row/row0upd.c:
        Fix bug introduced by the prefix key + multibyte charsets patch today
      d822c6f7
    • unknown's avatar
      Merge mysql.com:/home/bk/mysql-4.1 · 6da9623b
      unknown authored
      into mysql.com:/users/kboortz/daily/work/mysql-4.1-vax
      
      
      6da9623b
    • unknown's avatar
      client_test.test: · 52760464
      unknown authored
        Temporarely disabled client_test test
        Use MASTER_MYSOCK to get socket path
      
      
      mysql-test/t/client_test.test:
        Temporarely disabled client_test test
      52760464
    • unknown's avatar
      Merge tulin@bk-internal.mysql.com:/home/bk/mysql-4.1 · 8a8d4163
      unknown authored
      into poseidon.ndb.mysql.com:/home/tomas/mysql-4.1
      
      
      sql/ha_ndbcluster.cc:
        Auto merged
      sql/ha_ndbcluster.h:
        Auto merged
      8a8d4163
    • unknown's avatar
      Fix for bug#5782: Don't choose the plan that accesses table with index_prev if... · ed80a84f
      unknown authored
      Fix for bug#5782: Don't choose the plan that accesses table with index_prev if the handler doesn't support it (see also ChangeSet@1.2039)
      
      
      
      ed80a84f
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-4.1 · 29a62c11
      unknown authored
      into mysql.com:/home/dlenev/src/mysql-4.1-ryan
      
      
      sql/field.cc:
        Auto merged
      sql/field.h:
        Auto merged
      sql/ha_innodb.cc:
        Auto merged
      sql/ha_ndbcluster.cc:
        Auto merged
      sql/sql_base.cc:
        Auto merged
      sql/sql_show.cc:
        Auto merged
      sql/sql_table.cc:
        Auto merged
      29a62c11
    • unknown's avatar
      Support for TIMESTAMP columns holding NULL values. Unlike all other · 7b511544
      unknown authored
      column types TIMESTAMP is NOT NULL by default, so in order to have 
      TIMESTAMP column holding NULL valaues you have to specify NULL as
      one of its attributes (this needed for backward compatibility).
      
      Main changes:
      Replaced TABLE::timestamp_default_now/on_update_now members with
      TABLE::timestamp_auto_set_type flag which is used everywhere
      for determining if we should auto-set value of TIMESTAMP field 
      during this operation or not. We are also use Field_timestamp::set_time()
      instead of handler::update_timestamp() in handlers.
      
      
      mysql-test/r/type_timestamp.result:
        Added test for TIMESTAMP columns which are able to store NULL values.
      mysql-test/t/type_timestamp.test:
        Added test for TIMESTAMP columns which are able to store NULL values.
      sql/field.cc:
        Added support for TIMESTAMP fields holding NULL values.
        We don't need Field_timestamp::set_timestamp_offsets() anymore.
        Instead we need Field_timestamp::get_auto_set_type() function
        which will convert TIMESTAMP auto-set type stored in Field in 
        unireg_check to value from timestamp_auto_set_type_enum.
        (We can't replace this function with additional Field_timestamp member
        and some code in constructor because then we will have troubles
        with Field::new_field() method).
        We should also set field to not null in Field_timestamp::set_time() now.
      sql/field.h:
        Added support for TIMESTAMP fields holding NULL values.
        We don't need Field_timestamp::set_timestamp_offsets() anymore.
        Instead we need Field_timestamp::get_auto_set_type() function,
        which will convert TIMESTAMP auto-set type stored in Field in 
        unireg_check to value from timestamp_auto_set_type_enum.
        We also have to support NULL values in Field_timestamp::get_timestamp()
        function.
      sql/field_conv.cc:
        Added comment clarifying behavior in case of TIMESTAMP fields which are
        able to store NULL values.
      sql/ha_berkeley.cc:
        Now we use TABLE::timestamp_field_type instead of 
        TABLE::timestamp_default_now/on_update_now for determining 
        if we should auto-set value of TIMESTAMP field during this operation.
        We are also use Field_timestamp::set_time() instead of 
        handler::update_timestamp().
      sql/ha_heap.cc:
        Now we use TABLE::timestamp_field_type instead of 
        TABLE::timestamp_default_now/on_update_now for determining 
        if we should auto-set value of TIMESTAMP field during this operation.
        We are also use Field_timestamp::set_time() instead of 
        handler::update_timestamp().
      sql/ha_innodb.cc:
        Now we use TABLE::timestamp_field_type instead of 
        TABLE::timestamp_default_now/on_update_now for determining 
        if we should auto-set value of TIMESTAMP field during this operation.
        We are also use Field_timestamp::set_time() instead of 
        handler::update_timestamp().
      sql/ha_isam.cc:
        Now we use TABLE::timestamp_field_type instead of 
        TABLE::timestamp_default_now/on_update_now for determining 
        if we should auto-set value of TIMESTAMP field during this operation.
        We are also use Field_timestamp::set_time() instead of 
        handler::update_timestamp().
      sql/ha_isammrg.cc:
        Now we use TABLE::timestamp_field_type instead of 
        TABLE::timestamp_default_now/on_update_now for determining 
        if we should auto-set value of TIMESTAMP field during this operation.
        We are also use Field_timestamp::set_time() instead of 
        handler::update_timestamp().
      sql/ha_myisam.cc:
        Now we use TABLE::timestamp_field_type instead of 
        TABLE::timestamp_default_now/on_update_now for determining 
        if we should auto-set value of TIMESTAMP field during this operation.
        We are also use Field_timestamp::set_time() instead of 
        handler::update_timestamp().
      sql/ha_myisammrg.cc:
        Now we use TABLE::timestamp_field_type instead of 
        TABLE::timestamp_default_now/on_update_now for determining 
        if we should auto-set value of TIMESTAMP field during this operation.
        We are also use Field_timestamp::set_time() instead of 
        handler::update_timestamp().
      sql/ha_ndbcluster.cc:
        Now we use TABLE::timestamp_field_type instead of 
        TABLE::timestamp_default_now/on_update_now for determining 
        if we should auto-set value of TIMESTAMP field during this operation.
        We are also use Field_timestamp::set_time() instead of 
        handler::update_timestamp().
      sql/handler.cc:
        handler::update_timestamp() is no longer needed since now we use
        Field_timestamp::set_time() instead.
        (we can't use handler::update_timestamp() anyway since field position
        only is not enough for TIMESTAMP fields which are able to store NULLs)
      sql/handler.h:
        handler::update_timestamp() is no longer needed since now we use
        Field_timestamp::set_time() instead.
      sql/item_timefunc.cc:
        Since now TIMESTAMP fields can hold NULL values we should take this into
        account.
      sql/sql_base.cc:
        Now we use TABLE::timestamp_field_type instead of 
        TABLE::timestamp_default_now/on_update_now. 
        (Here we use Field_timestamp::get_auto_set_type() to setup its value
         before further statement execution).
      sql/sql_insert.cc:
        Now we use TABLE::timestamp_field_type instead of 
        TABLE::timestamp_default_now/on_update_now.
      sql/sql_load.cc:
        Now we use TABLE::timestamp_field_type instead of 
        TABLE::timestamp_default_now/on_update_now.
      sql/sql_parse.cc:
        Added support for TIMESTAMP fields holding NULL values.
        We should distinguish NULL default values and non-specified default
        values for such fields (because latter could mean DEFAULT NOW()
        ON UPDATE NOW() in some cases).
      sql/sql_show.cc:
        Added support for TIMESTAMP fields holding NULL values.
        Unlike all other fields these are NOT NULL by default
        so we have to specify NULL attribute explicitly for them.
      sql/sql_table.cc:
        Now we use TABLE::timestamp_field_type instead of 
        TABLE::timestamp_default_now/on_update_now.
      sql/sql_update.cc:
        Now we use TABLE::timestamp_field_type instead of 
        TABLE::timestamp_default_now/on_update_now.
      sql/sql_yacc.yy:
        Added support for TIMESTAMP fields holding NULL values.
        Unlike all other fields these are NOT NULL by default
        (so we have to set NOT_NULL_FLAG properly for them).
      sql/table.h:
        Added timestamp_auto_set_type enum which values are used for indicating
        during which operations we should automatically set TIMESTAPM field
        value to current timestamp.
        TABLE: Replaced timestamp_default_now/on_update_now members with
        timestamp_auto_set_type flag (Now when TIMESTAMP field are able to 
        store NULL values, single position of field in record is not enough 
        for updating this field anyway).
      7b511544