1. 15 Oct, 2005 2 commits
    • unknown's avatar
      Fixed bug #12762: · 6a0695fe
      unknown authored
      allowed set functions aggregated in outer subqueries, allowed nested set functions.
      
      
      mysql-test/r/func_gconcat.result:
        Changed a query when fixing bug #12762.
      mysql-test/r/subselect.result:
        Added test cases for bug #12762.
        Allowed set functions aggregated in outer subqueries. Allowed nested set functions.
      mysql-test/t/func_gconcat.test:
        Changed a query when fixing bug #12762.
      mysql-test/t/subselect.test:
        Added test cases for bug #12762.
        Allowed set functions aggregated in outer subqueries. Allowed nested set functions.
      sql/item.cc:
        Fixed bug #12762:
        allowed set functions aggregated in outer subqueries, allowed nested set functions.
        Added a parameter to Item::split_sum_func2 aliowing to defer splitting for set functions
        aggregated in outer subquries.
        Changed Item_field::fix_fields to calculate attributes used when checking context conditions
        for set functions.
        Allowed alliases for set functions defined in outer subqueries.
      sql/item.h:
        Fixed bug #12762:
        allowed set functions aggregated in outer subqueries, allowed nested set functions.
        Added a parameter to Item::split_sum_func2 aliowing to defer splitting for set functions
        aggregated in outer subquries.
      sql/item_cmpfunc.cc:
        Fixed bug #12762:
        allowed set functions aggregated in outer subqueries, allowed nested set functions.
        Added a parameter to Item::split_sum_func2 aliowing to defer splitting for set functions
        aggregated in outer subquries.
      sql/item_func.cc:
        Fixed bug #12762:
        allowed set functions aggregated in outer subqueries, allowed nested set functions.
        Added a parameter to Item::split_sum_func2 aliowing to defer splitting for set functions
        aggregated in outer subquries.
      sql/item_row.cc:
        Fixed bug #12762:
        allowed set functions aggregated in outer subqueries, allowed nested set functions.
        Added a parameter to Item::split_sum_func2 aliowing to defer splitting for set functions
        aggregated in outer subquries.
      sql/item_strfunc.cc:
        Fixed bug #12762:
        allowed set functions aggregated in outer subqueries, allowed nested set functions.
        Added a parameter to Item::split_sum_func2 aliowing to defer splitting for set functions
        aggregated in outer subquries.
      sql/item_subselect.cc:
        Fixed bug #12762:
        allowed set functions aggregated in outer subqueries, allowed nested set functions.
        Introduced next levels for subqueries and a bitmap of nesting levels showing
        in what subqueries a set function can be aggregated.
      sql/item_sum.cc:
        Fixed bug #12762:
        allowed set functions aggregated in outer subqueries, allowed nested set functions.
        Added Item_sum methods to check context conditions imposed on set functions.
      sql/item_sum.h:
        Fixed bug #12762:
        allowed set functions aggregated in outer subqueries, allowed nested set functions.
        Added Item_sum methods to check context conditions imposed on set functions.
      sql/mysql_priv.h:
        Fixed bug #12762:
        allowed set functions aggregated in outer subqueries, allowed nested set functions.
        Introduced a type of bitmaps to be used for nesting constructs.
      sql/sql_base.cc:
        Fixed bug #12762:
        allowed set functions aggregated in outer subqueries, allowed nested set functions.
        Introduced next levels for subqueries and a bitmap of nesting levels showing
        in what subqueries a set function can be aggregated.
      sql/sql_class.cc:
        Fixed bug #12762:
        allowed set functions aggregated in outer subqueries, allowed nested set functions.
        Introduced a bitmap of nesting levels showing in what subqueries a set function can be aggregated.
      sql/sql_class.h:
        Fixed bug #12762:
        allowed set functions aggregated in outer subqueries, allowed nested set functions.
        Introduced a bitmap of nesting levels showing in what subqueries a set function can be aggregated.
      sql/sql_delete.cc:
        Fixed bug #12762:
        allowed set functions aggregated in outer subqueries, allowed nested set functions.
        Introduced a bitmap of nesting levels showing in what subqueries a set function can be aggregated.
      sql/sql_lex.cc:
        Fixed bug #12762:
        allowed set functions aggregated in outer subqueries, allowed nested set functions.
        Introduced next levels for subqueries and a bitmap of nesting levels showing
        in what subqueries a set function can be aggregated.
      sql/sql_lex.h:
        Fixed bug #12762:
        allowed set functions aggregated in outer subqueries, allowed nested set functions.
        Introduced next levels for subqueries and a bitmap of nesting levels showing
        in what subqueries a set function can be aggregated.
      sql/sql_parse.cc:
        Fixed bug #12762:
        allowed set functions aggregated in outer subqueries, allowed nested set functions.
        Introduced next levels for subqueries.
      sql/sql_prepare.cc:
        Fixed bug #12762:
        allowed set functions aggregated in outer subqueries, allowed nested set functions.
        Introduced a bitmap of nesting levels showingin what subqueries a set function can be aggregated.
      sql/sql_select.cc:
        Fixed bug #12762:
        allowed set functions aggregated in outer subqueries, allowed nested set functions.
        Introduced next levels for subqueries and a bitmap of nesting levels showing
        in what subqueries a set function can be aggregated.
      sql/sql_update.cc:
        Fixed bug #12762:
        allowed set functions aggregated in outer subqueries, allowed nested set functions.
        Introduced a bitmap of nesting levels showing in what subqueries a set function can be aggregated.
      sql/sql_yacc.yy:
        Fixed bug #12762:
        allowed set functions aggregated in outer subqueries, allowed nested set functions.
        Introduced next levels for subqueries.
      6a0695fe
    • unknown's avatar
      Merge bk@192.168.21.1:/usr/home/bk/mysql-5.0 · 11541107
      unknown authored
      into deer.(none):/home/hf/work/mysql-5.0.12991
      
      
      myisam/mi_check.c:
        Auto merged
      11541107
  2. 14 Oct, 2005 21 commits
  3. 13 Oct, 2005 17 commits
    • unknown's avatar
      Merge mysql.com:/Users/kent/mysql/bk/mysql-5.0-release · 5474a240
      unknown authored
      into mysql.com:/Users/kent/mysql/bk/mysql-5.0
      
      
      5474a240
    • unknown's avatar
      configure.in: · 178155bb
      unknown authored
        New version 5.0.16
      
      
      configure.in:
        New version 5.0.16
      178155bb
    • unknown's avatar
      Merge pgalbraith@bk-internal.mysql.com:/home/bk/mysql-5.0 · 96e7df0c
      unknown authored
      into  krsna.patg.net:/home/patg/mysql-build/mysql-5.0
      
      
      96e7df0c
    • unknown's avatar
      configure.in: · 4f204c52
      unknown authored
        rc => GA
      
      
      configure.in:
        rc => GA
      4f204c52
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-5.0 · acb50e59
      unknown authored
      into  mysql.com:/home/my/mysql-5.0
      
      
      acb50e59
    • unknown's avatar
      Move handling of suffix_length from strnxfrm_bin() to filesort to ensure... · b896d334
      unknown authored
      Move handling of suffix_length from strnxfrm_bin() to filesort to ensure proper sorting of all kind of binary objects
      field::sort_key() now adds length last for varbinary/blob
      VARBINARY/BLOB is now sorted by filesort so that shorter strings comes before longer ones
      Fixed issues in test cases from last merge
      
      
      
      mysql-test/r/select.result:
        Change column name in test to get GROUP BY to use the alias
      mysql-test/r/type_blob.result:
        Test BLOB and VARCHAR sorting
      mysql-test/t/select.test:
        Change column name in test to get GROUP BY to use the alias
        Drop used tables at start of test
        Don't use table names 'a', 'b' or 'c'
      mysql-test/t/type_blob.test:
        Test BLOB and VARCHAR sorting
      sql/field.cc:
        Store length last in VARBINARY() and BLOB() columns to get shorter strings sorted before longer onces
      sql/field.h:
        Added method 'sort_length()' to allow one to have length bytes last for VARBINARY/BLOB to get these to sort properly
      sql/filesort.cc:
        Use 'sort_length()' instead of 'pack_length()' to get length of field.
        Store suffix_length last for varbinary (blob) objects.
        The above ensures that BLOB/VARBINARY are correctly sorted (shorter strings before longer ones)
      sql/sql_class.h:
        Added sort suffix length (to get varbinary/blob to sort correctly)
      sql/sql_select.cc:
        Use sort_length() instead of pack_lengths()
      strings/ctype-bin.c:
        Don't let strnxfrm_bin store length last
        Better to do it in MySQL field object to ensure it's done properly for all cases
      b896d334
    • unknown's avatar
      Merge sanja.is.com.ua:/home/bell/mysql/bk/mysql-4.1 · 0dc3105a
      unknown authored
      into  sanja.is.com.ua:/home/bell/mysql/bk/work-qc-4.1
      
      
      0dc3105a
    • unknown's avatar
      - set 'updating' in both tables list if we have two of them (because of subquery) (BUG#13236) · 00695490
      unknown authored
      - fixed test
      
      
      mysql-test/r/rpl_multi_update2.result:
        fixed setting/reseting environment
        multi-update with subquery added
      mysql-test/t/rpl_multi_update2.test:
        fixed setting/reseting environment
        multi-update with subquery added
      sql/sql_update.cc:
        set 'updating' in both tables list if we have two of them (because of subquery)
      00695490
    • unknown's avatar
      Merge pgalbraith@bk-internal.mysql.com:/home/bk/mysql-5.0 · 365472f6
      unknown authored
      into  krsna.patg.net:/home/patg/mysql-build/mysql-5.0
      
      
      365472f6
    • unknown's avatar
      BUG# 13146 · b52b67eb
      unknown authored
      Re-application of patch to clean 5.0 tree. Fixed issue with ANSI quotes 
      when dumping triggers
      
      
      client/mysqldump.c:
        BUG# 13146
        
        Re-application of fix to clean 5.0 tree. 
        
        Added comments for quote_name, moved declarations into proper order, 
        unset MASK_ANSI_QUOTES flag in opt_compatible_mode global when dumping
        triggers
      mysql-test/r/mysqldump.result:
        BUG# 13146
        
        New test results
      mysql-test/t/mysqldump.test:
        BUG# 13146
        
        New test
      b52b67eb
    • unknown's avatar
      Merge lgrimmer@bk-internal.mysql.com:/home/bk/mysql-4.1 · eb8be326
      unknown authored
      into mysql.com:/space/my/mysql-4.1
      
      
      eb8be326
    • unknown's avatar
      Merge mysql.com:/space/my/mysql-4.1 into mysql.com:/space/my/mysql-5.0 · 5eac62c7
      unknown authored
      
      support-files/mysql.spec.sh:
        Auto merged
      5eac62c7
    • unknown's avatar
      Merge mysql.com:/space/my/mysql-4.0 into mysql.com:/space/my/mysql-4.1 · 507dc62a
      unknown authored
      
      support-files/mysql.spec.sh:
        Auto merged
      507dc62a
    • unknown's avatar
      - added a usermod call in the postinstall section of the RPM spec file · 124b0a59
      unknown authored
         to assign a potential existing mysql user to the correct user group (BUG#12823) 
      
      
      support-files/mysql.spec.sh:
         - added a usermod call to assign a potential existing mysql user to the
           correct user group (BUG#12823)
      124b0a59
    • unknown's avatar
      RPM spec file fixes: · 4b51051d
      unknown authored
       - added a usermod call to assign a potential existing mysql user to the
         correct user group (BUG#12823)
       - Save the perror binary built during Max build so it supports the NDB
         error codes (BUG#13740)
       - added a separate macro "mysqld_group" to be able to define the
         user group of the mysql user seperately, if desired.
      
      
      support-files/mysql.spec.sh:
         - added a usermod call to assign a potential existing mysql user to the
           correct user group (BUG#12823)
         - Save the perror binary built during Max build so it supports the NDB
           error codes (BUG#13740)
         - added a separate macro "mysqld_group" to be able to define the
           user group of the mysql user seperately, if desired.
      4b51051d
    • unknown's avatar
      Merge mysql.com:/home/my/mysql-4.1 · 08d45918
      unknown authored
      into  mysql.com:/home/my/mysql-5.0
      
      
      mysql-test/t/select.test:
        Auto merged
      sql/item.cc:
        Auto merged
      sql/slave.cc:
        Auto merged
      sql/sql_select.cc:
        Auto merged
      vio/vio.c:
        Auto merged
      mysql-test/r/select.result:
        Merge and change table names a,b,c to t1,t2.t3
      08d45918
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-5.0 · 53eae4a0
      unknown authored
      into  mysql.com:/home/my/mysql-5.0
      
      
      sql/item.cc:
        Auto merged
      53eae4a0