1. 05 Jul, 2003 1 commit
  2. 03 Jul, 2003 1 commit
    • unknown's avatar
      merged · ae518209
      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
      ae518209
  3. 02 Jul, 2003 6 commits
    • unknown's avatar
      (SCRUM) · 642dbeba
      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
      642dbeba
    • unknown's avatar
      475e0a9f
    • unknown's avatar
      fixed typos · 8713e677
      unknown authored
      8713e677
    • unknown's avatar
    • unknown's avatar
      Item tree iterator · 7644ca44
      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
      7644ca44
    • unknown's avatar
      Removed dbug.h inclussion from client/get_password.c (windows build fix) · 98a5419f
      unknown authored
      
      client/get_password.c:
        Removed dbug.h inclussion (windows build fix)
      98a5419f
  4. 01 Jul, 2003 12 commits
    • unknown's avatar
      after review changes (SCRUM) · b4a58234
      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
      b4a58234
    • unknown's avatar
      Merge sanja.is.com.ua:/home/bell/mysql/bk/mysql-4.1 · 40ff37c6
      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
      40ff37c6
    • unknown's avatar
      fixed uninitialized pointer · 86c50d8c
      unknown authored
      86c50d8c
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-4.1 · f69252e7
      unknown authored
      into mashka.mysql.fi:/home/my/mysql-4.1
      
      
      mysql-test/r/grant_cache.result:
        Auto merged
      f69252e7
    • unknown's avatar
      Fixed testcases and bug introduced by last changeset · eb9cf31d
      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
      eb9cf31d
    • unknown's avatar
      merge · 8101222a
      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
      8101222a
    • unknown's avatar
      Fix needed to support MERGE tables in different databases · b3ff72ab
      unknown authored
      
      mysql-test/r/merge.result:
        Test of MERGE table patch
      mysql-test/t/merge.test:
        Test of MERGE table patch
      b3ff72ab
    • unknown's avatar
      fexed erroro message · 43a51366
      unknown authored
      43a51366
    • unknown's avatar
      Merge sanja.is.com.ua:/home/bell/mysql/bk/mysql-4.1 · d65f88f1
      unknown authored
      into sanja.is.com.ua:/home/bell/mysql/bk/work-err-4.1
      
      d65f88f1
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-4.1 · 26230e44
      unknown authored
      into myvenu.com:/home/venu/work/sql/dev-4.1
      
      26230e44
    • unknown's avatar
      sql_state.h: · eb5f773b
      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
      eb5f773b
    • unknown's avatar
      merged · a25ff5d8
      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
      a25ff5d8
  5. 30 Jun, 2003 4 commits
    • unknown's avatar
      Made check for structured option handling more robust and faster. · 34e28bd4
      unknown authored
      Earlier it could have failed in some special cases.
      
      34e28bd4
    • unknown's avatar
      LAST_INSERT_ID() should not be set if we couldn't generate an auto_increment id. · ca071e7f
      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()
      ca071e7f
    • unknown's avatar
      Remove FORCE_INIT_OF_VARS when compiling for valgrind/purify to spot wrong LINT_INIT() options · 94d05b12
      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
      94d05b12
    • unknown's avatar
      Merge · ad67dc89
      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
      ad67dc89
  6. 29 Jun, 2003 3 commits
  7. 28 Jun, 2003 7 commits
  8. 27 Jun, 2003 6 commits