1. 04 May, 2005 18 commits
  2. 03 May, 2005 8 commits
    • unknown's avatar
      Merge book.sanja.is.com.ua:/Users/bell/mysql/bk/mysql-5.0 · 7b4374f6
      unknown authored
      into book.sanja.is.com.ua:/Users/bell/mysql/bk/work-test-5.0
      
      
      BitKeeper/etc/logging_ok:
        Logging to logging@openlogging.org accepted
      7b4374f6
    • unknown's avatar
      Manual merge of Bug#9096 · 3aa89efc
      unknown authored
      3aa89efc
    • unknown's avatar
      bug#10142 - ndb unhandle resource shortage in unique index code · e46360ba
      unknown authored
      
      ndb/src/kernel/blocks/dbtc/Dbtc.hpp:
        remove unneccessary TcSeizedIndexOperation object
      ndb/src/kernel/blocks/dbtc/DbtcInit.cpp:
        remove unneccessary TcSeizedIndexOperation object
      ndb/src/kernel/blocks/dbtc/DbtcMain.cpp:
        1) Set transid on starting TCINDXREQ
        2) New error code for out of index operation records
        3) Check accumulating index op for RNIL before dereferencing it
      ndb/src/kernel/error/ErrorReporter.cpp:
        Include NDB version in ndb_X_error.log
      ndb/src/ndbapi/NdbIndexOperation.cpp:
        Let failed tcindxreq abort
      ndb/src/ndbapi/ndberror.c:
        New error code for out of index operation records
      e46360ba
    • unknown's avatar
      Merge mysql.com:/opt/local/work/mysql-4.1-root · b883aeba
      unknown authored
      into mysql.com:/opt/local/work/mysql-4.1-9096-fresh
      
      
      sql/item.h:
        Auto merged
      sql/item_func.cc:
        Auto merged
      b883aeba
    • unknown's avatar
      A fix and test case for Bug#9096 "select doesn't return all matched · 9fcda7fc
      unknown authored
      records if prepared statements is used".
      This fix changes equality evaluation method of basic constants from
      by-name to by-value, thus effectively enabling use of parameter markers
      in some optimizations (constants propagation, evaluation of possible
      keys for query).
      
      
      mysql-test/r/ps.result:
        Test results for the test case for Bug#9096
      mysql-test/t/ps.test:
        A short test case for Bug#9096 "select doesn't return all matched records if
         prepared statements is used". The is enough to reproduce the
        glitch in update_ref_and_keys causing the bug to occur.
      sql/item.cc:
        Implement by-value equality evaluation of basic constants.
        This is needed to work with Item_param values. Until now
        Item_param was compared with other items by its name, which is always "?".
        The bug at hand showed up when an integer
        constant was created from one parameter marker (with value 200887 and
         name "?") and then compared by-name with another parameter marker
        (with value 860 and name "?"). True returned by this comparison resulted
        in a wrong table access method used to evaluate the query.
        Implement Item_param methods needed to emulate "basic constant" mode at 
        full.
      sql/item.h:
        Change declaration of basic_const_item(): now it also widens its 
        argument from const Item * to Item * if the argument is a basic constant.
        Declare eq() for all basic constatns, as long as now they 
        are compared by value, not by name. Each constant needs its own
        comparison method.
        Declarations of Item_param methods needed to fully emulate 
        a basic constant when parameter value is set.
      sql/item_func.cc:
        Fix wrong casts.
      9fcda7fc
    • unknown's avatar
      Merge spetrunia@bk-internal.mysql.com:/home/bk/mysql-5.0 · 9724795f
      unknown authored
      into mysql.com:/home/psergey/mysql-5.0-test-valgrind
      
      
      9724795f
    • unknown's avatar
      Merge spetrunia@bk-internal.mysql.com:/home/bk/mysql-5.0 · 21d3d43c
      unknown authored
      into mysql.com:/home/psergey/mysql-5.0-test-valgrind
      
      
      sql/sql_select.cc:
        Auto merged
      21d3d43c
    • unknown's avatar
      ha_innodb.cc: · 40d0c3e6
      unknown authored
        Return a value from innobase_repl_report_sent_binlog()
      
      
      sql/ha_innodb.cc:
        Return a value from innobase_repl_report_sent_binlog()
      40d0c3e6
  3. 02 May, 2005 11 commits
  4. 01 May, 2005 3 commits