1. 03 Jul, 2003 1 commit
    • unknown's avatar
      merged · 01eb6a4a
      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/item_func.cc:
        Auto merged
      sql/item_subselect.cc:
        Auto merged
      sql/mysql_priv.h:
        Auto merged
      sql/sql_lex.cc:
        Auto merged
      sql/sql_lex.h:
        Auto merged
      sql/sql_parse.cc:
        Auto merged
      sql/sql_select.cc:
        Auto merged
      sql/sql_yacc.yy:
        Auto merged
      01eb6a4a
  2. 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
  3. 01 Jul, 2003 12 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
    • unknown's avatar
      fexed erroro message · 1dc8342d
      unknown authored
      1dc8342d
    • unknown's avatar
      Merge sanja.is.com.ua:/home/bell/mysql/bk/mysql-4.1 · e559d87b
      unknown authored
      into sanja.is.com.ua:/home/bell/mysql/bk/work-err-4.1
      
      
      e559d87b
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-4.1 · da25c033
      unknown authored
      into myvenu.com:/home/venu/work/sql/dev-4.1
      
      
      da25c033
    • unknown's avatar
      sql_state.h: · 83fd543e
      unknown authored
        Minor fixups for SQLSTATE values to be compatible with ODBC spec
      
      
      include/sql_state.h:
        Minor fixups for SQLSTATE values to be compatible with ODBC spec
      83fd543e
    • unknown's avatar
      merged · 8db50217
      unknown authored
      
      sql/item_subselect.cc:
        Auto merged
      sql/mysqld.cc:
        Auto merged
      sql/sql_lex.cc:
        Auto merged
      sql/sql_lex.h:
        Auto merged
      sql/sql_select.cc:
        Auto merged
      8db50217
  4. 30 Jun, 2003 4 commits
    • unknown's avatar
      Made check for structured option handling more robust and faster. · 0a1d7d64
      unknown authored
      Earlier it could have failed in some special cases.
      
      
      0a1d7d64
    • unknown's avatar
      LAST_INSERT_ID() should not be set if we couldn't generate an auto_increment id. · 48272222
      unknown authored
      
      mysql-test/r/auto_increment.result:
        Update after auto_increment fix
      mysql-test/t/auto_increment.test:
        Another fix for LAST_INSERT_ID()
      sql/handler.cc:
        Another fix for LAST_INSERT_ID()
      sql/sql_class.h:
        Another fix for LAST_INSERT_ID()
      48272222
    • unknown's avatar
      Remove FORCE_INIT_OF_VARS when compiling for valgrind/purify to spot wrong LINT_INIT() options · d0dc9e7d
      unknown authored
      Fixed bug in ALTER TABLE ... MODIFY integer-column
      Added ref_or_null optimization (needed for subqueries)
      
      
      BUILD/compile-pentium-valgrind-max:
        Remove FORCE_INIT_OF_VARS to spot wrong LINT_INIT() options
      mysql-test/r/distinct.result:
        Update of test results (new optimizer)
      mysql-test/r/null_key.result:
        Update after ref_or_null optimization
      mysql-test/r/subselect.result:
        Update after ref_or_null optimization
      mysql-test/t/null_key.test:
        New tests for ref_or_null optimization
      sql/sql_select.cc:
        Added ref_or_null optimization
        Optimized find_best_combinations() and read-functions
      sql/sql_select.h:
        Added ref_or_null optimization
      sql/sql_yacc.yy:
        Fixed bug in ALTER TABLE ... MODIFY integer-column
      sql/table.cc:
        Safety fix for ALTER TABLE .. MODIFY
      sql/unireg.cc:
        Safety fix for ALTER TABLE .. MODIFY
      d0dc9e7d
    • 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
  5. 29 Jun, 2003 3 commits
  6. 28 Jun, 2003 7 commits
  7. 27 Jun, 2003 7 commits