1. 04 May, 2005 1 commit
  2. 02 May, 2005 1 commit
    • unknown's avatar
      WL 1682: After review fixes + update bitvector class + bitvector test · 7689fcfb
      unknown authored
      cases + bug fixes
      
      
      mysys/my_bitmap.c:
        Removed debug comments
      sql/bitvector.h:
        Changed a number of things
        Added new methods, new handling of end bits, faster search
        for bits using word by word search..
      sql/field.h:
        Added comment
      sql/ha_federated.cc:
        Fixes
      sql/ha_innodb.cc:
        Fixes
      sql/ha_innodb.h:
        InnoDB still needs the extra calls not needed by anybody else
      sql/ha_ndbcluster.cc:
        Removed some timestamp set bit stuff
        Always write all fields in write_row
      sql/handler.cc:
        No inline methods in bit interface (caused strange bugs)
        initialise method
      sql/handler.h:
        Changed to bitvector from bitmap
        Removed init variable
      sql/opt_range.cc:
        Removed all extra HA_EXTRA_RETRIEVE_*
      sql/sql_acl.cc:
        Removed all extra HA_EXTRA_RETRIEVE_*
      sql/sql_base.cc:
        Set bits previously missed
      sql/sql_insert.cc:
        Removed all extra HA_EXTRA_RETRIEVE_*
        Timestamp handling
      sql/sql_load.cc:
        Updated comments plus set all bits in bitvector
      sql/sql_select.cc:
        Removed ifdef since NDB and Federated needs the same calls
        Added comment or rather changed comment.
      sql/sql_table.cc:
        Removed HA_EXTRA_RETRIEVE_* calls
        Updated comments
      sql/sql_udf.cc:
        Removed HA_EXTRA_RETRIEVE_* calls
        Updated comments
      sql/sql_update.cc:
        Removed HA_EXTRA_RETRIEVE_* calls
        Timstamp updating
      7689fcfb
  3. 28 Apr, 2005 1 commit
    • unknown's avatar
      WL 1682: Use bitvector instead of query_id to tell handler which fields · 5d3af2b0
      unknown authored
      to read and write
      Changed Server code, added new interface to handler and changed the
      NDB handler, InnoDB handler and Federated handler that previously used
      query_id
      Bug#10202 fix (one-liner fix for memory leak)
      
      
      mysys/my_bitmap.c:
        Debug code
      sql/field.cc:
        Initialise fieldnr to 0 if not set anywhere else
      sql/field.h:
        Introduce a fieldnr (first field = 1 and last = table->s->fields
        in field object to be able to quickly set appropriate bit in
        read/write set
      sql/ha_federated.cc:
        Changed federated handler to use write set instead of query_id
      sql/ha_innodb.cc:
        Changed InnoDB handler to use write set instead of query_id
      sql/ha_ndbcluster.cc:
        Changed NDB handler to use write set instead of query_id
      sql/ha_ndbcluster.h:
        Changed NDB handler to use write set instead of query_id
      sql/handler.cc:
        Allocate read_set and write_set either in get_new_handler or in
        special routine
        Routines used at destruction of handler object
        plus routine to set all primary key fields in read_set
      sql/handler.h:
        bool to keep track if read/write set allocated or not in handler
        Deallocate read/write set at delete of handler object
        New bitmap's for read/write set
      sql/item.cc:
        Set bits in read or write set (set_query_id = 2 => write_set
        set_query_id = 1 => read_set
      sql/lock.cc:
        Clear bit set when starting a new statement in external lock
      sql/mysql_priv.h:
        changed set_query_id from bool to ulong
      sql/opt_range.cc:
        Set primary key read set in all places where HA_EXTRA_RETRIEVE_PRIMARY_KEY
        is used
      sql/sql_acl.cc:
        set all bits in read set all places where HA_EXTRA_RETRIEVE_ALL_COLS
        are used
      sql/sql_base.cc:
        Clear all bits before start new statement when table locked already
        Set bit in read/write set dependent on set_query_id and fieldnr
        bool -> ulong for set_query_id
        set all bits in read set for SELECT * queries where table is not view
      sql/sql_class.h:
        Added comments + changed type of set_query_id
      sql/sql_insert.cc:
        Use 2 when setup_fields called for fields to updated in UPDATE
        and INSERT statements
        set primary key fields when EXTRA param used
      sql/sql_load.cc:
        Set all bits in write set if no fields specified in LOAD DATA FROM
        INFILE
        Otherwise use 2 to set specific fields to be updated by LOAD DATA...
      sql/sql_select.cc:
        Set primary key read set when EXTRA param specified
        Set fieldnr for temporary tables
        Set number of fields before calling get_new_handler
        and only set all bits if there at least one field in table
      sql/sql_table.cc:
        Set all bits in read set for old table and all bits in write set for
        new table for ALTER TABLE copy method
        Set all bits in read set when EXTRA param used
      sql/sql_udf.cc:
        Set all bits in read set when EXTRA param used
      sql/sql_update.cc:
        Set fields to UPDATE to use 2 for set_query_id
        Set all bits in read set when EXTRA param used
      sql/table.cc:
        Set fieldnr in openfrm
        Reallocate read/write set in openfrm since table->s->fields==0
        at call to get_new_handler
      sql/unireg.cc:
        Fix Bug #10202
      5d3af2b0
  4. 26 Apr, 2005 1 commit
  5. 25 Apr, 2005 19 commits
  6. 24 Apr, 2005 5 commits
  7. 23 Apr, 2005 4 commits
    • unknown's avatar
      ndb - post merge 4.1->5.0 · 90df3f7f
      unknown authored
      
      ndb/src/kernel/blocks/ERROR_codes.txt:
        post merge 4.1->5.0
      ndb/src/ndbapi/ndberror.c:
        post merge 4.1->5.0
      ndb/test/ndbapi/testOIBasic.cpp:
        post merge 4.1->5.0
      90df3f7f
    • unknown's avatar
      Merge · 49fa63df
      unknown authored
      
      ndb/include/kernel/signaldata/TuxMaint.hpp:
        Auto merged
      ndb/src/kernel/blocks/dbtup/Dbtup.hpp:
        Auto merged
      ndb/src/kernel/blocks/dbtup/DbtupTrigger.cpp:
        Auto merged
      ndb/src/kernel/blocks/dbtux/DbtuxNode.cpp:
        Auto merged
      ndb/src/ndbapi/ndberror.c:
        merge from 4.1
      ndb/test/ndbapi/testOIBasic.cpp:
        merge from 4.1
      49fa63df
    • unknown's avatar
      ndb - bug#10029 fix · ffb64880
      unknown authored
      
      ndb/include/kernel/signaldata/TuxMaint.hpp:
        handle multipl index update failure atomically
      ndb/src/kernel/blocks/dbtup/Dbtup.hpp:
        handle multipl index update failure atomically
      ndb/src/kernel/blocks/dbtup/DbtupTrigger.cpp:
        handle multipl index update failure atomically
      ndb/src/kernel/blocks/dbtup/Notes.txt:
        handle multipl index update failure atomically
      ndb/src/kernel/blocks/dbtux/DbtuxNode.cpp:
        handle multipl index update failure atomically
      ndb/src/ndbapi/ndberror.c:
        handle multipl index update failure atomically
      ndb/test/ndbapi/testOIBasic.cpp:
        handle multipl index update failure atomically
      ffb64880
    • unknown's avatar
      Fix for BUG#10107: Memory leak in view over subquery: · 1bfb1070
      unknown authored
      In mysql_make_view when joining subquery lists, take into account that both lists
      can have length > 1 (see also fix for BUG#8490) 
      (note to bk trigger: this commit is about BUG#10107)
      
      
      sql/sql_view.cc:
        Fix for BUG#10107: In mysql_make_view, when joining subquery lists, take into account 
        that both lists can have length > 1 (see also fix for BUG#8490)
      1bfb1070
  8. 22 Apr, 2005 8 commits