An error occurred fetching the project authors.
  1. 15 Oct, 2003 1 commit
    • unknown's avatar
      Add in bit_xor function (approved by Sergei) · acb47c93
      unknown authored
      sql/item_sum.cc:
        Add in bit_xor class functions.
      sql/item_sum.h:
        Add bit_xor class.
      sql/lex.h:
        Add in bit_xor symbol.
      sql/sql_yacc.yy:
        Add in bit_xor function
      BitKeeper/etc/logging_ok:
        Logging to logging@openlogging.org accepted
      acb47c93
  2. 12 Oct, 2003 2 commits
    • unknown's avatar
      fixed printability of Items (all items except subselects) · 1d17fd7d
      unknown authored
      (SCRUM) (WL#1274)
      
      
      sql/item.cc:
        fixed printability of Items
      sql/item.h:
        fixed printability of Items
      sql/item_cmpfunc.cc:
        fixed printability of Items
      sql/item_cmpfunc.h:
        fixed printability of Items
      sql/item_func.cc:
        fixed printability of Items
      sql/item_func.h:
        fixed printability of Items
      sql/item_geofunc.h:
        added DBUG_ASSERT to catch error in debuging timw
      sql/item_row.cc:
        fixed printability of Items
      sql/item_row.h:
        fixed printability of Items
      sql/item_strfunc.cc:
        fixed printability of Items
      sql/item_strfunc.h:
        fixed printability of Items
      sql/item_sum.cc:
        fixed printability of Items
      sql/item_sum.h:
        fixed printability of Items
      sql/item_timefunc.cc:
        fixed printability of Items
      sql/item_timefunc.h:
        layout fixed
        fixed printability of Items
      sql/item_uniq.h:
        fixed printability of Items
      sql/sql_yacc.yy:
        layout fixed
        correct convertion to String
      1d17fd7d
    • 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
  3. 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
  4. 29 Aug, 2003 1 commit
  5. 28 Aug, 2003 2 commits
    • unknown's avatar
      BUG · 40156410
      unknown authored
      correct bugs #833 and #836
      
      
      sql/item_sum.cc:
        correct bug #833 (add real_item())
      sql/item_sum.h:
        correct bug #836 
        add method no_rows_in_result()
      40156410
    • unknown's avatar
      reset() split in 2 function clear() & add() · 85f7a697
      unknown authored
      aggregate function reinitialization (if no rows was found) made with help of clear()
      (fixed BUG#860)
      
      
      mysql-test/r/subselect.result:
        test for BUG#860
      mysql-test/t/subselect.test:
        test for BUG#860
      sql/item_sum.cc:
        reset() replaced with clear()
      sql/item_sum.h:
        reset() replaced with clear()
        (reset now is just composition of clear() and add())
      sql/item_uniq.h:
        reset() replaced with clear()
      sql/sql_select.cc:
        removed NULL value assigment, now it will be done by clear() call
        function for clearing if there was not found any row in group
      sql/sql_select.h:
        function for clearing if there was not found any row in group
      85f7a697
  6. 27 Aug, 2003 2 commits
    • unknown's avatar
      hanged UDF interface to use clear() instead of reset() · 0ee6f7fd
      unknown authored
      BUILD/FINISH.sh:
        Add just_clean option (for cleanup script)
      scripts/mysql_fix_privilege_tables.sql:
        Added 'USE mysql' for easer use on windows
      sql/item_sum.cc:
        Changed UDF interface to use clear() instead of reset()
      sql/item_sum.h:
        Changed UDF interface to use clear() instead of reset()
      sql/slave.cc:
        Fixed checking of eof for slave/master protocol. (Bug #887)
      sql/sql_udf.cc:
        Changed UDF interface to use clear() instead of reset()
      sql/sql_udf.h:
        Changed UDF interface to use clear() instead of reset()
      sql/sql_yacc.yy:
        ERRORS and WARNINGS should not be reserved words
      sql/udf_example.cc:
        Changed UDF interface to use clear() instead of reset()
      0ee6f7fd
    • unknown's avatar
      Add column names for metadata when running mysql with -T · b43a551e
      unknown authored
      Change metadata info so that that MIN() and code MAX() reports that they can return NULL. Bug #324
      
      
      client/mysql.cc:
        Add column names for metadata when running with -T
      mysql-test/r/show_check.result:
        test case for bug fix
      mysql-test/t/show_check.test:
        test case for bug fix
      sql/item_sum.cc:
        Change metadata info so that that MIN() and code MAX() reports that they can return NULL. Bug #324
      sql/sql_load.cc:
        Removed not needed line
      b43a551e
  7. 23 Aug, 2003 1 commit
    • unknown's avatar
      fixed bug of lack of fix_fields call (after merge bugfix (SCRUM)) · 93afa26e
      unknown authored
      fixed bug in Item_sum
      fixed bug in dependence remover
      after merge fix
      
      
      mysql-test/r/subselect.result:
        after merge fix
      mysql-test/r/union.result:
        new test
      mysql-test/t/subselect.test:
        after merge fix
      mysql-test/t/union.test:
        new test
      sql/item.cc:
        fixed returned value
      sql/item.h:
        fixed flag dropper
        (I was not able to find Item whicj need more to be fix_fielded twice)
      sql/item_subselect.h:
        fixed initialisation
      sql/item_sum.cc:
        fixed absence of walk method of Item_sum
      sql/item_sum.h:
        fixed absence of walk method of Item_sum
      sql/mysql_priv.h:
        setup_fields reverter
      sql/sql_base.cc:
        setup_fields reverter
      sql/sql_derived.cc:
        fixed bug of lack of fix_fields call
      sql/sql_union.cc:
        fixed bug of lack of fix_fields call
      93afa26e
  8. 20 Aug, 2003 1 commit
    • unknown's avatar
      Fixed some varnings from valgrind · de5d47c3
      unknown authored
      Set min value of max_allowed_packet to 1024
      Fixed problem with UNION's without braces and SQL_CALC_FOUND_ROWS, LIMIT #,#
      and ORDER BY...LIMIT
      
      
      include/m_string.h:
        Added memcpy_overlap() to avoid warnings when using valgrind on memcpy(A,A,...)
      myisam/mi_create.c:
        Fixed comment
      myisam/mi_search.c:
        Fix warning from valgrind
      myisam/mi_write.c:
        Indentation fix
      mysql-test/mysql-test-run.sh:
        Add options handled by general skip- option
      mysql-test/r/packet.result:
        Update results after change to mysqld (min max_allowed_packet length is now 1024)
      mysql-test/r/union.result:
        Added testing of UNION with SQL_CALC_FOUND_ROWS
      mysql-test/t/packet.test:
        Update results after change to mysqld (min max_allowed_packet length is now 1024)
      mysql-test/t/union.test:
        Added testing of UNION with SQL_CALC_FOUND_ROWS
      sql/field.cc:
        Fix to remove waarning from valgrind
      sql/ha_innodb.cc:
        Remove wrong include file
      sql/item_cmpfunc.cc:
        Safety fix to handle EOM conditions in IN
      sql/item_sum.cc:
        Fixed prototype for update_field() (argument was alwys 0)
      sql/item_sum.h:
        Fixed prototype for update_field() (argument was alwys 0)
      sql/item_uniq.h:
        Fixed prototype for update_field() (argument was alwys 0)
      sql/log.cc:
        Indentation fix
      sql/mysqld.cc:
        Set min value of max_allowed_packet to 1024 (to avoid it getting set to 0)
      sql/net_serv.cc:
        Indentation changes + trivial optimization
      sql/sql_select.cc:
        Fixed prototype for update_field() (argument was alwys 0)
      sql/sql_union.cc:
        Fixed problem with UNION's without braces and
        - SQL_CALC_FOUND_ROWS
        - LIMIT #,#
        - ORDER BY ... LIMIT
      de5d47c3
  9. 12 Aug, 2003 1 commit
    • unknown's avatar
      fixed problem with reference on derived table fields (BUG#1031) · 45b145a9
      unknown authored
      mysql-test/r/derived.result:
        test of BUG#1031
      mysql-test/t/derived.test:
        test of BUG#1031
      sql/item_sum.cc:
        'alias' parameter added to create_tmp_table
      sql/sql_derived.cc:
        Derived table should be named (to pass it name to Field and then to Item_field)
      sql/sql_select.cc:
        'alias' parameter added to create_tmp_table
      sql/sql_select.h:
        'alias' parameter added to create_tmp_table
      sql/sql_union.cc:
        'alias' parameter added to create_tmp_table
      sql/sql_update.cc:
        'alias' parameter added to create_tmp_table
      45b145a9
  10. 05 Aug, 2003 2 commits
    • unknown's avatar
      e8da290b
    • unknown's avatar
      Fix: · fc8b1385
      unknown authored
      CREATE TABLE t1 (s1 CHAR(5) CHARACTER SET latin1 COLLATE latin1_german2_ci);
      INSERT INTO t1 VALUES ('Ü');
      INSERT INTO t1 VALUES ('ue');
      SELECT DISTINCT s1 FROM t1;
      
      The above returned two rows in error.
      Now it returns one row, in latin1_german2_ci:  Ü == ue
      
      
      fc8b1385
  11. 30 Jul, 2003 1 commit
    • unknown's avatar
      Derivation attribute was not processed correctly · 53e4153d
      unknown authored
      by MAX/MIN in some cases:
      SELECT coercibility(max(s1)) from t1;
      
      Subselect collation and derivation was not processed
      correctly:
      
      create table a select (select s1 from t1);
      select * from t1 where s1 = (select s2 from t1);
      
      
      
      53e4153d
  12. 24 Jul, 2003 1 commit
    • unknown's avatar
      independent ALL/ANY subselect on top of WHERE clause (subselect without GROUP... · 9a3979e2
      unknown authored
      independent ALL/ANY subselect on top of WHERE clause (subselect without GROUP BY or aggregate functions) optimisation
      
      (SCRUM) (WL#1086)
      
      
      mysql-test/r/subselect.result:
        new optimisation tests
      mysql-test/t/subselect.test:
        new optimisation tests
      sql/item_cmpfunc.cc:
        new NOT
      sql/item_cmpfunc.h:
        new NOT
      sql/item_subselect.cc:
        independent ALL/ANY in top of WHERE clause optimisation
      sql/item_subselect.h:
        independent ALL/ANY in top of WHERE clause optimisation
      sql/item_sum.cc:
        prevent fixlields call for parameters of min/max if it is already done
      sql/sql_union.cc:
        removed debuging print
      sql/sql_yacc.yy:
        support of ALL optimisation
      9a3979e2
  13. 22 Jul, 2003 1 commit
  14. 16 Jul, 2003 1 commit
  15. 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
  16. 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
  17. 02 Jul, 2003 1 commit
    • unknown's avatar
      (SCRUM) · 69be8b9d
      unknown authored
      It looks like samll revolution in SELECT_LEX tree, but it was only natural way to solve problem with name resolution of external fields inside subselect which belongs to global order of union
      also it have following advantages:
       - removed mess with current_select type conversion
         - type checking/converting
         - a lot of virtual methods
       - fake select for union execution allocated only once (it was allocated for every subselect with union executing)
      
      changes:
      fixed bug with outer fields name resolution of subqueries which belong to global ORDER BY clause
      remuved select_lex() function, now thd->lex.current_select always have type SELECT_LEX
      new SELECT_LEX (fake_select_lex) will be allocated in case of UNION for using in UNION processing
      fake_select_lex allocated for union hold global ORDER BY & LIMIT clauses and have linkage equal to GLOBAL_OPTIONS_TYPE 
      new description of SELECT_LEX tree
      
      (SCRUM)
      
      
      sql/item.cc:
        global parameters moved to fake_select_lex
      sql/item_subselect.cc:
        global parameters moved to fake_select_lex
      sql/item_sum.cc:
        no need type checking & converion now
      sql/sql_delete.cc:
        no need type checking & converion now
      sql/sql_derived.cc:
        global parameters moved to fake_select_lex
      sql/sql_lex.cc:
        not used fields/mrthods moved from st_select_lex_node to st_select_lex
        global parameters moved to fake_select_lex
      sql/sql_lex.h:
        comments about new tree of select_lex s
        not used fields/mrthods moved from st_select_lex_node to st_select_lex
        global parameters moved to fake_select_lex
      sql/sql_parse.cc:
        global parameters moved to fake_select_lex
        allocation of fake_select_lex on demand
      sql/sql_select.cc:
        now fake_select_lex marked as GLOBAL_OPTIONS_TYPE
      sql/sql_union.cc:
        global parameters moved to fake_select_lex
      sql/sql_yacc.yy:
        global parameters moved to fake_select_lex
      69be8b9d
  18. 24 Jun, 2003 1 commit
    • unknown's avatar
      Fixed some new memory leaks · fff1f663
      unknown authored
      Updated VC++ files
      
      
      VC++Files/client/mysql.dsp:
        Update of VC++ files
      VC++Files/client/mysqlclient.dsp:
        Update of VC++ files
      VC++Files/libmysqld/examples/test_libmysqld.dsp:
        Update of VC++ files
      VC++Files/libmysqld/libmysqld.def:
        Update of VC++ files
      VC++Files/libmysqld/libmysqld.dsp:
        Update of VC++ files
      VC++Files/myisam/myisam.dsp:
        Update of VC++ files
      VC++Files/mysql.dsw:
        Update of VC++ files
      VC++Files/sql/mysqld.dsp:
        Update of VC++ files
      include/mysql.h:
        Add missing client functions to embedded server
      libmysql/libmysql.def:
        sort functions to enable comparison with libmysqld.def
      libmysqld/libmysqld.c:
        Add missing client functions to embedded server
      libmysqld/libmysqld.def:
        sort functions to enable comparison with libmysql.def
        Added missing functions
      myisam/mi_preload.c:
        Fixed compiler warning.
        Small code cleanup
      scripts/make_win_src_distribution.sh:
        Fixed typo
        Don't run zip in verbose mode
      scripts/mysql_create_system_tables.sh:
        Change so that localhost has full access (to make this like 4.0)
      scripts/mysql_fix_privilege_tables.sh:
        Allow on to run this from the source distribution
      sql-common/client.c:
        Fixed memory leak
      sql/item_sum.cc:
        Removed compiler warning
      sql/slave.cc:
        Cleanup
      sql/sql_client.cc:
        Portability fix
      sql/sql_help.cc:
        Fixed memory leak
      fff1f663
  19. 04 Jun, 2003 1 commit
    • unknown's avatar
      Added SQLSTATE to client/server protocol · b388eb00
      unknown authored
      bmove_allign -> bmove_align
      Added OLAP function ROLLUP
      Split mysql_fix_privilege_tables to a script and a .sql data file
      Added new (MEMROOT*) functions to avoid calling current_thd() when creating some common objects.
      Added table_alias_charset, for easier --lower-case-table-name handling
      Better SQL_MODE handling (Setting complex options also sets sub options)
      New (faster) assembler string functions for x86
      
      
      BitKeeper/etc/ignore:
        added libmysqld/sql_state.c
      client/mysql.cc:
        Added SQLSTATE to error messages
        Added new function put_error() to be able to clean up some old code.
      client/mysqltest.c:
        Write ERROR SQLSTATE for all errors
      dbug/dbug.c:
        Portability fixes
      include/m_string.h:
        Rename bmove_allign as bmove_align
      include/mysql.h:
        Added SQLSTATE (for embedded version)
      include/mysql_com.h:
        Send correct SQLSTATE for the error to the client
      libmysql/libmysql.c:
        Changed default error state to HY000
        Applied code cleanup patch
      libmysqld/Makefile.am:
        Added sql_state.cc
      libmysqld/libmysqld.c:
        Added sqlstate
      mysql-test/r/analyse.result:
        Updated results
      mysql-test/r/ansi.result:
        Updated results
      mysql-test/r/auto_increment.result:
        Updated results
      mysql-test/r/bdb-deadlock.result:
        Updated results
      mysql-test/r/bdb.result:
        Updated results
      mysql-test/r/comments.result:
        Updated results
      mysql-test/r/create.result:
        Updated results
      mysql-test/r/ctype_collate.result:
        Updated results
      mysql-test/r/delayed.result:
        Updated results
      mysql-test/r/delete.result:
        Updated results
      mysql-test/r/derived.result:
        Updated results
      mysql-test/r/distinct.result:
        Updated results
      mysql-test/r/drop.result:
        Updated results
      mysql-test/r/err000001.result:
        Updated results
      mysql-test/r/explain.result:
        Updated results
      mysql-test/r/flush.result:
        Updated results
      mysql-test/r/fulltext.result:
        Updated results
      mysql-test/r/func_gconcat.result:
        Updated results
      mysql-test/r/func_system.result:
        Updated results
      mysql-test/r/grant_cache.result:
        Updated results
      mysql-test/r/group_by.result:
        Updated results
      mysql-test/r/handler.result:
        Updated results
      mysql-test/r/heap.result:
        Updated results
      mysql-test/r/heap_btree.result:
        Updated results
      mysql-test/r/heap_hash.result:
        Updated results
      mysql-test/r/innodb.result:
        Updated results
      mysql-test/r/innodb_handler.result:
        Updated results
      mysql-test/r/insert_select.result:
        Updated results
      mysql-test/r/insert_update.result:
        Updated results
      mysql-test/r/join.result:
        Updated results
      mysql-test/r/join_outer.result:
        Updated results
      mysql-test/r/key.result:
        Updated results
      mysql-test/r/lock.result:
        Updated results
      mysql-test/r/lock_multi.result:
        Updated results
      mysql-test/r/merge.result:
        Updated results
      mysql-test/r/multi_update.result:
        Updated results
      mysql-test/r/myisam.result:
        Updated results
      mysql-test/r/null.result:
        Updated results
      mysql-test/r/olap.result:
        Updated results
      mysql-test/r/order_by.result:
        Updated results
      mysql-test/r/packet.result:
        Updated results
      mysql-test/r/query_cache.result:
        Updated results
      mysql-test/r/row.result:
        Updated results
      mysql-test/r/rpl000001.result:
        Updated results
      mysql-test/r/rpl000009.result:
        Updated results
      mysql-test/r/rpl_empty_master_crash.result:
        Updated results
      mysql-test/r/rpl_log.result:
        Updated results
      mysql-test/r/rpl_replicate_do.result:
        Updated results
      mysql-test/r/rpl_rotate_logs.result:
        Updated results
      mysql-test/r/select.result:
        Updated results
      mysql-test/r/select_safe.result:
        Updated results
      mysql-test/r/show_check.result:
        Updated results
      mysql-test/r/sql_mode.result:
        Updated results
      mysql-test/r/subselect.result:
        Updated results
      mysql-test/r/temp_table.result:
        Updated results
      mysql-test/r/truncate.result:
        Updated results
      mysql-test/r/type_blob.result:
        Updated results
      mysql-test/r/type_decimal.result:
        Updated results
      mysql-test/r/type_float.result:
        Updated results
      mysql-test/r/type_ranges.result:
        Updated results
      mysql-test/r/union.result:
        Updated results
      mysql-test/r/update.result:
        Updated results
      mysql-test/r/user_var.result:
        Updated results
      mysql-test/r/varbinary.result:
        Updated results
      mysql-test/r/variables.result:
        Updated results
      mysql-test/t/ansi.test:
        Test of sql_mode
      mysql-test/t/derived.test:
        Updated results
      mysql-test/t/func_system.test:
        Make this independen of the MySQL server name
      mysql-test/t/lowercase_table.test:
        Cleanup
      mysql-test/t/olap.test:
        A lot of new tests
      mysql-test/t/sql_mode.test:
        More test for sql_mode
      mysql-test/t/subselect.test:
        Added a few new tests (to find a bug in the item_ref code)
      scripts/Makefile.am:
        Added mysql_fix_privilege_tables.sql
      scripts/mysql_fix_privilege_tables.sh:
        Totally new script.  This bascily just pipes mysql_fix_privilege_tables.sql through 'mysql' to 'mysqld'
      sql/Makefile.am:
        Added sql_state.cc
      sql/item.cc:
        Extended Item_field::eq() to be able to better match GROUP BY fields on the command line.
        Needed for ROLLUP
      sql/item.h:
        Added function to be able to avoid calling current_thd() when doing new Item.
      sql/item_sum.cc:
        Moved copy_or_same() and some reset() functions from item_sum.h
        Needed to be able to access thd->mem_root.
      sql/item_sum.h:
        Moved some functions to item_sum.cc
        Added make_unique() for ROLLUP
      sql/item_uniq.h:
        Fixed return value
      sql/mysql_priv.h:
        Updated MODE flags
      sql/mysqld.cc:
        Added ANSI as it's own mode
        Moved charset_info variables here
        Cleaned up handler_count handling (for NT)
        Added table_alias_charset, for easier --lower-case-table-name handling
      sql/net_serv.cc:
        New comment
      sql/protocol.cc:
        Send SQLSTATE to client
      sql/set_var.cc:
        Better SQL_MODE handling (Setting complex options also sets sub options)
      sql/set_var.h:
        Better SQL_MODE handling
      sql/sql_base.cc:
        Make alias depend on --lower-case-table-names
        Make find_item_in_list also check database name
      sql/sql_cache.cc:
        Indentation cleanup
      sql/sql_list.h:
        Added safety assert
        Addes support of alloc without current_thd()
      sql/sql_prepare.cc:
        Update after prototype change
      sql/sql_select.cc:
        Added ROLLUP
      sql/sql_select.h:
        structures for rollup
      sql/sql_show.cc:
        Easier SQL_MODE handling
      sql/sql_string.cc:
        Move CHARSET_INFO to mysqld (to be together with all other global variables)
      sql/sql_string.h:
        Added function to be able to avoid calling current_thd() when doing new Item.
      sql/sql_table.cc:
        Simpler --lower-case-table-name handling
      sql/sql_union.cc:
        Update after prototype change
      sql/sql_yacc.yy:
        ROLLUP
      sql/unireg.h:
        bmove_allign ->bmove_align
      strings/Makefile.am:
        Fix to be able to compile str_test.c
      strings/ctype.c:
        Removed empty lines
      strings/str_test.c:
        Added test of bmove_align
      strings/strings-x86.s:
        Faster bmove_align, bmove_upp and strmake
      strings/strings.asm:
        move_allg
      b388eb00
  20. 03 Jun, 2003 1 commit
    • unknown's avatar
      BUG · fbd157fa
      unknown authored
      correct bug with empty table
      
      
      sql/item_sum.cc:
        correct bug with empty table
      fbd157fa
  21. 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
  22. 17 May, 2003 1 commit
    • unknown's avatar
      fixed memory overrun (bug 380) · acda3d79
      unknown authored
      mysql-test/r/func_group.result:
        new tests
      mysql-test/t/func_group.test:
        new tests
      sql/item.cc:
        count items in select list
      sql/item_subselect.cc:
        use number of item in select list for array creation
      sql/item_sum.cc:
        with_sum_func now is boolean
      sql/sql_derived.cc:
        use number of item in select list for array creation
      sql/sql_lex.cc:
        create_refs changed with parsing_place enum variable
      sql/sql_lex.h:
        added items in select list counter
        create_refs changed with parsing_place enum variable
        with_sum_func now is boolean
      sql/sql_select.cc:
        use number of item in select list for array creation
      sql/sql_union.cc:
        use number of item in select list for array creation
      sql/sql_yacc.yy:
        create_refs changed with parsing_place enum variable
      acda3d79
  23. 05 May, 2003 1 commit
    • unknown's avatar
      Removed compiler warnings · b96aaea7
      unknown authored
      Fixed memory leak in new filesort code
      Optimzed sub selects to use keys with outer references.
      Increased max tables in join to 62
      
      
      client/Makefile.am:
        Remve test programs
      myisam/mi_check.c:
        Remove compiler warnings
      myisam/mi_delete.c:
        Remove 'rnd' variable to make usage repeatable
      myisam/mi_open.c:
        Remove 'rnd' variable to make usage repeatable
      myisam/mi_write.c:
        Remove 'rnd' variable to make usage repeatable
      myisam/myisamdef.h:
        Remove 'rnd' variable to make usage repeatable
      myisam/myisamlog.c:
        Remove 'rnd' variable to make usage repeatable
      mysql-test/r/subselect.result:
        new test
      mysql-test/t/join.test:
        Updated test
      mysql-test/t/subselect.test:
        new test
      sql/filesort.cc:
        Added function to free buffers allocated by filesort
      sql/item.cc:
        Sub select optimization
      sql/item_cmpfunc.cc:
        Sub select optimization
      sql/item_subselect.cc:
        Sub select optimization
      sql/item_sum.cc:
        Removed compiler warnings
      sql/item_sum.h:
        Simple code cleanup
      sql/log.cc:
        Removed compiler warning
      sql/mysql_priv.h:
        Made table_map ulonglong to allow 62 tables in join
      sql/records.cc:
        Moved free of filesort buffers to own function
      sql/sql_select.cc:
        subselect optimization
        Call filesort_free_buffers() to free memory from filesort
      sql/unireg.h:
        Sub select optimization
      b96aaea7
  24. 02 May, 2003 1 commit
  25. 23 Apr, 2003 1 commit
    • unknown's avatar
      Fixes for valgrind · 70324868
      unknown authored
      Added optimzation for clustered index
      Fixed bug in UPDATE ... ORDER BY
      Fixed handling of UPDATE ... LIMIT
      
      
      BitKeeper/deleted/.del-.cvsignore~7e29af89a3559f4c:
        Delete: Images/.cvsignore
      BitKeeper/deleted/.del-README~d5a4e7ca3a2e87a9:
        Delete: repl-tests/README
      BitKeeper/deleted/.del-run-all-tests~4deb6479a13e4568:
        Delete: repl-tests/run-all-tests
      BitKeeper/deleted/.del-run.test~3dc5b9bd1e9feea5:
        Delete: repl-tests/test-repl-alter/run.test
      BitKeeper/deleted/.del-run.test~4020771cff278f14:
        Delete: repl-tests/test-bad-query/run.test
      BitKeeper/deleted/.del-run.test~452f2b66537404a8:
        Delete: repl-tests/test-dump/run.test
      BitKeeper/deleted/.del-run.test~b1f0c1f96554df8:
        Delete: repl-tests/test-auto-inc/run.test
      BitKeeper/deleted/.del-table-dump-check.master~e13afeb8c79264b5:
        Delete: repl-tests/test-dump/table-dump-check.master
      BitKeeper/deleted/.del-table-dump-select.master~744acb955e33f3db:
        Delete: repl-tests/test-dump/table-dump-select.master
      BitKeeper/deleted/.del-x.master~29a93ed7956c8693:
        Delete: repl-tests/test-auto-inc/x.master
      BitKeeper/deleted/.del-x.master~3b248cbac9abda2b:
        Delete: repl-tests/test-bad-query/x.master
      BitKeeper/deleted/.del-foo-dump-master.master~b49ae6bec1e918ee:
        Delete: repl-tests/test-repl/foo-dump-master.master
      BitKeeper/deleted/.del-foo-dump-slave.master~f16ed20457d59be9:
        Delete: repl-tests/test-repl/foo-dump-slave.master
      BitKeeper/deleted/.del-repl-timestamp.master.reject~3492d2b74b413771:
        Delete: repl-tests/test-repl-ts/repl-timestamp.master.reject
      BitKeeper/deleted/.del-repl-timestamp.master~4b7782da5cc13161:
        Delete: repl-tests/test-repl-ts/repl-timestamp.master
      BitKeeper/deleted/.del-run.test~a1e32ea1e4253af4:
        Delete: repl-tests/test-repl/run.test
      BitKeeper/deleted/.del-run.test~ce5e626c91b760ec:
        Delete: repl-tests/test-repl-ts/run.test
      BitKeeper/deleted/.del-sum-wlen-master.master~1a5ea625c79e978:
        Delete: repl-tests/test-repl/sum-wlen-master.master
      BitKeeper/deleted/.del-sum-wlen-slave.master~f016d98833433084:
        Delete: repl-tests/test-repl/sum-wlen-slave.master
      BitKeeper/deleted/.del-test.master~5829e7b3770179db:
        Delete: repl-tests/test-repl-alter/test.master
      BitKeeper/deleted/.del-master-slave.inc~6775f6ae10137c39:
        Delete: repl-tests/include/master-slave.inc
      include/my_global.h:
        Fix for purify/valgrind
      myisam/mi_info.c:
        Updated comment
      mysql-test/r/group_by.result:
        New test results
      mysql-test/r/innodb.result:
        New test results
      mysql-test/r/join_outer.result:
        New test results
      mysql-test/r/multi_update.result:
        New test results
      mysql-test/r/null_key.result:
        New test results
      mysql-test/r/update.result:
        New test results
      mysql-test/t/group_by.test:
        Added extra explain to 'suspicious' test.
      mysql-test/t/innodb.test:
        Added test for UPDATE ... ORDER BY
      mysql-test/t/join_outer.test:
        Changed test to be repeatable
      mysql-test/t/multi_update.test:
        Slight change of test to catch more bugs
      mysql-test/t/update.test:
        Better test for UPDATE ... ORDER BY
      sql/field.cc:
        Simple optimization
      sql/ha_heap.h:
        Added optimzation for clustered index
      sql/ha_innodb.cc:
        Added optimzation for clustered index
      sql/ha_innodb.h:
        Added optimzation for clustered index
      sql/handler.h:
        Added optimzation for clustered index
      sql/item_sum.cc:
        Removed some usage of current_thd
      sql/mysqld.cc:
        Fix bug when compiling for purify/valgrind
      sql/opt_range.cc:
        Added optimzation for clustered index
      sql/records.cc:
        Fixed comment
      sql/sql_list.h:
        Fixed comment
      sql/sql_select.cc:
        Removed some usage of current_thd
      sql/sql_select.h:
        Removed some usage of current_thd
      sql/sql_union.cc:
        Removed some usage of current_thd
      sql/sql_update.cc:
        Fixed bug in UPDATE ... ORDER BY
        Fixed handling of UPDATE ... LIMIT
      support-files/my-huge.cnf.sh:
        Added default size for query cache
      support-files/my-large.cnf.sh:
        Added default size for query cache
      70324868
  26. 22 Apr, 2003 1 commit
    • unknown's avatar
      Removed some not used files · ac02f540
      unknown authored
      Remove the 'fs' file systems as this is not maintained.
      Moved programs from client to tests
      
      
      tests/deadlock_test.c:
        Rename: div/deadlock_test.c -> tests/deadlock_test.c
      BitKeeper/deleted/.del-CorbaFS.idl~719ba9d93c206620:
        Delete: fs/CorbaFS.idl
      BitKeeper/deleted/.del-Makefile.am~95f21e278745904c:
        Delete: fs/Makefile.am
      BitKeeper/deleted/.del-RunServer.sh~34ea2653535fbb5c:
        Delete: fs/RunServer.sh
      BitKeeper/deleted/.del-database.c~af098622e818ce0d:
        Delete: fs/database.c
      BitKeeper/deleted/.del-dump.sql~68646092f0c5bc96:
        Delete: fs/dump.sql
      BitKeeper/deleted/.del-korbit-kernel-2.4.1-patch~742e5e67c1132b2e:
        Delete: fs/korbit-kernel-2.4.1-patch
      BitKeeper/deleted/.del-libmysqlfs.c~70cc07d61deedd16:
        Delete: fs/libmysqlfs.c
      BitKeeper/deleted/.del-libmysqlfs.h~7b60f308be50370e:
        Delete: fs/libmysqlfs.h
      BitKeeper/deleted/.del-my.cnf~bbd975fd6377e704:
        Delete: fs/my.cnf
      BitKeeper/deleted/.del-mysqlcorbafs.c~fc58c116eeea996a:
        Delete: fs/mysqlcorbafs.c
      BitKeeper/deleted/.del-mysqlcorbafs.h~414821d6836e655a:
        Delete: fs/mysqlcorbafs.h
      BitKeeper/deleted/.del-mysqlcorbafs_test.c~8bb3afa230542e05:
        Delete: fs/mysqlcorbafs_test.c
      BitKeeper/deleted/.del-README~b9f437fbd6dce7a5:
        Delete: fs/README
      BitKeeper/deleted/.del-mysqlfsck~247a2d2b9729b95e:
        Delete: fs/mysqlfsck
      tests/insert_test.c:
        Rename: client/insert_test.c -> tests/insert_test.c
      tests/list_test.c:
        Rename: client/list_test.c -> tests/list_test.c
      tests/select_test.c:
        Rename: client/select_test.c -> tests/select_test.c
      BitKeeper/deleted/.del-thimble.cc~3fa3754a4c639242:
        Delete: client/thimble.cc
      tests/thread_test.c:
        Rename: client/thread_test.c -> tests/thread_test.c
      tests/connect_test.c:
        Rename: client/connect_test.c -> tests/connect_test.c
      tests/showdb_test.c:
        Rename: client/showdb_test.c -> tests/showdb_test.c
      tests/ssl_test.c:
        Rename: client/ssl_test.c -> tests/ssl_test.c
      BitKeeper/deleted/.del-mysql_install.c~8c089740d79a92:
        Delete: extra/mysql_install.c
      BitKeeper/deleted/.del-cache_manager.cc~c506b365b140d30c:
        Delete: sql/cache_manager.cc
      BitKeeper/deleted/.del-cache_manager.h~adb8639e510c6f6e:
        Delete: sql/cache_manager.h
      client/Makefile.am:
        Move insert_test, select_test and thread_test under 'tests'
      extra/Makefile.am:
        Remove not used program mysql_install
      sql/item_strfunc.cc:
        Simple optimization
      sql/item_sum.cc:
        Simple code cleanup.
      tests/Makefile.am:
        Added test programs
      ac02f540
  27. 15 Apr, 2003 1 commit
    • unknown's avatar
      Fixed bug in SUM() with NULL:s · 3ac05ea4
      unknown authored
      Added logging of warnings for failed connections with ssl.
      Fixed bug in symbolic link handling on Windows
      
      
      include/my_global.h:
        Added replication flags from 4.1
      mysql-test/r/func_group.result:
        Added test for SUM(NULL)
      mysql-test/t/func_group.test:
        Added test for SUM(NULL)
      sql/item_sum.cc:
        Fixed bug in SUM() with NULL:s
      sql/item_sum.h:
        Fixed bug in SUM() with NULL:s
      sql/mysqld.cc:
        Added option --symbolic-links
        Fixed bug in symbolic link handling on Windows
      sql/net_serv.cc:
        Code cleanup
      sql/sql_acl.cc:
        Added logging of warnings for failed connections with ssl.
      sql/sql_show.cc:
        Changed to use HAVE_REPLICATION instead of EMBEDDED_LIBRARY
      3ac05ea4
  28. 03 Apr, 2003 3 commits
  29. 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
  30. 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
  31. 04 Mar, 2003 1 commit
  32. 03 Mar, 2003 1 commit
    • unknown's avatar
      Strings which appear without charset context, · 310545ad
      unknown authored
      like number-to-string-convertion-result, now 
      takes current database character set, instead of
      thread character set. This makes it easy to be
      SQL99 conformant and 4.0 compatible.
      
      Item->thd_charset() is renamed to Item->default_charset()
      as old name doesn't describe its nature anymore.
      
      
      310545ad
  33. 26 Feb, 2003 2 commits