1. 05 May, 2005 7 commits
    • unknown's avatar
      Manual merge · 7f338097
      unknown authored
      
      BitKeeper/etc/logging_ok:
        auto-union
      configure.in:
        Auto merged
      include/my_sys.h:
        Auto merged
      mysql-test/r/ps.result:
        Auto merged
      mysql-test/t/ndb_restore.test:
        Auto merged
      ndb/test/src/NDBT_ResultRow.cpp:
        Auto merged
      sql/ha_innodb.cc:
        Auto merged
      sql/item.cc:
        Auto merged
      sql/item.h:
        Auto merged
      7f338097
    • unknown's avatar
      A fix and test case for Bug#9777 " Empty set returned by Prepared Statement when it · c758512a
      unknown authored
       should return a non empty one"
      (see comments for the changed files for details).
      
      
      mysql-test/r/ps.result:
        A test case for Bug#9777: tests results fixed.
      mysql-test/t/ps.test:
        A test case for Bug#9777
      sql/item.cc:
        A fix for Bug#9777: when creating a constant item from within 
        Item_int_with_ref::new_item, create the item by value, not by name.
        This should work with prepared statements placeholders.
        Item_int_with_ref is a special optimization case used
         when we compare datetime constants with datetime value.
        Converting the item to integer early is OK as it is in line
        with the purpose of Item_int_with_ref - to speed up comparison by 
        using integers.
        Minor cleanups.
      sql/item.h:
        Declaration for Item_int_with_ref::new_item
      c758512a
    • unknown's avatar
      Merge kboortz@bk-internal.mysql.com:/home/bk/mysql-4.1 · f3883ad0
      unknown authored
      into mysql.com:/Users/kent/mysql/cw/mysql-4.1
      
      
      f3883ad0
    • unknown's avatar
      mwcc-wrapper, compile-darwin-mwcc, mwar-wrapper: · 203543d1
      unknown authored
        Initial Metrowerks CodeWarrior compiler support
        new file
      
      
      support-files/MacOSX/mwar-wrapper:
        Initial Metrowerks CodeWarrior compiler support
      BUILD/compile-darwin-mwcc:
        Initial Metrowerks CodeWarrior compiler support
      support-files/MacOSX/mwcc-wrapper:
        Initial Metrowerks CodeWarrior compiler support
      203543d1
    • unknown's avatar
      Merge jlindstrom@bk-internal.mysql.com:/home/bk/mysql-4.1 · a4053ca3
      unknown authored
      into hundin.mysql.fi:/home/jan/mysql-4.1
      
      
      a4053ca3
    • unknown's avatar
      terminal.c, sql_bitmap.h, my_sys.h, configure.in, config.h: · f59fef3f
      unknown authored
        Initial Metrowerks CodeWarrior compiler support
      
      
      cmd-line-utils/libedit/config.h:
        Initial Metrowerks CodeWarrior compiler support
      configure.in:
        Initial Metrowerks CodeWarrior compiler support
      include/my_sys.h:
        Initial Metrowerks CodeWarrior compiler support
      sql/sql_bitmap.h:
        Initial Metrowerks CodeWarrior compiler support
      cmd-line-utils/readline/terminal.c:
        Initial Metrowerks CodeWarrior compiler support
      f59fef3f
    • unknown's avatar
      Fig compiler error. · 709c4ad1
      unknown authored
      709c4ad1
  2. 04 May, 2005 19 commits
  3. 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
      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 jlindstrom@bk-internal.mysql.com:/home/bk/mysql-4.1 · c6257d20
      unknown authored
      into hundin.mysql.fi:/home/jan/mysql-4.1
      
      
      c6257d20
    • 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
  4. 02 May, 2005 6 commits
    • unknown's avatar
      Update test results · d00d1dd1
      unknown authored
      
      mysql-test/r/query_cache.result:
        Update results
      mysql-test/r/user_limits.result:
        Update results
      d00d1dd1
    • unknown's avatar
      Resolve merge of fix for #8166. · d4b39a51
      unknown authored
      
      mysql-test/r/system_mysql_db.result:
        Update results
      scripts/mysql_create_system_tables.sh:
        Resolve merge of bug fix
      scripts/mysql_fix_privilege_tables.sql:
        Resolve merge of bug fix
      d4b39a51
    • unknown's avatar
      Merge mysql.com:/home/jimw/my/mysql-5.0-7293 · 2d998575
      unknown authored
      into mysql.com:/home/jimw/my/mysql-5.0-clean
      
      
      2d998575
    • unknown's avatar
      Merge mysql.com:/home/jimw/my/mysql-5.0-5354 · bd24e892
      unknown authored
      into mysql.com:/home/jimw/my/mysql-5.0-clean
      
      
      extra/my_print_defaults.c:
        Auto merged
      include/my_sys.h:
        Auto merged
      mysys/default.c:
        Auto merged
      bd24e892
    • unknown's avatar
      Clean up merge from 4.1 · 41e7a970
      unknown authored
      
      configure.in:
        Auto merged
      extra/my_print_defaults.c:
        Auto merged
      mysql-test/mysql-test-run.sh:
        Auto merged
      mysql-test/r/lowercase_table.result:
        Auto merged
      mysql-test/r/query_cache.result:
        Mege results
      mysql-test/t/lowercase_table.test:
        Merge tests
      mysql-test/t/query_cache.test:
        Merge tests
      mysys/default.c:
        Merge from 4.1
      sql/sql_cache.cc:
        Merge
      sql/sql_parse.cc:
        Merge from 4.1
      sql/sql_table.cc:
        Merge
      tests/mysql_client_test.c:
        Merge
      41e7a970
    • unknown's avatar
      Merge bk-internal:/home/bk/mysql-5.0 · d41aa297
      unknown authored
      into serg.mylan:/usr/home/serg/Abk/mysql-5.0
      
      
      sql/ha_blackhole.cc:
        Auto merged
      d41aa297