1. 07 Jul, 2003 1 commit
    • unknown's avatar
      merge · 2cd6d8ec
      unknown authored
      
      mysql-test/t/subselect.test:
        Auto merged
      sql/item_cmpfunc.cc:
        Auto merged
      sql/item_cmpfunc.h:
        Auto merged
      sql/item_func.cc:
        Auto merged
      sql/sql_select.cc:
        Auto merged
      2cd6d8ec
  2. 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
  3. 05 Jul, 2003 2 commits
    • unknown's avatar
      avoiding of allocating JOIN structure on every UNION executing · a6943f99
      unknown authored
      (SCRUM)
      
      
      sql/sql_select.cc:
        support of fake_select_lex join clean
        removed compiler warning
      sql/sql_select.h:
        JOIN clean for fake_select_lex
      sql/sql_union.cc:
        avoiding of allocating JOIN structure on every UNION executing
      a6943f99
    • 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
  4. 04 Jul, 2003 11 commits
  5. 03 Jul, 2003 12 commits
  6. 02 Jul, 2003 6 commits
    • 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
    • unknown's avatar
      9f661429
    • unknown's avatar
      fixed typos · 7db27ade
      unknown authored
      7db27ade
    • unknown's avatar
    • unknown's avatar
      Item tree iterator · 29898afb
      unknown authored
      fixed dependence of items from reduced subquery
      (SCRUM)
      
      
      sql/item.cc:
        fixed dependence of items from reduced subquery
      sql/item.h:
        fixed dependence of items from reduced subquery
        Item tree iterator
      sql/item_cmpfunc.cc:
        Item tree iterator
      sql/item_cmpfunc.h:
        Item tree iterator
      sql/item_func.cc:
        Item tree iterator
      sql/item_func.h:
        Item tree iterator
      sql/item_row.cc:
        Item tree iterator
      sql/item_row.h:
        Item tree iterator
      sql/item_strfunc.h:
        Item tree iterator
      sql/item_subselect.cc:
        Item tree iterator
      29898afb
    • unknown's avatar
      Removed dbug.h inclussion from client/get_password.c (windows build fix) · f974646a
      unknown authored
      
      client/get_password.c:
        Removed dbug.h inclussion (windows build fix)
      f974646a
  7. 01 Jul, 2003 7 commits
    • unknown's avatar
      after review changes (SCRUM) · 585cec05
      unknown authored
      removed outer resolving flag (because of movingtransformation after fix_fields)
      
      
      sql/item.cc:
        removed outer resolving flag (because of movingtransformation after fix_fields)
      sql/item.h:
        removed outer resolving flag (because of movingtransformation after fix_fields)
      sql/item_cmpfunc.cc:
        removed outer resolving flag (because of movingtransformation after fix_fields)
      sql/item_cmpfunc.h:
        removed outer resolving flag (because of movingtransformation after fix_fields)
      sql/item_func.cc:
        removed outer resolving flag (because of movingtransformation after fix_fields)
      sql/item_func.h:
        removed outer resolving flag (because of movingtransformation after fix_fields)
      sql/item_row.cc:
        removed outer resolving flag (because of movingtransformation after fix_fields)
      sql/item_row.h:
        removed outer resolving flag (because of movingtransformation after fix_fields)
      sql/item_strfunc.h:
        removed outer resolving flag (because of movingtransformation after fix_fields)
      sql/item_subselect.cc:
        after review changes
        removed outer resolving flag (because of movingtransformation after fix_fields)
      sql/item_subselect.h:
        after review changes
        removed outer resolving flag (because of movingtransformation after fix_fields)
      sql/mysql_priv.h:
        after review changes
      sql/sql_base.cc:
        after review changes
      sql/sql_lex.cc:
        after review changes
      sql/sql_lex.h:
        after review changes
      sql/sql_select.cc:
        after review changes
      sql/sql_union.cc:
        after review changes
      585cec05
    • unknown's avatar
      Merge sanja.is.com.ua:/home/bell/mysql/bk/mysql-4.1 · 4354fcd6
      unknown authored
      into sanja.is.com.ua:/home/bell/mysql/bk/work-err-4.1
      
      
      mysql-test/r/subselect.result:
        Auto merged
      sql/sql_parse.cc:
        Auto merged
      sql/sql_select.cc:
        Auto merged
      4354fcd6
    • unknown's avatar
      fixed uninitialized pointer · 69df67fb
      unknown authored
      69df67fb
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-4.1 · ff1f63e8
      unknown authored
      into mashka.mysql.fi:/home/my/mysql-4.1
      
      
      mysql-test/r/grant_cache.result:
        Auto merged
      ff1f63e8
    • unknown's avatar
      Fixed testcases and bug introduced by last changeset · 2224bbc1
      unknown authored
      
      mysql-test/r/func_gconcat.result:
        Fixed test case after merge
      mysql-test/r/grant_cache.result:
        Updated test case (Wrong push by some developer)
      mysys/mf_loadpath.c:
        Fix for my_load_path() and ./directory handling from last changeset
      2224bbc1
    • unknown's avatar
      merge · c672b5d0
      unknown authored
      
      acinclude.m4:
        Auto merged
      mysql-test/r/subselect.result:
        Auto merged
      scripts/mysql_create_system_tables.sh:
        Auto merged
      sql/sql_class.h:
        Auto merged
      sql/sql_yacc.yy:
        Auto merged
      c672b5d0
    • unknown's avatar
      Fix needed to support MERGE tables in different databases · 14c8a0e5
      unknown authored
      
      mysql-test/r/merge.result:
        Test of MERGE table patch
      mysql-test/t/merge.test:
        Test of MERGE table patch
      14c8a0e5