An error occurred fetching the project authors.
  1. 26 Jul, 2005 1 commit
    • unknown's avatar
      func_gconcat.result, func_gconcat.test: · 8624bcfd
      unknown authored
        Adding test
      item_sum.cc:
        Adding a call for collation/charset aggregation,
            to collect attributes from the arguments. The actual bug fix.
      item_func.h, item_func.cc, item.h, item.cc:
        - Removing collation aggrgation functions from Item_func class
            in item.cc, and adding it as non-class functions in item.cc
            to be able to reuse this code for group_concat.
            - Adding replacement for these functions into Item_func class
            as wrappers for moved functions, to minizize patch size,
      
      
      sql/item.cc:
        - Removing collation aggrgation functions from Item_func class
            in item.cc, and adding it as non-class functions in item.cc
            to be able to reuse this code for group_concat.
            - Adding replacement for these functions into Item_func class
            as wrappers for moved functions, to minizize patch size,
      sql/item.h:
        - Removing collation aggrgation functions from Item_func class
            in item.cc, and adding it as non-class functions in item.cc
            to be able to reuse this code for group_concat.
            - Adding replacement for these functions into Item_func class
            as wrappers for moved functions, to minizize patch size,
      sql/item_func.cc:
        - Removing collation aggrgation functions from Item_func class
            in item.cc, and adding it as non-class functions in item.cc
            to be able to reuse this code for group_concat.
            - Adding replacement for these functions into Item_func class
            as wrappers for moved functions, to minizize patch size,
      sql/item_func.h:
        - Removing collation aggrgation functions from Item_func class
            in item.cc, and adding it as non-class functions in item.cc
            to be able to reuse this code for group_concat.
            - Adding replacement for these functions into Item_func class
            as wrappers for moved functions, to minizize patch size,
      sql/item_sum.cc:
        Adding a call for collation/charset aggregation,
            to collect attributes from the arguments. The actual bug fix.
      mysql-test/t/func_gconcat.test:
        Adding test
      mysql-test/r/func_gconcat.result:
        Adding test
      8624bcfd
  2. 03 Jun, 2005 1 commit
    • unknown's avatar
      Move USE_PRAGMA_IMPLEMENTATION to proper place · 72dd44b9
      unknown authored
      Ensure that 'null_value' is not accessed before val() is called in FIELD() functions
      Fixed initialization of key maps. This fixes some problems with keys when you have more than 64 keys
      Fixed that ROLLUP don't always create a temporary table. This fix ensures that func_gconcat.test results are now predictable
      
      
      mysql-test/r/func_gconcat.result:
        Move innodb specific test to innodb.test
        Changed table name r2 -> t2
        More test to see how ROLLUP was optimized
      mysql-test/r/innodb.result:
        Moved test here form func_gconcat
      mysql-test/r/olap.result:
        New test results after optimization
      mysql-test/t/func_gconcat.test:
        Move innodb specific test to innodb.test
        Changed table name r2 -> t2
        More test to see how ROLLUP was optimized
      mysql-test/t/innodb.test:
        Moved test here form func_gconcat
      sql/field.cc:
        Move USE_PRAGMA_IMPLEMENTATION to proper place
      sql/ha_berkeley.cc:
        Move USE_PRAGMA_IMPLEMENTATION to proper place
      sql/ha_blackhole.cc:
        Move USE_PRAGMA_IMPLEMENTATION to proper place
      sql/ha_heap.cc:
        Move USE_PRAGMA_IMPLEMENTATION to proper place
      sql/ha_innodb.cc:
        Move USE_PRAGMA_IMPLEMENTATION to proper place
      sql/ha_isam.cc:
        Move USE_PRAGMA_IMPLEMENTATION to proper place
      sql/ha_isammrg.cc:
        Move USE_PRAGMA_IMPLEMENTATION to proper place
      sql/ha_myisam.cc:
        Move USE_PRAGMA_IMPLEMENTATION to proper place
      sql/ha_myisammrg.cc:
        Move USE_PRAGMA_IMPLEMENTATION to proper place
      sql/ha_ndbcluster.cc:
        Move USE_PRAGMA_IMPLEMENTATION to proper place
      sql/handler.cc:
        Move USE_PRAGMA_IMPLEMENTATION to proper place
      sql/hash_filo.cc:
        Move USE_PRAGMA_IMPLEMENTATION to proper place
      sql/item.cc:
        Move USE_PRAGMA_IMPLEMENTATION to proper place
      sql/item_cmpfunc.cc:
        Move USE_PRAGMA_IMPLEMENTATION to proper place
      sql/item_func.cc:
        Move USE_PRAGMA_IMPLEMENTATION to proper place
        Ensure that 'null_value' is not accessed before val() is called
      sql/item_geofunc.cc:
        Move USE_PRAGMA_IMPLEMENTATION to proper place
      sql/item_strfunc.cc:
        Move USE_PRAGMA_IMPLEMENTATION to proper place
      sql/item_subselect.cc:
        Move USE_PRAGMA_IMPLEMENTATION to proper place
      sql/item_sum.cc:
        Move USE_PRAGMA_IMPLEMENTATION to proper place
      sql/item_timefunc.cc:
        Move USE_PRAGMA_IMPLEMENTATION to proper place
      sql/item_uniq.cc:
        Move USE_PRAGMA_IMPLEMENTATION to proper place
      sql/log_event.cc:
        Move USE_PRAGMA_IMPLEMENTATION to proper place
      sql/mysql_priv.h:
        Change key_map_full to not be const as we are giving it a proper value on startup
      sql/mysqld.cc:
        Move key_map variables here and initialize key_map_full properly
      sql/opt_range.cc:
        Move USE_PRAGMA_IMPLEMENTATION to proper place
      sql/opt_range.h:
        Fix that test_quick_select() works with any ammount of keys
      sql/procedure.cc:
        Move USE_PRAGMA_IMPLEMENTATION to proper place
      sql/protocol.cc:
        Move USE_PRAGMA_IMPLEMENTATION to proper place
      sql/protocol_cursor.cc:
        Move USE_PRAGMA_IMPLEMENTATION to proper place
      sql/set_var.cc:
        Move USE_PRAGMA_IMPLEMENTATION to proper place
      sql/sql_analyse.cc:
        Move USE_PRAGMA_IMPLEMENTATION to proper place
      sql/sql_class.cc:
        Move USE_PRAGMA_IMPLEMENTATION to proper place
      sql/sql_crypt.cc:
        Move USE_PRAGMA_IMPLEMENTATION to proper place
      sql/sql_insert.cc:
        Fixed that max_rows is ulong
      sql/sql_list.cc:
        Move USE_PRAGMA_IMPLEMENTATION to proper place
      sql/sql_map.cc:
        Move USE_PRAGMA_IMPLEMENTATION to proper place
      sql/sql_olap.cc:
        Move USE_PRAGMA_IMPLEMENTATION to proper place
      sql/sql_select.cc:
        Move USE_PRAGMA_IMPLEMENTATION to proper place
        Fixed that ROLLUP don't have to always create a temporary table
        Added new argument to remove_const() to make above possible
        Fixed some errors that creapt up when we don't always do a temporary table for ROLLUP
      sql/sql_string.cc:
        Move USE_PRAGMA_IMPLEMENTATION to proper place
      sql/sql_table.cc:
        Simple optimizations
        Fixed wrong checking of build_table_path() in undef-ed code
      sql/sql_udf.cc:
        Move USE_PRAGMA_IMPLEMENTATION to proper place
      sql/sql_yacc.yy:
        removed extra {}
      72dd44b9
  3. 31 May, 2005 1 commit
  4. 16 Mar, 2005 1 commit
  5. 15 Jan, 2005 1 commit
    • unknown's avatar
      func_gconcat.result, func_gconcat.test: · 16f3170e
      unknown authored
        Added a test case for bug #7769.
      item_sum.h:
        Fixed bug #7769: a crash for queries with group_concat and
        having when the query table was empty.
        The bug was due an unsafe dereferencing.
      
      
      sql/item_sum.h:
        Fixed bug #7769: a crash for queries with group_concat and
        having when the query table was empty.
        The bug was due an unsafe dereferencing.
      mysql-test/t/func_gconcat.test:
        Added a test case for bug #7769.
      mysql-test/r/func_gconcat.result:
        Added a test case for bug #7769.
      16f3170e
  6. 10 Oct, 2004 1 commit
    • unknown's avatar
      Blob support for the group_concat() function. · b123f514
      unknown authored
      (Bug #4315: GROUP_CONCAT with ORDER BY returns strange results for TEXT fields
       Bug #5564: Strange behaviour with group_concat and distinct
       Bug #5970: group_concat doesn't print warnings)
      
      
      b123f514
  7. 23 Aug, 2004 1 commit
    • unknown's avatar
      after review fixes: · 13f7338a
      unknown authored
       allowed parsing of table fields inside aggregate functions
       added new tests of fields resolving in grouping
      
      
      mysql-test/r/func_gconcat.result:
        allowed parsing of table fields inside aggregate functions
      mysql-test/r/subselect.result:
        added new tests of fields resolving in grouping
      mysql-test/t/func_gconcat.test:
        allowed parsing of table fields inside aggregate functions
      mysql-test/t/subselect.test:
        added new tests of fields resolving in grouping
      sql/item_subselect.cc:
        allowed parsing of table fields inside aggregate functions
      13f7338a
  8. 13 Aug, 2004 2 commits
    • unknown's avatar
      apply UNIQUE constrain correctly for multi-byte charsets · b6f6d5b2
      unknown authored
      only MyISAM is fixed
      
      
      include/m_ctype.h:
        my_charpos() macro
      myisam/mi_key.c:
        apply UNIQUE constrain correctly for multi-byte charsets
      mysql-test/r/binary.result:
        new test
      mysql-test/r/key.result:
        apply UNIQUE constrain correctly for multi-byte charsets
      mysql-test/t/binary.test:
        new test
      mysql-test/t/func_gconcat.test:
        make test to pass w/o InnoDB
      mysql-test/t/key.test:
        apply UNIQUE constrain correctly for multi-byte charsets
      b6f6d5b2
    • unknown's avatar
      skip resolving field in table list if table list is not accessable due to groupping (BUG#4814) · d0c87702
      unknown authored
      mysql-test/r/func_gconcat.result:
        fix of test queries
      mysql-test/r/subselect.result:
        resolving fields of grouped outer SELECT
      mysql-test/t/func_gconcat.test:
        fix of test queries
      mysql-test/t/subselect.test:
        resolving fields of grouped outer SELECT
      sql/item.cc:
        skip resolving field in table list if table list is not accessable due to groupping
        layout fixed
      sql/item_subselect.cc:
        detection of place of subquery
      sql/item_subselect.h:
        detection of place of subquery
      sql/mysql_priv.h:
        enum_parsing_place made global type
      sql/sql_lex.cc:
        enum_parsing_place made global type
      sql/sql_lex.h:
        enum_parsing_place made global type
      sql/sql_yacc.yy:
        enum_parsing_place made global type
      d0c87702
  9. 10 Aug, 2004 1 commit
    • unknown's avatar
      BUG#4315 · 700c2d62
      unknown authored
      BUG#4535
      BUG#4686
      
      
      mysql-test/r/func_gconcat.result:
        add testes of blobs and null values
      mysql-test/t/func_gconcat.test:
        add testes of blobs and null values
      sql/item_sum.cc:
        replace code with maybe_null and change store mode of fields
      700c2d62
  10. 21 Jun, 2004 1 commit
  11. 08 Jun, 2004 1 commit
    • unknown's avatar
      a fix · 66c40872
      unknown authored
      (Bug #4035 GROUP_CONCAT with HAVING clause truncates field                       
      Bug #4057 LEFT() function in HAVING clause truncates query result).
      
      
      mysql-test/r/func_gconcat.result:
        a test case
        Bug #4035 GROUP_CONCAT with HAVING clause truncates field                       
        Bug #4057 LEFT() function in HAVING clause truncates query result
      mysql-test/t/func_gconcat.test:
        a test case
        Bug #4035 GROUP_CONCAT with HAVING clause truncates field                       
        Bug #4057 LEFT() function in HAVING clause truncates query result
      sql/item_strfunc.cc:
        a fix (Bug #4057 LEFT() function in HAVING clause truncates query result)
      sql/item_strfunc.h:
        a fix (Bug #4057 LEFT() function in HAVING clause truncates query result)
      sql/item_sum.cc:
        a fix (Bug #4035 GROUP_CONCAT with HAVING clause truncates field)
      sql/item_sum.h:
        a fix (Bug #4035 GROUP_CONCAT with HAVING clause truncates field)
      66c40872
  12. 01 Jun, 2004 1 commit
    • unknown's avatar
      Update version number · 3d6c1786
      unknown authored
      Fixed serbian error messages
      Fix for windows regarding changed variable name
      
      
      configure.in:
        Update version number
        Added serbian error messages
      libmysqld/libmysqld.def:
        Fix changed variable names
      mysql-test/t/func_gconcat.test:
        remove some \r
      sql/share/serbian/errmsg.txt:
        Added missing error messages
      3d6c1786
  13. 15 May, 2004 1 commit
    • unknown's avatar
      results fix · a936a280
      unknown authored
      mysql-test/r/func_encrypt.result:
        right SELECT print
      mysql-test/r/func_gconcat.result:
        make results stable
      mysql-test/t/func_gconcat.test:
        make results stable
      a936a280
  14. 14 May, 2004 1 commit
  15. 07 Apr, 2004 1 commit
    • unknown's avatar
      Portability fixes · e9447881
      unknown authored
      Fixed problems with group_concat() and HAVING
      Updated crash-me values
      
      
      sql-bench/limits/mysql-4.0.cfg:
        Rename: sql-bench/limits/mysql.cfg -> sql-bench/limits/mysql-4.0.cfg
      include/my_global.h:
        Safety fix
      libmysqld/Makefile.am:
        Portability fix (For AIX 64 bit)
      mysql-test/r/func_gconcat.result:
        More tests
      mysql-test/t/func_gconcat.test:
        More tests
      sql/field.cc:
        Cleanups
      sql/init.cc:
        moved thread_stack_min to right place
      sql/item_sum.cc:
        Fixed problems with group_concat() and HAVING
        Removed some not needed variables
      sql/item_sum.h:
        Fixed problems with group_concat() and HAVING
        Removed some not needed variables
      sql/mysqld.cc:
        Moved thread_stack_min to right place to handle case where we didn't get as much stack space as we asked for
      sql/sql_parse.cc:
        More debugging
      sql/sql_select.cc:
        Cleanup
      sql/sql_yacc.yy:
        Fixed handling of Item_group_concat() in having. (Arguments should not be handled as refs)
      e9447881
  16. 05 Apr, 2004 1 commit
    • unknown's avatar
      Fixed many compiler warnings · 7873b89f
      unknown authored
      Fixed bugs in group_concat with ORDER BY and DISTINCT (Bugs #2695, #3381 and #3319)
      Fixed crash when doing rollback in slave and the io thread catched up with the sql thread
      Set locked_in_memory properly
      
      
      include/mysql_com.h:
        Fixed compiler warning
      libmysqld/emb_qcache.cc:
        Removed not used variable
      libmysqld/lib_sql.cc:
        Removed not used variable
      myisam/mi_locking.c:
        Added comment
      myisam/mi_rnext.c:
        Fixed bug in concurrent insert
      myisam/mi_rprev.c:
        Simple optimization
      mysql-test/r/func_gconcat.result:
        New tests
      mysql-test/t/func_gconcat.test:
        New tests
      mysql-test/t/func_group.test:
        Cleanup
      sql-common/client.c:
        Removed compiler warning
      sql/derror.cc:
        Better comments
      sql/field.cc:
        Removed not used function/variable
      sql/field.h:
        Removed not needed variable
      sql/ha_innodb.cc:
        Removed not used function
      sql/item.cc:
        Fixed compiler warning
      sql/item_cmpfunc.cc:
        Fixed compiler warning
      sql/item_func.cc:
        Fixed compiler warning
      sql/item_geofunc.cc:
        Fixed compiler warning
      sql/item_sum.cc:
        Fixed bugs in group_concat and added more comments
        (Bugs #2695, #3381 and #3319)
        - field->abs_offset was not needed
        - Wrong assumption of field order in temporary table
        - Some not used variables removed
        - Added ORDER BY fields after argument fields so that code in sql_select.cc can move all fields to point to temporary tables, if needed.
        - Optimized loops
      sql/item_sum.h:
        Bug fixing and cleanup of group_concat()
      sql/log.cc:
        Removed wrong comment
      sql/log_event.cc:
        Removed compiler warning
      sql/mysqld.cc:
        Set locked_in_memory properly
      sql/protocol.cc:
        Removed compiler warning
      sql/set_var.cc:
        Code cleanup
      sql/slave.cc:
        Fixed crash when doing rollback in slave and the io thread catched up with the sql thread
      sql/sql_cache.cc:
        Removed compiler warnings
      sql/sql_derived.cc:
        Removed not used variable
      sql/sql_insert.cc:
        Removed compiler warnings
      sql/sql_lex.cc:
        Removed not used lable
      sql/sql_lex.h:
        Removed compiler warnings
      sql/sql_parse.cc:
        Removed compiler warnings
      sql/sql_prepare.cc:
        Removed compiler warnings
      sql/sql_select.cc:
        Removed not used variables
        Added function comments
      sql/sql_show.cc:
        Removed compiler warnings
      sql/sql_yacc.yy:
        Fix for ORDER BY handling in GROUP_CONCAT()
      7873b89f
  17. 30 Oct, 2003 1 commit
    • unknown's avatar
      added code covarage for functions convert(), nullif(), crc32(),... · 87e6c2ba
      unknown authored
      added code covarage for functions convert(), nullif(), crc32(), is_used_lock(), char_lengtrh(), bit_xor()
      added string length for more speed
      made code covarage for print() method of Item
      fixed printability of some items (SCRUM) (WL#1274)
      
      
      mysql-test/r/auto_increment.result:
        print() code coverage
      mysql-test/r/bench_count_distinct.result:
        print() code coverage
      mysql-test/r/case.result:
        print() code coverage
      mysql-test/r/cast.result:
        print() code coverage
      mysql-test/r/ctype_collate.result:
        print() code coverage
      mysql-test/r/ctype_many.result:
        convert with 3 arguments code covarage
        print() code coverage
      mysql-test/r/ctype_utf8.result:
        char_length code coverage
      mysql-test/r/date_formats.result:
        print() code coverage
      mysql-test/r/fulltext.result:
        print() code coverage
      mysql-test/r/func_compress.result:
        print() code coverage
      mysql-test/r/func_gconcat.result:
        print() code coverage
      mysql-test/r/func_group.result:
        bit_xor() code coverage
        print() code coverage
      mysql-test/r/func_if.result:
        nullif() code coverage
        print() code coverage
      mysql-test/r/func_in.result:
        print() code coverage
      mysql-test/r/func_math.result:
        print() code coverage
      mysql-test/r/func_op.result:
        print() code coverage
      mysql-test/r/func_regexp.result:
        print() code coverage
      mysql-test/r/func_set.result:
        print() code coverage
      mysql-test/r/func_str.result:
        crc32() code coverage
        print() code coverage
      mysql-test/r/func_system.result:
        print() code coverage
      mysql-test/r/func_test.result:
        print() code coverage
      mysql-test/r/func_time.result:
        print() code coverage
      mysql-test/r/group_by.result:
        print() code coverage
      mysql-test/r/having.result:
        print() code coverage
      mysql-test/r/insert_update.result:
        print() code coverage
      mysql-test/r/null.result:
        print() code coverage
      mysql-test/r/olap.result:
        print() code coverage
      mysql-test/r/query_cache.result:
        print() code coverage
      mysql-test/r/row.result:
        print() code coverage
      mysql-test/r/rpl000001.result:
        print() code coverage
      mysql-test/r/rpl_get_lock.result:
        print() code coverage
      mysql-test/r/rpl_master_pos_wait.result:
        print() code coverage
      mysql-test/r/select.result:
        print() code coverage
      mysql-test/r/subselect.result:
        print() code coverage
      mysql-test/r/type_blob.result:
        print() code coverage
      mysql-test/r/varbinary.result:
        print() code coverage
      mysql-test/r/variables.result:
        print() code coverage
      mysql-test/t/auto_increment.test:
        print() code coverage
      mysql-test/t/bench_count_distinct.test:
        print() code coverage
      mysql-test/t/case.test:
        print() code coverage
      mysql-test/t/cast.test:
        print() code coverage
      mysql-test/t/ctype_collate.test:
        print() code coverage
      mysql-test/t/ctype_many.test:
        convert with 3 arguments code covarage
        print() code coverage
      mysql-test/t/ctype_utf8.test:
        char_length code coverage
      mysql-test/t/date_formats.test:
        print() code coverage
      mysql-test/t/fulltext.test:
        print() code coverage
      mysql-test/t/func_compress.test:
        print() code coverage
      mysql-test/t/func_gconcat.test:
        print() code coverage
      mysql-test/t/func_group.test:
        bit_xor() code coverage
        print() code coverage
      mysql-test/t/func_if.test:
        nullif() code coverage
        print() code coverage
      mysql-test/t/func_in.test:
        print() code coverage
      mysql-test/t/func_math.test:
        print() code coverage
      mysql-test/t/func_op.test:
        print() code coverage
      mysql-test/t/func_regexp.test:
        print() code coverage
      mysql-test/t/func_set.test:
        print() code coverage
      mysql-test/t/func_str.test:
        crc32() code covarage
        print() code coverage
      mysql-test/t/func_system.test:
        print() code coverage
      mysql-test/t/func_test.test:
        print() code coverage
      mysql-test/t/func_time.test:
        print() code coverage
      mysql-test/t/group_by.test:
        print() code coverage
      mysql-test/t/having.test:
        print() code coverage
      mysql-test/t/insert_update.test:
        print() code coverage
      mysql-test/t/null.test:
        print() code coverage
      mysql-test/t/olap.test:
        print() code coverage
      mysql-test/t/query_cache.test:
        print() code coverage
      mysql-test/t/row.test:
        print() code coverage
      mysql-test/t/rpl000001.test:
        print() code coverage
      mysql-test/t/rpl_get_lock.test:
        print() code coverage
      mysql-test/t/rpl_master_pos_wait.test:
        print() code coverage
      mysql-test/t/select.test:
        print() code coverage
      mysql-test/t/type_blob.test:
        print() code coverage
      mysql-test/t/varbinary.test:
        print() code coverage
      mysql-test/t/variables.test:
        print() code coverage
      sql/item.cc:
        added string length for more speed
        layout fix
        fixed string printability
      sql/item.h:
        added string length for more speed
      sql/item_cmpfunc.cc:
        added string length for more speed
      sql/item_cmpfunc.h:
        fixed printability
      sql/item_create.cc:
        fixed printability
      sql/item_func.cc:
        fixed printability
        added string length for more speed
      sql/item_func.h:
        fixed printability
      sql/item_strfunc.cc:
        fixed printability
        added string length for more speed
      sql/item_strfunc.h:
        fixed printability
      sql/item_subselect.cc:
        added string length for more speed
      sql/item_sum.cc:
        added string length for more speed
      sql/item_timefunc.cc:
        added string length for more speed
      sql/item_timefunc.h:
        fixed printability
      sql/item_uniq.h:
        added string length for more speed
      sql/key.cc:
        added string length for more speed
      sql/sql_lex.cc:
        added string length for more speed
      sql/sql_parse.cc:
        after merge fix
      sql/sql_repl.cc:
        string changed with character for more speed
      sql/sql_select.cc:
        added string length for more speed
      sql/sql_show.cc:
        added string length for more speed
      87e6c2ba
  18. 12 Oct, 2003 1 commit
    • unknown's avatar
      fixed fix_fields() parameters for GROUP_CONCAT() ORDER BY clause · 6159df3e
      unknown authored
      (BUG#1537)
      
      
      mysql-test/r/func_gconcat.result:
        test of BUG#1537
      mysql-test/t/func_gconcat.test:
        test of BUG#1537
      sql/item_sum.cc:
        passing correct address of pointer to item to fix_dields(), using that addres to get access to item after fix_fields
      6159df3e
  19. 08 Oct, 2003 1 commit
    • unknown's avatar
      Fixed test case to work on NetWare. · ddfb716d
      unknown authored
      mysql-test/r/func_gconcat.result:
        Removed extraneous CR (0x0D)
      mysql-test/t/func_gconcat.test:
        Removed extraneous CR (0x0D)
      ddfb716d
  20. 04 Sep, 2003 1 commit
    • unknown's avatar
      BUG · d89b2a9f
      unknown authored
      correct bug 1085 (a problem with min/max functions)
      add tests of bugs 833,836,1085
      
      
      mysql-test/r/func_gconcat.result:
        add tests of bugs 833, 836, 1085
      mysql-test/t/func_gconcat.test:
        add tests of bugs #833, 836, 1085
      sql/item_sum.cc:
        merge
      sql/item_sum.h:
        correct bug 1085
      d89b2a9f
  21. 06 Jul, 2003 1 commit
    • unknown's avatar
      fixed memory leak in group_concat function (BUG#796) · cd3e15a6
      unknown authored
      fixed test func_gconcat to be repeatable independent of presend tables and avoid removing user tables
      
      
      mysql-test/r/func_gconcat.result:
        removed warning in test
        fixed table tnames (should be tN, where N is number)
      mysql-test/t/func_gconcat.test:
        removed warning in test
        fixed table tnames (should be tN, where N is number)
      sql/item_sum.cc:
        added debug information
        fixed memory leak in group_concat function
      cd3e15a6
  22. 05 Jul, 2003 1 commit
    • unknown's avatar
      reduced using of slow current_thd/current_lex macro · 0f792995
      unknown authored
      initialization of item_thd moved to constructor (in any case we need thd in constructor)
      initialization of group_concat_max_len to constructor to avoid incorrect length reporting (BUG#757)
      removed Item_func_group_concat::fix_length_and_dec() because item have its own fix_fields and will not have inherited items
      
      
      mysql-test/r/func_gconcat.result:
        test for BUG#757
      mysql-test/t/func_gconcat.test:
        test for BUG#757
      sql/item_sum.cc:
        reduced using of slow current_thd/current_lex macro
        initialization of item_thd moved to constructor (in any case we need thd in constructor)
        initialization of group_concat_max_len to constructor to avoid incorrect length reporting (BUG#757)
      sql/item_sum.h:
        removed Item_func_group_concat::fix_length_and_dec() because item have its own fix_fields and will not have inherited items
      0f792995
  23. 03 Jul, 2003 1 commit
    • unknown's avatar
      Fixed test case to be more portable · 3af862c7
      unknown authored
      mysql-test/r/func_gconcat.result:
        Update results
      mysql-test/t/func_gconcat.test:
        Make tests repeatable.  The problem is that due to floating point handling / qsort implementation the way rows are read may differ between versions
      3af862c7
  24. 31 May, 2003 1 commit
    • unknown's avatar
      URGENT · e0c9de6e
      unknown authored
      SCRUM
      BUG
      correct wrong code in group_concat
      
      
      mysql-test/r/func_gconcat.result:
        add new tests
      mysql-test/t/func_gconcat.test:
        add new tests
      sql/field.cc:
        add new variable for group_concat
      sql/field.h:
        add new variable for group_concat
      sql/item_sum.cc:
        correct wrong code
      sql/item_sum.h:
        correct wrong code
      e0c9de6e
  25. 02 Apr, 2003 1 commit
    • unknown's avatar
      SCRUM · 6feda00d
      unknown authored
      correct sql_alloc, ORDER BY and NULL value in group_concat
      add comments
      move test msg_arg
      add test on NULL
      
      
      mysql-test/r/func_gconcat.result:
        change work with NULL
      mysql-test/t/func_gconcat.test:
        add test on NULL
      sql/item_sum.cc:
        correct sql_alloc, ORDER BY and NULL value
        add comments
      sql/sql_class.h:
        move test msg_arg
      6feda00d
  26. 17 Mar, 2003 1 commit
    • unknown's avatar
      This is full commit of group_concat with support subselects · 0b505fb4
      unknown authored
      include/mysqld_error.h:
        add warning
      sql/field.h:
        add friend class
      sql/item_sum.cc:
        add function
      sql/item_sum.h:
        add class
      sql/lex.h:
        add lex
      sql/mysql_priv.h:
        change push_warning
      sql/mysqld.cc:
        add new option
      sql/set_var.cc:
        add new system variable
      sql/share/english/errmsg.txt:
        add new message text
      sql/sql_class.h:
        change MY_ERROR class
      sql/sql_error.cc:
        change push_warning
      sql/sql_lex.h:
        add qorder_list for function
      sql/sql_yacc.yy:
        add structure of group_concat
      BitKeeper/etc/logging_ok:
        Logging to logging@openlogging.org accepted
      0b505fb4