1. 02 Jul, 2003 2 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
      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
  2. 01 Jul, 2003 1 commit
    • 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
  3. 30 Jun, 2003 1 commit
    • unknown's avatar
      Merge · 438d04f9
      unknown authored
      
      mysql-test/r/subselect.result:
        Auto merged
      mysql-test/t/subselect.test:
        Auto merged
      sql/item.cc:
        Auto merged
      sql/item_cmpfunc.cc:
        Auto merged
      sql/item_cmpfunc.h:
        Auto merged
      sql/sql_lex.cc:
        Auto merged
      sql/sql_select.cc:
        Auto merged
      sql/sql_union.cc:
        Auto merged
      sql/sql_yacc.yy:
        Auto merged
      sql/sql_lex.h:
        SCCS merged
      438d04f9
  4. 29 Jun, 2003 2 commits
  5. 28 Jun, 2003 7 commits
  6. 27 Jun, 2003 15 commits
  7. 26 Jun, 2003 9 commits
    • unknown's avatar
      Merge paul@bk-internal.mysql.com:/home/bk/mysql-4.1 · 608bda36
      unknown authored
      into teton.kitebird.com:/home/paul/mysql-4.1
      
      
      sql/share/czech/errmsg.txt:
        Auto merged
      sql/share/danish/errmsg.txt:
        Auto merged
      sql/share/dutch/errmsg.txt:
        Auto merged
      sql/share/english/errmsg.txt:
        Auto merged
      sql/share/estonian/errmsg.txt:
        Auto merged
      sql/share/french/errmsg.txt:
        Auto merged
      sql/share/german/errmsg.txt:
        Auto merged
      sql/share/greek/errmsg.txt:
        Auto merged
      sql/share/hungarian/errmsg.txt:
        Auto merged
      sql/share/italian/errmsg.txt:
        Auto merged
      sql/share/japanese/errmsg.txt:
        Auto merged
      sql/share/korean/errmsg.txt:
        Auto merged
      sql/share/norwegian-ny/errmsg.txt:
        Auto merged
      sql/share/norwegian/errmsg.txt:
        Auto merged
      sql/share/polish/errmsg.txt:
        Auto merged
      sql/share/portuguese/errmsg.txt:
        Auto merged
      sql/share/romanian/errmsg.txt:
        Auto merged
      sql/share/russian/errmsg.txt:
        Auto merged
      sql/share/serbian/errmsg.txt:
        Auto merged
      sql/share/slovak/errmsg.txt:
        Auto merged
      sql/share/spanish/errmsg.txt:
        Auto merged
      sql/share/swedish/errmsg.txt:
        Auto merged
      sql/share/ukrainian/errmsg.txt:
        Auto merged
      608bda36
    • unknown's avatar
      Item::str_value can't be used for storing value · 25ec2483
      unknown authored
      (fixed error in Item_cache_str)
      
      
      sql/item.cc:
        Item::str_value can't be used for storing value
      sql/item.h:
        Item::str_value can't be used for storing value
      25ec2483
    • unknown's avatar
      Merge bk-internal:/home/bk/mysql-4.1/ · 4b2bb5f8
      unknown authored
      into serg.mylan:/usr/home/serg/Abk/mysql-4.1
      
      
      4b2bb5f8
    • unknown's avatar
      preload.test: · 1aabc50b
      unknown authored
        Change mode to -rw-rw-r--
      
      
      mysql-test/t/preload.test:
        Change mode to -rw-rw-r--
      1aabc50b
    • unknown's avatar
      New messages for 3-adic and N-adic operations · 1d29092e
      unknown authored
      REPLACE() now processed arguments collations according to standard
      
      
      1d29092e
    • unknown's avatar
      Merge sanja.is.com.ua:/home/bell/mysql/bk/work-cond_count-4.1 · 662506e0
      unknown authored
      into sanja.is.com.ua:/home/bell/mysql/bk/work-top2-4.1
      
      
      mysql-test/r/subselect.result:
        Auto merged
      sql/item_cmpfunc.cc:
        Auto merged
      sql/item_subselect.cc:
        Auto merged
      sql/sql_lex.cc:
        Auto merged
      sql/sql_lex.h:
        Auto merged
      sql/sql_select.cc:
        Auto merged
      662506e0
    • unknown's avatar
      cond_count moved to SELECT_LEX_NODE · 54cd790b
      unknown authored
      fixed BUG #726
      
      
      mysql-test/r/subselect.result:
        test of bug #726
      mysql-test/t/subselect.test:
        test of bug #726
      sql/item_cmpfunc.cc:
        cond_count moved to SELECT_LEX_NODE
      sql/item_subselect.cc:
        fixed current_select pointer
      sql/sql_base.cc:
        cond_count moved to SELECT_LEX_NODE
      sql/sql_class.cc:
        cond_count moved to SELECT_LEX_NODE
      sql/sql_class.h:
        cond_count moved to SELECT_LEX_NODE
      sql/sql_lex.cc:
        cond_count moved to SELECT_LEX_NODE
      sql/sql_lex.h:
        cond_count moved to SELECT_LEX_NODE
      sql/sql_select.cc:
        cond_count moved to SELECT_LEX_NODE
      54cd790b
    • unknown's avatar
      Bug fixed: mysql-test failure on rpl tests · 11e9c572
      unknown authored
      
      scripts/mysql_create_system_tables.sh:
        Fixed bug: mysql-test failure on rpl tests
      11e9c572
    • unknown's avatar
      Merge rkalimullin@bk-internal.mysql.com:/home/bk/mysql-4.1 · 17abb8a6
      unknown authored
      into mysql.r18.ru:/usr/home/bk/mysql-4.1
      
      
      17abb8a6
  8. 25 Jun, 2003 3 commits