An error occurred fetching the project authors.
  1. 28 Aug, 2003 1 commit
  2. 20 Aug, 2003 1 commit
    • unknown's avatar
      after merge changing · 5e00fc02
      unknown authored
      uninitialized value fixed
      
      
      sql/item_cmpfunc.cc:
        fixed uninitialized used_tables_cache
        othyer caches moved on proper place
      sql/item_subselect.cc:
        fixed reported table bit
      sql/mysql_priv.h:
        after merge chenges.
      sql/sql_parse.cc:
        used same new operator for all allocation in subroutine
      sql/sql_union.cc:
        fake st_select_lex should have item list for ref_array allocation
      sql/sql_yacc.yy:
        after merge changing
      5e00fc02
  3. 16 Aug, 2003 1 commit
    • unknown's avatar
      Code cleanup · 3808546d
      unknown authored
      sql/item.cc:
        As far as now transformer called after setup_wild() it is impossible to have '*' Item
      sql/item.h:
        As far as now transformer called after setup_wild() it is impossible to have '*' Item
      sql/item_subselect.cc:
        replaced Item_ref_on_list_position (which need erly ref_array initialisation)
      sql/mysql_priv.h:
        setup_ref_array moved to st_select_lex class
      sql/sql_delete.cc:
        setup_ref_array moved to st_select_lex class
      sql/sql_derived.cc:
        setup_ref_array moved to st_select_lex class
      sql/sql_lex.cc:
        removed double initialisation
        select_n_having_items moved to any query initializations, because it used in setup_ref_array method
        setup_ref_array moved to st_select_lex class
      sql/sql_lex.h:
        setup_ref_array moved to st_select_lex class
      sql/sql_select.cc:
        setup_ref_array moved to st_select_lex class
      sql/sql_table.cc:
        setup_ref_array moved to st_select_lex class
      sql/sql_union.cc:
        setup_ref_array moved to st_select_lex class
      sql/sql_update.cc:
        setup_ref_array moved to st_select_lex class
      3808546d
  4. 15 Aug, 2003 1 commit
  5. 07 Aug, 2003 1 commit
    • unknown's avatar
      fixed bug in used_tables() report of left expression of IN subquery · 57e31f15
      unknown authored
      fixed number of rows of external field reported to optimizer
      added check of choosen key (checked left expression tag)
      (SCRUM fix for simple IN optimisation)
      
      
      mysql-test/r/subselect.result:
        new EXPLAIN results ufter fixing used_tables() of Item_cache
      sql/item_cmpfunc.cc:
        fixed used_tables asignment
      sql/item_subselect.cc:
        added left expression referenca tag
      sql/item_subselect.h:
        fixed layout
      sql/mysql_priv.h:
        left expression reference tag
      sql/mysqld.cc:
        left expression reference tag
      sql/sql_select.cc:
        checked left expression reference tag
        fixed number of rows in outer reference (it should be constant)
      57e31f15
  6. 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
  7. 29 Jul, 2003 1 commit
    • unknown's avatar
      count HAVING clause elements with select list elements, because agregate... · 0792c1c8
      unknown authored
      count HAVING clause elements with select list elements, because agregate function can be present in it (BUG#922)
      removerd unused loop_id
      
      
      mysql-test/r/subselect.result:
        test of BUG#922
      mysql-test/t/subselect.test:
        test of BUG#922
      sql/item.cc:
        removerd unused loop_id
        we need count HAVING clause elements, because agregate function can be present in it
      sql/item.h:
        removerd unused loop_id
      sql/item_subselect.cc:
        new name of field
      sql/sql_derived.cc:
        new name of field
      sql/sql_lex.cc:
        new name of field
      sql/sql_lex.h:
        new name of field
      sql/sql_select.cc:
        new name of field
      sql/sql_union.cc:
        new name of field
      0792c1c8
  8. 17 Jul, 2003 1 commit
    • unknown's avatar
      new optimisation for ref_null (SCRUM) (WL#818) · ed8be699
      unknown authored
      mysql-test/r/subselect.result:
        results of new optimisation
      mysql-test/t/subselect.test:
        results of new optimisation
      sql/item_cmpfunc.h:
        function type
      sql/item_func.h:
        function type
      sql/item_subselect.cc:
        new optimisation for ref_or_null
      sql/item_subselect.h:
        new optimisation for ref_or_null
      sql/sql_select.cc:
        new optimisation for ref_or_null
      sql/sql_select.h:
        item_subselect.cc need safe_index_read
      ed8be699
  9. 07 Jul, 2003 2 commits
    • unknown's avatar
      new IN subquery engine added for simple IN with non-primary index but without NULL returning · 210c4aba
      unknown authored
      (SCRUM) (part of WL#818)
      
      
      mysql-test/r/subselect.result:
        test of new engine
      mysql-test/t/subselect.test:
        test of new engine
      sql/item_subselect.cc:
        new engine added
        some common operation moved in separate method
      sql/item_subselect.h:
        new engine added
        some common operation moved in separate method
      sql/sql_select.cc:
        new engine added
        some common operation moved in separate method
      sql/sql_select.h:
        some common operation moved in separate method
      210c4aba
    • unknown's avatar
      Optimisation if simple IN subselect with primary index · 923dba86
      unknown authored
      (SCRUM) (part of WL#818)
      
      
      mysql-test/r/subselect.result:
        test of new optimisation
      mysql-test/t/subselect.test:
        test of new optimisation
      sql/item_subselect.cc:
        new engine for simple IN with primary index
      sql/item_subselect.h:
        new engine for simple IN with primary index
      sql/sql_lex.h:
        fixed typo
      sql/sql_select.cc:
        engine changing
        report_error can't be static, because it used in new engine
      sql/sql_select.h:
        new JT_ type (just for information in EXPLAIN statement)
        report_error can't be static, because it used in new engine
      923dba86
  10. 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
  11. 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
  12. 26 Jun, 2003 1 commit
    • 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
  13. 24 Jun, 2003 1 commit
    • unknown's avatar
      Fixed error handling to be able do not interrupt update (907) (SCRUM) · cd01f7cd
      unknown authored
      fixed bug of current select pointer in subselect execution
      fixed layuot
      
      
      mysql-test/r/subselect.result:
        test of update with IGNORE option and error in subselect
      mysql-test/t/subselect.test:
        test of update with IGNORE option and error in subselect
      sql/item_subselect.cc:
        fixed bug of current select pointer
      sql/mysqld.cc:
        error converting to warnings if hd->lex.current_select->no_error id true
        layout fixed
      sql/sql_lex.cc:
        initialization
      sql/sql_lex.h:
        flag which force converting errors to warnings
      sql/sql_select.cc:
        switch on error convering to warnings in select executing if IGNORE option present
      cd01f7cd
  14. 28 May, 2003 1 commit
    • unknown's avatar
      added mem_root switching for subselect if it is necessary · a100c0e9
      unknown authored
      (bug #518 fixed)
      
      
      mysql-test/r/subselect.result:
        test of bug #518
      mysql-test/t/subselect.test:
        test of bug #518
      sql/item_subselect.cc:
        test and switch mem_root if it is necessary
        exec() - wrapper around engine->exec() to test and switch mem_root if necessary
      sql/item_subselect.h:
        added storing THD for mem_root testinmg & switching
        exec() - wrapper around engine->exec() to test and switch mem_root if necessary
      a100c0e9
  15. 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
  16. 14 May, 2003 1 commit
    • unknown's avatar
      subselect transformation moved in after-fix_field place · a32b868c
      unknown authored
      removed "of is null" if it is possible
        (this cset should be SCRUM related, but not approved as scrum task yet)
      
      
      mysql-test/r/subselect.result:
        new subselect test result (new place of error detecting & and more subselect reducing)
      sql/item.cc:
        layout fix
      sql/item.h:
        unneed ';'
        fixed print pethod
      sql/item_cmpfunc.cc:
        new method to support transformation after fix_fields
      sql/item_cmpfunc.h:
        new method to support transformation after fix_fields
        fixed Item printing
      sql/item_subselect.cc:
        new transformation
      sql/item_subselect.h:
        new transformation
      sql/sql_derived.cc:
        'table' & 'table_list' now is not union
      sql/sql_lex.cc:
        'table' & 'table_list' now is not union to support reinit only shared tables (but all)
      sql/sql_lex.h:
        mark fake st_select_lex
      sql/sql_olap.cc:
        fixed table assignment
        TODO added
      sql/sql_select.cc:
        'table' & 'table_list' now is not union
        transforming subselect
      sql/sql_union.cc:
        prepare make on fix_fields
      sql/sql_yacc.yy:
        fixed layout
      sql/table.h:
        'table & 'table_list' now is different fields
      a32b868c
  17. 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
  18. 22 Apr, 2003 1 commit
    • unknown's avatar
      fixed bug 185 (constant IN (SELECT field ...) do not return NULL correctly) · 06017a0d
      unknown authored
      mysql-test/r/subselect.result:
        new test results
        test of bug 185
      mysql-test/t/subselect.test:
        test of bug 185
      sql/item.h:
        new method
      sql/item_cmpfunc.cc:
        new Item to control NULL value in HAVING clouse
      sql/item_cmpfunc.h:
        new Item to control NULL value in HAVING clouse
      sql/item_subselect.cc:
        if IN was rewrited through WHERE thien it will be rewrited in following way:
        
        WHERE left_expr=item or is null(item) heving is_not_null_test(item)
      sql/item_subselect.h:
        Item_is_not_null_test can change was_null flag
      sql/sql_select.cc:
        some layout fix
      06017a0d
  19. 10 Mar, 2003 1 commit
  20. 06 Mar, 2003 1 commit
  21. 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
  22. 14 Feb, 2003 1 commit
  23. 10 Feb, 2003 1 commit
    • unknown's avatar
      Move tmp_table_used to THD · 96273457
      unknown authored
      Optimize depending sub querys
      Remove valgrind warnings
      
      
      libmysqld/lib_sql.cc:
        Better way to reset errors
      mysql-test/mysql-test-run.sh:
        Remove wrong `
      mysql-test/r/subselect.result:
        Don't use table t1
      mysql-test/t/subselect.test:
        Don't use table t1
      sql/item.cc:
        Indentation fix
      sql/item.h:
        optimize depending sub querys
      sql/item_func.cc:
        Remove warning for uninitalized data
      sql/item_row.cc:
        Remove warning
      sql/item_strfunc.h:
        Fixed memory overrun
      sql/item_subselect.cc:
        Better debugging names
      sql/log_event.cc:
        Move tmp_table_used to THD
      sql/sql_base.cc:
        Move tmp_table_used to THD
      sql/sql_class.cc:
        Move tmp_table_used to THD
      sql/sql_class.h:
        Move tmp_table_used to THD
      sql/sql_lex.cc:
        Move tmp_table_used to THD
      sql/sql_lex.h:
        Move tmp_table_used to THD
      sql/sql_parse.cc:
        Move tmp_table_used to THD
      sql/sql_select.cc:
        optimize depending sub querys
      sql/sql_table.cc:
        Move tmp_table_used to THD
      96273457
  24. 02 Feb, 2003 1 commit
    • unknown's avatar
      after-review changes (577 SCRUM) · e1134143
      unknown authored
      sql/item.cc:
        typo fix
      sql/item.h:
        typo fix
      sql/item_cmpfunc.cc:
        comment
      sql/item_func.cc:
        new interface
      sql/item_subselect.cc:
        comment inserted
      sql/item_sum.cc:
        layout fixed
        comment inserted
      sql/mysql_priv.h:
        names changed
      sql/sql_base.cc:
        some optimization
      sql/sql_delete.cc:
        name changed
      sql/sql_insert.cc:
        name changed
      sql/sql_lex.h:
        name changed
      sql/sql_prepare.cc:
        layout fixed
      sql/sql_select.cc:
        layout fixed
        names changed
        comments inserted
        debugging code removed
      sql/sql_select.h:
        name changed
      sql/sql_union.cc:
        name changed
        layout fixed
      sql/sql_update.cc:
        name changed
      sql/sql_yacc.yy:
        typo fixed
      e1134143
  25. 30 Jan, 2003 2 commits
    • unknown's avatar
      fixed bug in determinating uncacheable queries · c7c45bf2
      unknown authored
      new fatal_error interface to assign is_fatal_error and ne.report_error
      commant about Item_row
      
      
      mysql-test/r/subselect.result:
        test of inheritence of uncacheability
      mysql-test/t/subselect.test:
        test of inheritence of uncacheability
      sql/item.cc:
        new fatal_error interface to assign is_fatal_error and ne.report_error
      sql/item_func.cc:
        new fatal_error interface to assign is_fatal_error and ne.report_error
      sql/item_row.cc:
        comment about row
      sql/item_subselect.cc:
        new fatal_error interface to assign is_fatal_error and ne.report_error
        (message should be sent by allocate routine
      sql/log_event.cc:
        new fatal_error interface to assign is_fatal_error and ne.report_error
      sql/mysqld.cc:
        new fatal_error interface to assign is_fatal_error and ne.report_error
      sql/protocol.cc:
        new fatal_error interface to assign is_fatal_error and ne.report_error
      sql/sql_base.cc:
        new fatal_error interface to assign is_fatal_error and ne.report_error
      sql/sql_class.cc:
        new fatal_error interface to assign is_fatal_error and ne.report_error
      sql/sql_class.h:
        new fatal_error interface to assign is_fatal_error and ne.report_error
      sql/sql_delete.cc:
        new fatal_error interface to assign is_fatal_error and ne.report_error
      sql/sql_insert.cc:
        new fatal_error interface to assign is_fatal_error and ne.report_error
      sql/sql_lex.h:
        fixed bug in determinating uncacheable queries
      sql/sql_parse.cc:
        new fatal_error interface to assign is_fatal_error and ne.report_error
      sql/sql_prepare.cc:
        new fatal_error interface to assign is_fatal_error and ne.report_error
      sql/sql_select.cc:
        new fatal_error interface to assign is_fatal_error and ne.report_error
      sql/sql_show.cc:
        new fatal_error interface to assign is_fatal_error and ne.report_error
      sql/sql_union.cc:
        new fatal_error interface to assign is_fatal_error and ne.report_error
      sql/sql_update.cc:
        new fatal_error interface to assign is_fatal_error and ne.report_error
      sql/thr_malloc.cc:
        new fatal_error interface to assign is_fatal_error and ne.report_error
      c7c45bf2
    • unknown's avatar
      cyclic reference test removed, becouse testing of Item::fixed field apply more strict limitation · a0ddb72d
      unknown authored
      mysql-test/r/subselect.result:
        test of cyclic reference false alarm
      mysql-test/t/subselect.test:
        test of cyclic reference false alarm
      a0ddb72d
  26. 29 Jan, 2003 1 commit
    • unknown's avatar
      improving of fields list creation in derived tables and unions · b2ffb29a
      unknown authored
      fixed length of fields created in fubselect
      fixed resolving fields of reduced in derived table subselect
      
      
      mysql-test/r/subselect.result:
        test of created with subselect fields
      mysql-test/t/subselect.test:
        test of created with subselect fields
      sql/item.cc:
        fixed length of fields created in fubselect
        fixed resolving fields of reduced in derived table subselect
      sql/item_subselect.cc:
        improving of fields list creation in derived tables and unions
      sql/mysql_priv.h:
        improving of fields list creation in derived tables and unions
      sql/sql_derived.cc:
        improving of fields list creation in derived tables and unions
      sql/sql_lex.h:
        improving of fields list creation in derived tables and unions
      sql/sql_parse.cc:
        improving of fields list creation in derived tables and unions
      sql/sql_prepare.cc:
        improving of fields list creation in derived tables and unions
      sql/sql_select.cc:
        improving of fields list creation in derived tables and unions
      sql/sql_select.h:
        improving of fields list creation in derived tables and unions
      sql/sql_union.cc:
        improving of fields list creation in derived tables and unions
      sql/sql_update.cc:
        improving of fields list creation in derived tables and unions
      b2ffb29a
  27. 28 Jan, 2003 1 commit
    • unknown's avatar
      fixed bugs in temporary tables in subselect implementation (SCRUM) · ca0d06d5
      unknown authored
      merging with switching on static tables optimization (SCRUM)
      fixed subselects with uncacheable results
      added test for fixed bugs from bugreports
      
      
      mysql-test/r/subselect.result:
        changes in subselect test after switching on static tables optimization
        fixed bug test added
        uncacheable subselects
      mysql-test/t/subselect.test:
        changes in subselect test after switching on static tables optimization
        fixed bug test added
        uncacheable subselects
      sql/item_create.cc:
        fixed subselects with uncacheable results
      sql/item_func.cc:
        fixed subselects with uncacheable results
      sql/item_subselect.cc:
        fixed subselects with uncacheable results
        clean up
      sql/item_subselect.h:
        fixed subselects with uncacheable results
      sql/sql_lex.cc:
        fixed subselects with uncacheable results
      sql/sql_lex.h:
        fixed subselects with uncacheable results
      sql/sql_select.cc:
        fixed bugs in temporary tables in subselect implementation
        fixed subselects with uncacheable results
      sql/sql_union.cc:
        fixed subselects with uncacheable results
      sql/sql_yacc.yy:
        fixed subselects with uncacheable results
      ca0d06d5
  28. 26 Jan, 2003 1 commit
    • unknown's avatar
      after merge fix of 577 task (SCRUM, pre commit to be able to merge with static... · a72ebebf
      unknown authored
      after merge fix of 577 task (SCRUM, pre commit to be able to merge with static tables optimization fix)
      fixed derived tables with subselect inside
      
      
      mysql-test/r/derived.result:
        test of subselects inside derived tables
      mysql-test/t/derived.test:
        test of subselects inside derived tables
      mysql-test/t/subselect.test:
        subselect test (not finished)
      sql/item.cc:
        after merge fix
      sql/item.h:
        after merge fix
      sql/item_cmpfunc.h:
        after merge fix
      sql/item_subselect.cc:
        after merge fix
      sql/item_sum.h:
        after merge fix
      sql/mysql_priv.h:
        fixed derived tables with subselect inside
      sql/sql_class.h:
        after merge fix
      sql/sql_derived.cc:
        fixed derived tables with subselect inside
      sql/sql_lex.cc:
        fixed derived tables with subselect inside
      sql/sql_lex.h:
        fixed derived tables with subselect inside
      sql/sql_parse.cc:
        fixed derived tables with subselect inside
        after merge fix
      sql/sql_prepare.cc:
        after merge fix
      sql/sql_select.cc:
        after merge fix
        fixed derived tables with subselect inside
      a72ebebf
  29. 25 Jan, 2003 1 commit
    • unknown's avatar
      fixed subselects with temporary tables (SCRUM) · b2354133
      unknown authored
      fixed memory leacks
      
      
      mysql-test/r/subselect.result:
        some changes in subselect tests
      mysql-test/t/subselect.test:
        some changes in subselect tests
      sql/item.cc:
        some item made copyable
        methods for creating copy of item list
        tmp_table_field() splited
      sql/item.h:
        some item made copyable
        methods for creating copy of item list
        tmp_table_field() splited
      sql/item_cmpfunc.cc:
        changed references creation
      sql/item_cmpfunc.h:
        changed references creation
      sql/item_func.cc:
        some item made copyable
        methods for creating copy of item list
        changed references creation
      sql/item_func.h:
        some item made copyable
        methods for creating copy of item list
        changed references creation
        tmp_table_field() splited
      sql/item_subselect.cc:
        changed references creation
      sql/item_sum.cc:
        some item made copyable
        methods for creating copy of item list
      sql/item_sum.h:
        some item made copyable
        methods for creating copy of item list
      sql/item_timefunc.h:
        tmp_table_field() splited
      sql/item_uniq.h:
        some item made copyable
        methods for creating copy of item list
      sql/mysql_priv.h:
        fixed subselects with temporary tables
      sql/sql_base.cc:
        fixed subselects with temporary tables
      sql/sql_class.h:
        fixed subselects with temporary tables
      sql/sql_delete.cc:
        fixed subselects with temporary tables
      sql/sql_derived.cc:
        fixed subselects with temporary tables
      sql/sql_do.cc:
        fixed subselects with temporary tables
      sql/sql_insert.cc:
        fixed subselects with temporary tables
      sql/sql_lex.cc:
        fixed subselects with temporary tables
      sql/sql_lex.h:
        fixed subselects with temporary tables
      sql/sql_list.h:
        fixed subselects with temporary tables
      sql/sql_load.cc:
        fixed subselects with temporary tables
      sql/sql_olap.cc:
        fixed subselects with temporary tables
      sql/sql_parse.cc:
        fixed subselects with temporary tables
      sql/sql_prepare.cc:
        fixed subselects with temporary tables
      sql/sql_select.cc:
        fixed subselects with temporary tables
      sql/sql_select.h:
        fixed subselects with temporary tables
      sql/sql_table.cc:
        fixed subselects with temporary tables
      sql/sql_union.cc:
        fixed subselects with temporary tables
      sql/sql_update.cc:
        fixed subselects with temporary tables
      sql/sql_yacc.yy:
        fixed subselects with temporary tables
      b2354133
  30. 21 Jan, 2003 1 commit
    • unknown's avatar
      Portability fixes (for windows) · 10e22c34
      unknown authored
      Some changes to the prepared statement protocol to make it easier to use and faster.
      
      
      Makefile.am:
        Fix to make dist to work with cmd-line-utils
      client/mysql.cc:
        Portability fixes
      client/mysqlbinlog.cc:
        Portabiliy fixes and remove usafe of FILE
      configure.in:
        Fix to make dist to work with cmd-line-utils
      heap/_check.c:
        Portability fixes
      include/config-win.h:
        Portability fixes
      include/m_ctype.h:
        Indentation cleanup
      include/my_list.h:
        Portability fixes
      include/mysql.h:
        Cleanup of BIND structure
      include/violite.h:
        Portability fixes
      innobase/dict/dict0dict.c:
        Portability fixes
      innobase/dict/dict0load.c:
        Portability fixes
      innobase/include/os0proc.h:
        Portability fixes (Heikki, please check)
      innobase/os/os0proc.c:
        Portability fixes (Heikki, please check)
      innobase/ut/ut0ut.c:
        Portability fixes
      isam/pack_isam.c:
        Portability fixes
      libmysql/libmysql.c:
        Portability fixes
        Remove obscure usage of the length parameter for prepared statements.
      libmysql/libmysql.def:
        Remove not existing functions
      libmysqld/lib_sql.cc:
        Remove compiler warning
      mysql-test/r/explain.result:
        Fix after merge
      mysql-test/r/join.result:
        Fix after merge
      mysys/my_once.c:
        Portability fix
      mysys/tree.c:
        Portability fixes
      sql/field.cc:
        Portability fixes
      sql/filesort.cc:
        move assert.h to mysql_priv.h
      sql/ha_berkeley.cc:
        move assert.h to mysql_priv.h
      sql/ha_innodb.cc:
        move assert.h to mysql_priv.h
      sql/item.cc:
        move assert.h to mysql_priv.h
        Fixed syntax error
      sql/item_cmpfunc.cc:
        move assert.h to mysql_priv.h
      sql/item_func.cc:
        move assert.h to mysql_priv.h
      sql/item_row.cc:
        move assert.h to mysql_priv.h
      sql/item_strfunc.cc:
        Portability fix
      sql/item_subselect.cc:
        Portability fix
      sql/item_sum.cc:
        move assert.h to mysql_priv.h
      sql/lex.h:
        Portability fix
      sql/lock.cc:
        move assert.h to mysql_priv.h
      sql/log.cc:
        move assert.h to mysql_priv.h
      sql/log_event.cc:
        Portability fix
      sql/mf_iocache.cc:
        move assert.h to mysql_priv.h
      sql/mysql_priv.h:
        move assert.h to mysql_priv.h
      sql/mysqld.cc:
        move assert.h to mysql_priv.h
      sql/opt_range.cc:
        move assert.h to mysql_priv.h
      sql/password.c:
        Portability fix
      sql/protocol.cc:
        move assert.h to mysql_priv.h
      sql/set_var.cc:
        Portability fix
      sql/slave.cc:
        move assert.h to mysql_priv.h
      sql/spatial.cc:
        Portability fix
      sql/sql_acl.cc:
        move assert.h to mysql_priv.h
      sql/sql_base.cc:
        move assert.h to mysql_priv.h
      sql/sql_cache.cc:
        move assert.h to mysql_priv.h
      sql/sql_class.cc:
        move assert.h to mysql_priv.h
      sql/sql_handler.cc:
        move assert.h to mysql_priv.h
      sql/sql_help.cc:
        Removed compiler warning
      sql/sql_lex.cc:
        Portability fix
      sql/sql_lex.h:
        Portability fix
      sql/sql_parse.cc:
        move assert.h to mysql_priv.h
      sql/sql_prepare.cc:
        move assert.h to mysql_priv.h
      sql/sql_repl.cc:
        move assert.h to mysql_priv.h
      sql/sql_select.cc:
        move assert.h to mysql_priv.h
      sql/sql_string.cc:
        Portability fix
      sql/sql_string.h:
        Portability fix
      sql/sql_table.cc:
        move assert.h to mysql_priv.h
      sql/sql_yacc.yy:
        Portability fix
        Remove not accessed code
      strings/ctype-bin.c:
        Portability fix
      strings/ctype-mb.c:
        Portability fix
      strings/ctype.c:
        Portability fix
      tests/client_test.c:
        A
      10e22c34
  31. 02 Jan, 2003 1 commit
    • unknown's avatar
      post-post-review fix (SCRUM) · 3fe840ee
      unknown authored
      sql/item.cc:
        post-post-review fix
      sql/item_cmpfunc.h:
        post-post-review fix
      sql/item_row.cc:
        post-post-review fix
      sql/item_subselect.cc:
        post-post-review fix
      3fe840ee
  32. 31 Dec, 2002 1 commit
    • unknown's avatar
      postreviews fix (SCRUM related) · cd248a8d
      unknown authored
      reordered Item_row class variables to be sorted by memory size
      
      
      mysql-test/r/subselect.result:
        fix result of subselect test
      sql/item.cc:
        postreviews fix
      sql/item.h:
        postreviews fix
      sql/item_cmpfunc.h:
        postreviews fix
      sql/item_row.cc:
        postreviews fix
      sql/item_row.h:
        reordered class variables to be sorted by memory size
        postreviews fix
      sql/item_strfunc.cc:
        postreviews fix
      sql/item_subselect.cc:
        postreviews fix
      cd248a8d
  33. 27 Dec, 2002 2 commits
    • unknown's avatar
      postreview fix (SCRUM) · 3ab0ddc2
      unknown authored
      fixed layout
      
      
      sql/filesort.cc:
        fixed layout
      sql/gstream.cc:
        fixed layout
      sql/item.cc:
        postreview fix
      sql/item.h:
        postreview fix
      sql/item_cmpfunc.cc:
        postreview fix
      sql/item_cmpfunc.h:
        fixed layout
      sql/item_func.h:
        fixed layout
      sql/item_row.h:
        fixed layout
      sql/item_strfunc.cc:
        fixed layout
      sql/item_subselect.cc:
        postreview fix
      sql/item_subselect.h:
        postreview fix
      sql/nt_servc.cc:
        fixed layout
      sql/opt_range.cc:
        fixed layout
      sql/password.c:
        fixed layout
      sql/spatial.cc:
        fixed layout
      sql/sql_help.cc:
        fixed layout
      sql/sql_lex.cc:
        fixed layout
      sql/sql_olap.cc:
        fixed layout
      sql/sql_select.cc:
        fixed layout
      sql/sql_show.cc:
        fixed layout
      sql/sql_string.cc:
        fixed layout
      sql/sql_table.cc:
        fixed layout
      sql/stacktrace.c:
        fixed layout
      3ab0ddc2
    • unknown's avatar
      postreview fix · d201a34e
      unknown authored
      d201a34e
  34. 25 Dec, 2002 3 commits
    • unknown's avatar
      support of subselect without FROM reducing (SCRUM) · 1dfa625f
      unknown authored
      fixed bug of calling setup_fields without correct lex->current_select pointer in mysql_derived
      more correct creation of reference in Item_field::fix_field
      
      
      mysql-test/r/subselect.result:
        new explain with subselect reduced
      mysql-test/t/subselect.test:
        new explain with subselect reduced
      sql/item.cc:
        support of subselect without FROM reducing
        more correct creation of reference in Item_field::fix_field
      sql/item.h:
        support of subselect without FROM reducing
      sql/item_cmpfunc.cc:
        support of subselect without FROM reducing
      sql/item_cmpfunc.h:
        support of subselect without FROM reducing
      sql/item_func.cc:
        support of subselect without FROM reducing
      sql/item_func.h:
        support of subselect without FROM reducing
      sql/item_row.cc:
        support of subselect without FROM reducing
      sql/item_row.h:
        support of subselect without FROM reducing
      sql/item_strfunc.h:
        fixed layout
        support of subselect without FROM reducing
      sql/item_subselect.cc:
        support of subselect without FROM reducing
      sql/item_subselect.h:
        support of subselect without FROM reducing
      sql/mysql_priv.h:
        reference in Item_field::fix_field related changes
      sql/sql_base.cc:
        reference in Item_field::fix_field related changes
      sql/sql_derived.cc:
        fixed bug of calling setup_fields without correct lex->current_select pointer
      1dfa625f
    • unknown's avatar
      more correct argument for translation function (SCRUM related) · 0ba62021
      unknown authored
      fiexd bug in LIMIT check
      
      
      sql/item_subselect.cc:
        more correct argument for translation function
        fiexd bug in LIMIT check
      sql/item_subselect.h:
        more correct argument for translation function
      0ba62021
    • unknown's avatar
      check of LIMIT in row IN subquery (SCRUM related) · d765d3f3
      unknown authored
      mysql-test/r/subselect.result:
        test of LIMIT in row IN subquery
      mysql-test/t/subselect.test:
        test of LIMIT in row IN subquery
      sql/item_subselect.cc:
        check of LIMIT in row IN subquery
      d765d3f3