1. 16 Jun, 2005 4 commits
  2. 15 Jun, 2005 24 commits
    • unknown's avatar
      Merge svojtovich@bk-internal.mysql.com:/home/bk/mysql-5.0 · ee400291
      unknown authored
      into mysql.com:/home/svoj/devel/mysql/yassl-mysql-5.0
      
      ee400291
    • unknown's avatar
      Merge svojtovich@bk-internal.mysql.com:/home/bk/mysql-5.0 · 203b64f3
      unknown authored
      into mysql.com:/home/svoj/devel/mysql/yassl-mysql-5.0
      
      203b64f3
    • unknown's avatar
      Manual merge · 6ea5a77c
      unknown authored
      
      sql/field.cc:
        Auto merged
      6ea5a77c
    • unknown's avatar
      cast.result, cast.test: · ec489073
      unknown authored
        Added test case for bug #11283.
      field.h, field.cc:
        Fixed bug #11283: wrong conversion from varchar to decimal.
        Added methods Field_string::val_decimal,
        Field_varstring::val_decimal, Field_blob::val_decimal.
        They are not inherited from the base class Field_longstr
        anymore.
      
      
      sql/field.cc:
        Fixed bug #11283: wrong conversion from varchar to decimal.
        Added methods Field_string::val_decimal,
        Field_varstring::val_decimal, Field_blob::val_decimal.
        They are not inherited from the base class Field_longstr
        anymore.
      sql/field.h:
        Fixed bug #11283: wrong conversion from varchar to decimal.
        Added methods Field_string::val_decimal,
        Field_varstring::val_decimal, Field_blob::val_decimal.
        They are not inherited from the base class Field_longstr
        anymore.
      mysql-test/t/cast.test:
        Added test case for bug #11283.
      mysql-test/r/cast.result:
        Added test case for bug #11283.
      ec489073
    • unknown's avatar
      Merge bk@192.168.21.1:/usr/home/bk/mysql-5.0 · 3d0d6cee
      unknown authored
      into deer.(none):/home/hf/work/mysql-5.0.10632
      
      
      strings/decimal.c:
        Auto merged
      3d0d6cee
    • unknown's avatar
      Fix for bug #10632 (CEILING returns wrong result) · 19cd85dd
      unknown authored
      
      mysql-test/r/func_math.result:
        test result fixed
      mysql-test/t/func_math.test:
        test case added
      strings/decimal.c:
        handling of round_digit changed - we have to check all the digits after
        the point if round_digit is 0
      19cd85dd
    • unknown's avatar
      Merge bk@192.168.21.1:/usr/home/bk/mysql-5.0 · ba36aabc
      unknown authored
      into deer.(none):/home/hf/work/mysql-5.0.10337
      
      
      strings/decimal.c:
        Auto merged
      ba36aabc
    • unknown's avatar
      Fix for bug #10337 (cast(NULL DECIMAL) crashes the server) · 2d30c8fd
      unknown authored
      
      mysql-test/r/cast.result:
        test result fixed
      mysql-test/t/cast.test:
        test case added
      sql/item_func.cc:
        checks for NULL added
      strings/decimal.c:
        we need to return specified 'scale' for the rounded decimal
      2d30c8fd
    • unknown's avatar
      Merge grichter@bk-internal.mysql.com:/home/bk/mysql-5.0 · f0091240
      unknown authored
      into lmy002.wdf.sap.corp:/home/georg/work/mysql/prod/mysql-5.0
      
      
      sql/item.cc:
        Auto merged
      sql/item.h:
        Auto merged
      sql/item_cmpfunc.cc:
        Auto merged
      f0091240
    • unknown's avatar
      Added comment after Serg's review · 4e7f3d30
      unknown authored
      4e7f3d30
    • unknown's avatar
      Merge mskold@bk-internal.mysql.com:/home/bk/mysql-5.0 · 789f30ad
      unknown authored
      into mysql.com:/usr/local/home/marty/MySQL/mysql-5.0
      
      789f30ad
    • unknown's avatar
      Merge lgrimmer@bk-internal.mysql.com:/home/bk/mysql-5.0 · 6e5e7800
      unknown authored
      into mysql.com:/space/my/mysql-5.0
      
      6e5e7800
    • unknown's avatar
      Merge mskold@bk-internal.mysql.com:/home/bk/mysql-5.0 · 54af0310
      unknown authored
      into mysql.com:/usr/local/home/marty/MySQL/mysql-5.0
      
      54af0310
    • unknown's avatar
      join_nested.result, join_nested.test: · 5ad7c3ee
      unknown authored
        Added a teast case for bug #11284.
      sql_select.cc:
        Fixed bug #11284.
        Optimization with empty inner table currently cannot be
        used in the case of nested outer join.
      
      
      sql/sql_select.cc:
        Fixed bug #11284.
        Optimization with empty inner table currently cannot be
        used in the case of nested outer join.
      mysql-test/t/join_nested.test:
        Added a teast case for bug #11284.
      5ad7c3ee
    • unknown's avatar
      Merge mskold@bk-internal.mysql.com:/home/bk/mysql-5.0 · e27f146a
      unknown authored
      into mysql.com:/usr/local/home/marty/MySQL/mysql-5.0
      
      e27f146a
    • unknown's avatar
      Merge rurik.mysql.com:/home/igor/mysql-5.0 · c828941e
      unknown authored
      into rurik.mysql.com:/home/igor/dev/mysql-5.0-0
      
      
      sql/sql_select.cc:
        Auto merged
      c828941e
    • unknown's avatar
      Merge tulin@bk-internal.mysql.com:/home/bk/mysql-5.0 · 13c0049e
      unknown authored
      into poseidon.ndb.mysql.com:/home/tomas/mysql-5.0
      
      13c0049e
    • unknown's avatar
    • unknown's avatar
      join_outer.result, join_outer.test: · 58dd57d3
      unknown authored
        Added a test case for bug #11285.
      sql_select.cc:
        Fixed bug #11285.
        The problem occurred with Item_equal in an 'on expression'
        that was evaluated to false.
      
      
      sql/sql_select.cc:
        Fixed bug #11285.
        The problem occurred with Item_equal in an 'on expression'
        that was evaluated to false.
      mysql-test/t/join_outer.test:
        Added a test case for bug #11285.
      mysql-test/r/join_outer.result:
        Added a test case for bug #11285.
      58dd57d3
    • unknown's avatar
      Merge mysql.com:/home/timka/mysql/src/5.0-virgin · 44474ed1
      unknown authored
      into mysql.com:/home/timka/mysql/src/5.0-dbg
      
      44474ed1
    • unknown's avatar
      Merge mskold@bk-internal.mysql.com:/home/bk/mysql-5.0 · b6cb2380
      unknown authored
      into mysql.com:/usr/local/home/marty/MySQL/mysql-5.0
      
      b6cb2380
    • unknown's avatar
    • unknown's avatar
      bf4f38a2
    • unknown's avatar
      Fix for BUG#11211 "GROUP BY doesn't work correctly" · 5e144bf7
      unknown authored
        
      When the GROUP BY clause contains a column reference that can be resolved to
      both an aliased column in the SELECT list, and to a column in the FROM clause,
      the group column is resolved to the column in the FROM clause (for ANSI conformance).
      However, it may be so that the user's intent is just the other way around, and he/she
      gets the query results grouped by a completely different column than expexted.
      This patch adds a warning in such cases that tells the user that there is potential
      ambiguity in the group column.
      
      sql/sql_select.cc
      - Added a warning when a GROUP column is ambiguous due to that there is a
        column reference with the same name both in the SELECT and FROM clauses.
        In this case we resolve to the column in FROM clause and warn the user
        of a possible ambiguity.
      - More extensive comments.
      - Changed the function to return bool instead of int (as in other places).
      
      mysql-test/t/group_by.test
        Added test for BUG#11211.
      
      mysql-test/r/group_by.result
        Added test for BUG#11211.
      
      
      mysql-test/r/group_by.result:
        Import patch 11211.diff
      mysql-test/t/group_by.test:
        Import patch 11211.diff
      sql/sql_select.cc:
        Import patch 11211.diff
      BitKeeper/etc/ignore:
        Added ndb/src/dummy.cpp to the ignore list
      mysql-test/r/alias.result:
        Added warning for potentially ambiguous column.
      mysql-test/r/having.result:
        Added warning for potentially ambiguous column.
      5e144bf7
  3. 14 Jun, 2005 12 commits
    • unknown's avatar
      Merge pchardin@bk-internal.mysql.com:/home/bk/mysql-5.0 · ff817307
      unknown authored
      into mysql.com:/home/cps/mysql/trees/mysql-5.0
      
      ff817307
    • unknown's avatar
      fix of BUG#11111 fix · 4cabbdda
      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
      4cabbdda
    • unknown's avatar
      Merge mysql.com:/space/my/mysql-4.1 · ff8d9d7b
      unknown authored
      into mysql.com:/space/my/mysql-5.0-build
      
      
      support-files/mysql.spec.sh:
        Auto merged
      ff8d9d7b
    • unknown's avatar
      Merge sanja.is.com.ua:/home/bell/mysql/bk/mysql-5.0 · c84ff0ab
      unknown authored
      into sanja.is.com.ua:/home/bell/mysql/bk/work-bug3-5.0
      
      c84ff0ab
    • unknown's avatar
      Merge epotemkin@bk-internal.mysql.com:/home/bk/mysql-5.0 · 16e9aa99
      unknown authored
      into  moonbone.local:/work/mysql-5.0-bug-11111
      
      16e9aa99
    • unknown's avatar
      Fix 11 "fetch from view returns wrong data" · 1f44bc66
      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"
      1f44bc66
    • unknown's avatar
      b22b8abd
    • unknown's avatar
      WL#2286 - Compile MySQL w/YASSL support · b789b050
      unknown authored
          Fix for link failures on boxes with non-gnu compiler.
          Fix for compilation failure on hpux11.
      
      
      extra/yassl/taocrypt/src/misc.cpp:
        Adjust __HP_aCC value to solve compilation problem on hpux11.
      tools/Makefile.am:
        Add a dummy C++ file to mysqltestmanager to make libtool use a C++ linker:
        this lets mysqltestmanager link when using yaSSL and a non-gcc C++ compiler.
      b789b050
    • unknown's avatar
      prohibit opening Query cache for SP cursors (BUG#9715) · 188ac29a
      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
      188ac29a
    • unknown's avatar
      - Do not build the RPMs statically on i386 by default, only when adding either · f727168d
      unknown authored
         "--with static" or "--define '_with_static 1'" to the RPM build options. 
         Static linking really only makes sense when linking against the specially patched
         glibc 2.2.5.
      
      
      support-files/mysql.spec.sh:
         - Do not build statically on i386 by default, only when adding either "--with
           static" or "--define '_with_static 1'" to the RPM build options. Static
           linking really only makes sense when linking against the specially patched
           glibc 2.2.5.
      f727168d
    • unknown's avatar
      Final patch to the bug #11314 (HAVING DEFAULT hangs) · 3ceb45f1
      unknown authored
      
      sql/item.cc:
        it's safer not to reassign arg member
      3ceb45f1
    • unknown's avatar
      Added order by for failing ps_7ndb test · 5fdde712
      unknown authored
      5fdde712