1. 06 May, 2005 1 commit
  2. 05 May, 2005 13 commits
  3. 04 May, 2005 8 commits
  4. 03 May, 2005 3 commits
    • unknown's avatar
      Merge mysql.com:/opt/local/work/mysql-4.1-root · 4e4d5ea3
      unknown authored
      into mysql.com:/opt/local/work/mysql-4.1-9096-fresh
      
      
      sql/item.h:
        Auto merged
      sql/item_func.cc:
        Auto merged
      4e4d5ea3
    • unknown's avatar
      A fix and test case for Bug#9096 "select doesn't return all matched · eb9e992b
      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.
      eb9e992b
    • unknown's avatar
      Merge jlindstrom@bk-internal.mysql.com:/home/bk/mysql-4.1 · 86bae853
      unknown authored
      into hundin.mysql.fi:/home/jan/mysql-4.1
      
      86bae853
  5. 02 May, 2005 5 commits
  6. 01 May, 2005 1 commit
  7. 30 Apr, 2005 1 commit
  8. 29 Apr, 2005 8 commits
    • unknown's avatar
      Fix for BUG#10274: In Protocol_simple::store_long don't make any assumptions about · abe86d81
      unknown authored
      relative sizes of int/long/longlong.
       
      
      abe86d81
    • unknown's avatar
      Merge epotemkin@bk-internal.mysql.com:/home/bk/mysql-4.1 · 79455c9a
      unknown authored
      into moonbone.local:/usr/src/mysql-4.1
      
      79455c9a
    • unknown's avatar
      Fix bug #9703 "Error 1032 with GROUP BY query and large tables" · 3463457c
      unknown authored
      Reset old error if tmp table was successfully created.
      
      Test data is large and can be found in bug report along with test query.
      
      
      sql/sql_select.cc:
        Fix bug #9703
      BitKeeper/etc/logging_ok:
        Logging to logging@openlogging.org accepted
      3463457c
    • unknown's avatar
      Merge mysql.com:/home/jimw/my/mysql-4.1-9634 · 909c91db
      unknown authored
      into mysql.com:/home/jimw/my/mysql-4.1-clean
      
      909c91db
    • unknown's avatar
      Manually resolve merge · e9ba56b7
      unknown authored
      
      mysql-test/r/query_cache.result:
        Resolve merge
      mysql-test/t/query_cache.test:
        Resolve merge
      e9ba56b7
    • unknown's avatar
      Merge mysql.com:/home/jimw/my/mysql-4.0-clean · cbebd40b
      unknown authored
      into mysql.com:/home/jimw/my/mysql-4.1-clean
      
      
      configure.in:
        Auto merged
      cbebd40b
    • unknown's avatar
      Merge mysql.com:/home/jimw/my/mysql-4.0-9690 · 72a1a2d8
      unknown authored
      into mysql.com:/home/jimw/my/mysql-4.0-clean
      
      
      configure.in:
        Auto merged
      72a1a2d8
    • unknown's avatar
      CAST(string_argument AS UNSIGNED) didn't work for big integers above the signed range. (Bug #7036) · f301f8f2
      unknown authored
      Produce warnings of wrong cast of strings to signed/unsigned.
      Don't block not resolved IP's if DNS server is down (Bug #8467)
      Fix compiler problems with MinGW (Bug #8872)
      
      
      configure.in:
        Fix compiler problems with MinGW (Bug #8872)
      include/config-win.h:
        Fix compiler problems with MinGW (Bug #8872)
      include/my_global.h:
        Fix compiler problems with MinGW (Bug #8872)
      mysql-test/r/cast.result:
        Test for cast to signed/unsigned outside of range (Bug #7036)
      mysql-test/t/cast.test:
        Test for cast to signed/unsigned outside of range (Bug #7036)
      mysys/default.c:
        Cleanup (combine identical code). 
        Done mainly by Jani
      sql/field.h:
        Added cast_to_int_type() to ensure that enums are casted as numbers
      sql/hostname.cc:
        Don't block not resolved IP's if DNS server is down (Bug #8467)
      sql/item.h:
        Added cast_to_int_type() to ensure that enums are casted as numbers
      sql/item_func.cc:
        CAST(string_argument AS UNSIGNED) didn't work for big integers above the
        signed range. (Bug #7036)
        Produce warnings of wrong cast of strings to signed/unsigned
      sql/item_func.h:
        CAST(string_argument AS UNSIGNED) didn't work for big integers above the
        signed range. (Bug #7036)
      f301f8f2