1. 14 Jun, 2005 17 commits
    • unknown's avatar
      fix of BUG#11111 fix · 4d8cbb0c
      unknown authored
      
      sql/item.h:
        revrited as recursive
      sql/sql_select.cc:
        real_type is virtual
      tests/mysql_client_test.c:
        check results abd delete views
      4d8cbb0c
    • unknown's avatar
      Merge sanja.is.com.ua:/home/bell/mysql/bk/mysql-5.0 · 10061029
      unknown authored
      into sanja.is.com.ua:/home/bell/mysql/bk/work-bug3-5.0
      
      
      10061029
    • unknown's avatar
      Merge epotemkin@bk-internal.mysql.com:/home/bk/mysql-5.0 · 970e20b7
      unknown authored
      into  moonbone.local:/work/mysql-5.0-bug-11111
      
      
      970e20b7
    • unknown's avatar
      Fix 11 "fetch from view returns wrong data" · 4095a52a
      unknown authored
      Wrong method for creating temporary field was choosen, which results in
      sending int field with int header but lonlong data.
      
      Test case is added to mysql_client_test.c because client library is required
      to test the bug.
      
      
      
      tests/mysql_client_test.c:
        Test case for bug#11111 "fetch from view returns wrong data"
      sql/sql_select.cc:
        Fix bug #11111 "fetch from view returns wrong data"
      sql/item.h:
        Fix bug #11111 "fetch from view returns wrong data"
      4095a52a
    • unknown's avatar
      prohibit opening Query cache for SP cursors (BUG#9715) · e1c2646a
      unknown authored
      
      mysql-test/r/query_cache.result:
        testing cursors in SP with QC
        testing suspicious but working using selects in function with QC
      mysql-test/t/query_cache.test:
        testing cursors in SP with QC
        testing suspicious but working using selects in function with QC
      sql/sp_head.h:
        method for prohibiting of QC using SP query
      sql/sp_rcontext.cc:
        prohibit opening Query cache for SP cursors
      sql/sp_rcontext.h:
        constructor moved to .cc file to be able to use methods from lex_keeper
      e1c2646a
    • unknown's avatar
      Final patch to the bug #11314 (HAVING DEFAULT hangs) · d5600efd
      unknown authored
      
      sql/item.cc:
        it's safer not to reassign arg member
      d5600efd
    • unknown's avatar
      Merge bk@192.168.21.1:/usr/home/bk/mysql-5.0 · 38cf7770
      unknown authored
      into deer.(none):/home/hf/work/mysql-5.0.clean
      
      
      38cf7770
    • unknown's avatar
      Addition to fix for bug #11314 (test case wasn't complete) · 02b1eb98
      unknown authored
      
      mysql-test/r/func_default.result:
        test result fixed
      mysql-test/t/func_default.test:
        test case fixed
      02b1eb98
    • unknown's avatar
      Fix for bug #11314 (HAVING DEFAULT() hangs) · 0473ce99
      unknown authored
      
      mysql-test/t/func_default.test:
        test result fixed
      sql/item.cc:
        code simplified using real_item() method,
        error returning added
      0473ce99
    • unknown's avatar
      Merge mysql.com:/home/timka/mysql/src/5.0-virgin · 2de78782
      unknown authored
      into mysql.com:/home/timka/mysql/src/5.0-bug-11044
      
      
      2de78782
    • unknown's avatar
      Merge neptunus.(none):/home/msvensson/mysql/mysql-5.0 · 40a1cc0d
      unknown authored
      into neptunus.(none):/home/msvensson/mysql/mysql-5.0-tmp
      
      
      40a1cc0d
    • unknown's avatar
      Merge mysql.com:/home/timka/mysql/src/5.0-virgin · b1f306d0
      unknown authored
      into mysql.com:/home/timka/mysql/src/5.0-bug-11044
      
      
      b1f306d0
    • unknown's avatar
      Fix for BUG#11044 - "SELECT DISTINCT on indexed column returns inconsistent results" · d87c2dd6
      unknown authored
      The problem was that when there was no MIN or MAX function, after finding the
      group prefix based on the DISTINCT or GROUP BY attributes we did not search further
      for a key in the group that satisfies the equi-join conditions on attributes that
      follow the group attributes. Thus we ended up with the wrong rows, and subsequent
      calls to select_cond->val_int() in evaluate_join_record() were filtering those
      rows. Hence - the query result set was empty.
      
      The problem occured both for GROUP BY queries without MIN/MAX and for queries
      with DISTINCT (which were internally executed as GROUP BY queries).
      
      
      mysql-test/r/group_min_max.result:
        Added test result for BUG#11044. Notice that the group by query is
        equivalent to the distinct query and both are executed via the same
        algorithm.
      mysql-test/t/group_min_max.test:
        Added test for BUG#11044. Notice that the group by query is
        equivalent to the distinct query and both are executed via the
        same algorithm.
      sql/opt_range.cc:
        * Use the extended prefix in QUICK_GROUP_MIN_MAX_SELECT::get_next()
          to find keys that satisfy equality conditions in the case when there is
          no MIN or MAX function.
        * Corrected some method comments.
        * Corrected debug printout of cost information.
      d87c2dd6
    • unknown's avatar
      Merge rkalimullin@bk-internal.mysql.com:/home/bk/mysql-5.0 · c9bf3024
      unknown authored
      into mysql.com:/usr/home/ram/work/mysql-5.0
      
      
      c9bf3024
    • unknown's avatar
      a fix (#11235: Expression with IFNULL yields 18 where 1 is correct). · d5d55711
      unknown authored
      
      sql/item_func.cc:
        a fix (#11235: Expression with IFNULL yields 18 where 1 is correct).
        We should pass res end pointer to the strtoll10().
      d5d55711
    • unknown's avatar
      Merge ibabaev@bk-internal.mysql.com:/home/bk/mysql-5.0 · a52706ca
      unknown authored
      into rurik.mysql.com:/home/igor/mysql-5.0
      
      
      mysql-test/r/func_if.result:
        Auto merged
      mysql-test/t/func_if.test:
        Auto merged
      sql/item_cmpfunc.cc:
        Auto merged
      a52706ca
    • unknown's avatar
      Manual merge · ac42a5f0
      unknown authored
      ac42a5f0
  2. 13 Jun, 2005 23 commits
    • unknown's avatar
      merge · 7bb5fe94
      unknown authored
      
      BitKeeper/etc/logging_ok:
        auto-union
      ndb/src/kernel/blocks/dbtc/DbtcMain.cpp:
        Auto merged
      sql/item_cmpfunc.cc:
        Auto merged
      7bb5fe94
    • unknown's avatar
      Merge tulin@bk-internal.mysql.com:/home/bk/mysql-4.1 · 91a7d4e7
      unknown authored
      into dl145c.mysql.com:/home/ndbdev/tomas/mysql-4.1
      
      
      91a7d4e7
    • unknown's avatar
      Manual merge · d039d345
      unknown authored
      
      sql/item_cmpfunc.cc:
        Auto merged
      mysql-test/r/func_if.result:
        Manual merge.
      d039d345
    • unknown's avatar
      Merge tulin@bk-internal.mysql.com:/home/bk/mysql-4.1 · 02736082
      unknown authored
      into dl145c.mysql.com:/home/ndbdev/tomas/mysql-4.1
      
      
      BitKeeper/etc/logging_ok:
        auto-union
      02736082
    • unknown's avatar
      func_if.result, func_if.test: · a4535bc8
      unknown authored
        Correction for test case of bug #11142.
      
      
      mysql-test/t/func_if.test:
        Correction for test case of bug #11142.
      mysql-test/r/func_if.result:
        Correction for test case of bug #11142.
      a4535bc8
    • unknown's avatar
      func_if.result, func_if.test: · 89906482
      unknown authored
        Added a test case for bug #11142.
      item_cmpfunc.cc:
        Fixed bug #11142.
        Implementation of Item_func_nullif::is_null was corrected.
      
      
      sql/item_cmpfunc.cc:
        Fixed bug #11142.
        Implementation of Item_func_nullif::is_null was corrected.
      mysql-test/t/func_if.test:
        Added a test case for bug #11142.
      mysql-test/r/func_if.result:
        Added a test case for bug #11142.
      89906482
    • unknown's avatar
      logging_ok: · 61962795
      unknown authored
        Logging to logging@openlogging.org accepted
      DbtcMain.cpp, testTimeout.cpp:
        Bug  #11290 TransactionInactiveTimeout = 0 does not result in infinite timeout
      
      
      ndb/test/ndbapi/testTimeout.cpp:
        Bug  #11290 TransactionInactiveTimeout = 0 does not result in infinite timeout
      ndb/src/kernel/blocks/dbtc/DbtcMain.cpp:
        Bug  #11290 TransactionInactiveTimeout = 0 does not result in infinite timeout
      BitKeeper/etc/logging_ok:
        Logging to logging@openlogging.org accepted
      61962795
    • unknown's avatar
      Merge ibabaev@bk-internal.mysql.com:/home/bk/mysql-5.0 · 1a0bddb8
      unknown authored
      into igor-inspiron.creware.com:/home/igor/mysql-5.0
      
      
      1a0bddb8
    • unknown's avatar
      Merge igor-inspiron.creware.com:/home/igor/mysql-4.1 · e802cd3b
      unknown authored
      into igor-inspiron.creware.com:/home/igor/dev/mysql-4.1-0
      
      
      e802cd3b
    • unknown's avatar
      ha_innodb.cc: · 95252da4
      unknown authored
        Add a patch by Georg Richter to remove compiler warnings on 64-bit Windows
      
      
      sql/ha_innodb.cc:
        Add a patch by Georg Richter to remove compiler warnings on 64-bit Windows
      95252da4
    • unknown's avatar
      Merge svojtovich@bk-internal.mysql.com:/home/bk/mysql-5.0 · 4fcc3dd8
      unknown authored
      into mysql.com:/home/svoj/devel/yassl-mysql-5.0
      
      
      4fcc3dd8
    • unknown's avatar
      Merge igor-inspiron.creware.com:/home/igor/dev/mysql-4.1-0 · 0cd6d1c6
      unknown authored
      into igor-inspiron.creware.com:/home/igor/dev/mysql-5.0-0
      
      
      BitKeeper/etc/logging_ok:
        auto-union
      mysql-test/r/ctype_utf8.result:
        Auto merged
      sql/sql_select.cc:
        Auto merged
      0cd6d1c6
    • unknown's avatar
      Making XID deterministic for rpl_ddl test · 172c03c8
      unknown authored
      
      mysql-test/r/rpl_ddl.result:
        Making XID deterministic for test
      mysql-test/t/rpl_ddl.test:
        Making XID deterministic for test
      172c03c8
    • unknown's avatar
      ctype_utf8.test, ctype_utf8.result: · 3f483c18
      unknown authored
        Added a test case for bug #11167.
      sql_select.cc:
        Fixed bug #11167.
        In 4.1 char/varchar fields are limited by 255 characters in
        length that make them longer than 255 bytes in size for such
        character sets as UTF8. The functions store_record_in_cache
        and read_cached_records did not take into account this
        Moreover the code did not take into account that the size
        of the varchar fields in 5.0 can be up to 65535 bytes
      
      
      sql/sql_select.cc:
        Fixed bug #11167.
        In 4.1 char/varchar fields are limited by 255 characters in
        length that make them longer than 255 bytes in size for such
        character sets as UTF8. The functions store_record_in_cache
        and read_cached_records did not take into account this
        Moreover the code did not take into account that the size
        of the varchar fields in 5.0 can be up to 65535 bytes
      mysql-test/r/ctype_utf8.result:
        Added a test case for bug #11167.
      mysql-test/t/ctype_utf8.test:
        Added a test case for bug #11167.
      BitKeeper/etc/logging_ok:
        Logging to logging@openlogging.org accepted
      3f483c18
    • unknown's avatar
      Merge svojtovich@bk-internal.mysql.com:/home/bk/mysql-5.0 · b665bfa5
      unknown authored
      into mysql.com:/home/svoj/devel/yassl-mysql-5.0
      
      
      b665bfa5
    • unknown's avatar
      Merge svojtovich@bk-internal.mysql.com:/home/bk/mysql-5.0 · af84e4ae
      unknown authored
      into mysql.com:/home/svoj/devel/yassl-mysql-5.0
      
      
      af84e4ae
    • unknown's avatar
      Merge mysql.com:/home/bk/b6883-mysql-4.1 · ff40f303
      unknown authored
      into mysql.com:/home/bk/mysql-5.0
      
      
      ff40f303
    • unknown's avatar
      Merge mysql.com:/home/bkroot/mysql-5.0 into mysql.com:/home/bk/mysql-5.0 · 50260639
      unknown authored
      
      BitKeeper/etc/logging_ok:
        auto-union
      sql/sql_parse.cc:
        Auto merged
      50260639
    • unknown's avatar
      Merge mysql.com:/home/bkroot/mysql-4.1 · 8c4fe301
      unknown authored
      into mysql.com:/home/bk/b6883-mysql-4.1
      
      
      8c4fe301
    • unknown's avatar
      merge · 828c4633
      unknown authored
      
      ndb/src/common/logger/Logger.cpp:
        Auto merged
      ndb/test/ndbapi/testBlobs.cpp:
        Auto merged
      ndb/tools/restore/consumer_restore.cpp:
        Auto merged
      828c4633
    • unknown's avatar
      Merge joreland@bk-internal.mysql.com:/home/bk/mysql-4.1 · 53a92c87
      unknown authored
      into mysql.com:/home/jonas/src/mysql-4.1-push
      
      
      53a92c87
    • unknown's avatar
      Merge mysql.com:/home/jonas/src/mysql-4.1 · 861cecf3
      unknown authored
      into mysql.com:/home/jonas/src/mysql-4.1-push
      
      
      861cecf3
    • unknown's avatar
      bug#10294 - ndb restore with #concurrent transactions < parallelism · 06ab9013
      unknown authored
        Enable retry on startTransaction
      
      
      ndb/tools/restore/consumer_restore.cpp:
        Enable retry on startTransaction==NULL
      06ab9013