An error occurred fetching the project authors.
  1. 26 Jan, 2003 1 commit
    • unknown's avatar
      removed switching off static table optimization for subselects (SCRUM ,... · fb2226c3
      unknown authored
      removed switching off static table optimization for subselects (SCRUM , pre-commit  to be able merge with temporary table fix)
      
      
      
      sql/item.cc:
        report other table for outer reference
      sql/item.h:
        report other table for outer reference
      sql/item_cmpfunc.cc:
        report other table for outer reference
      sql/sql_select.cc:
        removed switching off static table optimization for subselects
      fb2226c3
  2. 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
  3. 27 Dec, 2002 1 commit
    • 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
  4. 25 Dec, 2002 1 commit
    • 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
  5. 19 Dec, 2002 4 commits
    • unknown's avatar
      row IN subselects (SCRUM) · a05b0f08
      unknown authored
      mysql-test/r/subselect.result:
        test of row IN subslect
      mysql-test/t/subselect.test:
        test of row IN subslect
      sql/item.cc:
        New helper Item - reference on item list by number
        cache item for row
      sql/item.h:
        layout fixed 
        New helper Item - reference on item list by number
        cache item for row
      sql/item_cmpfunc.cc:
        changed Item_in_optimizer to be able work with row
      sql/item_cmpfunc.h:
        changed Item_in_optimizer to be able work with row
      sql/item_row.cc:
        Fixed row Item to be compatible with row subselect
      sql/item_row.h:
        Fixed row Item to be compatible with row subselect
      sql/item_subselect.cc:
        changed name of class to corerectly reflex its function
        row IN subselect
      sql/item_subselect.h:
        changed name of class to corerectly reflex its function
        row IN subselect
      sql/sql_class.cc:
        changed name of class to corerectly reflex its function
      sql/sql_class.h:
        changed name of class to corerectly reflex its function
      sql/sql_yacc.yy:
        changed name of class to corerectly reflex its function
      a05b0f08
    • unknown's avatar
      Item_in_optimizer is changed to be used with row IN subselect (SCRUM) · 900a86f6
      unknown authored
      removed unused items
      
      
      sql/item.cc:
        removed unused Items
      sql/item.h:
        removed unused Items
      sql/item_cmpfunc.cc:
        Item_in_optimizer is changed to be used with row IN subselect
      sql/item_cmpfunc.h:
        Item_in_optimizer is changed to be used with row IN subselect
      sql/item_subselect.cc:
        Item_in_optimizer is changed to be used with row IN subselect
      900a86f6
    • unknown's avatar
      support of simple row subselects (SCRUM) · 86ccbe37
      unknown authored
      mysql-test/r/subselect.result:
        test of simple row subselect
        fixed table droping
      mysql-test/t/subselect.test:
        test of simple row subselect
        fixed table dropimg
      sql/item.cc:
        Item_cache_str fixed to correctly store NULL and copy string value
      sql/item.h:
        Item_cache_str fixed to correctly store NULL and copy string value
      sql/item_cmpfunc.cc:
        support of simple row subselects
      sql/item_subselect.cc:
        support of simple row subselects
      sql/item_subselect.h:
        support of simple row subselects
      sql/sql_class.cc:
        support of simple row subselects
      86ccbe37
    • unknown's avatar
      optimized single value subselect (to be used as row) (SCRUM) · ea4f406b
      unknown authored
      sql/item.h:
        optimized single value subselect (to be used as row)
      sql/item_subselect.cc:
        optimized single value subselect (to be used as row)
      sql/item_subselect.h:
        optimized single value subselect (to be used as row)
      sql/sql_class.cc:
        optimized single value subselect (to be used as row)
      ea4f406b
  6. 15 Dec, 2002 1 commit
    • unknown's avatar
      fixed subselect null test · 10622205
      unknown authored
      fixed method definition (overloading instead of redefinition)
      fixed time expression type definition
      
      
      mysql-test/r/subselect.result:
        test of subselect null test
      mysql-test/t/subselect.test:
        test of subselect null test
      sql/item.h:
        fixed method definition (overloading instead of redefinition)
      sql/item_subselect.h:
        fixed subselect null test
      sql/item_timefunc.cc:
        fixed time expression type definition
      10622205
  7. 14 Dec, 2002 2 commits
    • unknown's avatar
      Fix after merge · 4381cd85
      unknown authored
      BitKeeper/etc/ignore:
        added libmysqld/protocol.cc
      4381cd85
    • unknown's avatar
      Fixes for binary protocol (complement to last push) · f935c6a2
      unknown authored
      Changed timestamp to return string in YYYY-MM-DD HH:MM:SS format.
      DATE_ADD() and related functions now returns correct DATE/DATETIME type depending on argument types.
      Now all tests passes, still some work left to remove warnings in log files from mysql-test-run
      
      
      mysql-test/r/cast.result:
        New result for time
      mysql-test/r/delayed.result:
        Timestamp update
      mysql-test/r/derived.result:
        Fix after bulk insert change
      mysql-test/r/explain.result:
        Fix after bulk insert change
      mysql-test/r/func_date_add.result:
        Timestamp change
      mysql-test/r/func_str.result:
        Timestamp change
      mysql-test/r/func_time.result:
        Timestamp change
      mysql-test/r/innodb.result:
        Timestamp change
      mysql-test/r/join_outer.result:
        Fix after bulk insert change
      mysql-test/r/key_primary.result:
        Fix after bulk insert change
      mysql-test/r/keywords.result:
        Timestamp change
      mysql-test/r/merge.result:
        Removed warning
      mysql-test/r/odbc.result:
        Fix after bulk insert change
      mysql-test/r/range.result:
        Fix after bulk insert change
      mysql-test/r/select.result:
        Fix after bulk insert change
      mysql-test/r/subselect.result:
        Fixed EXPLAIN output
      mysql-test/r/type_datetime.result:
        Timestamp update
      mysql-test/r/type_ranges.result:
        Timestamp update
      mysql-test/r/type_timestamp.result:
        Timestamp update
      mysql-test/r/union.result:
        EXPLAIN UPDATE
      mysql-test/t/func_str.test:
        Timestamp update
      mysql-test/t/func_time.test:
        New test for interval type result
      mysql-test/t/merge.test:
        Remove warnings of wrong drop table
      mysql-test/t/type_datetime.test:
        Timestamp change
      mysql-test/t/type_timestamp.test:
        Timestamp change
      sql/field.cc:
        Changed timestamp to return string in YYYY-MM-DD HH:MM:SS format
      sql/field.h:
        Changed timestamp to return string in YYYY-MM-DD HH:MM:SS format
      sql/item.cc:
        Binary protocol update
      sql/item.h:
        Binary protocol update
      sql/item_func.cc:
        Added comment
      sql/item_func.h:
        @variables are always returned to the client as strings
      sql/item_timefunc.cc:
        Changed INTERVAL to return correct type
      sql/item_timefunc.h:
        Changed INTERVAL to return correct type
      sql/mysqld.cc:
        Changed default pthread_attr_setstacksize to 129K
      sql/protocol.cc:
        More type checking
      sql/set_var.cc:
        Fixed that @convert works ok with new protocol
      sql/sql_analyse.cc:
        Fixed bug in analyze
      sql/sql_class.cc:
        Fixed bug from last push in LIMIT
      sql/sql_error.cc:
        More optimal types
      sql/sql_repl.cc:
        Binary protocol changes
      sql/sql_select.cc:
        Fixed bug in multi-table-update
        Changed EXPLAIN to return NULL instead of empty strings
      sql/sql_show.cc:
        Binary protocol
      f935c6a2
  8. 13 Dec, 2002 1 commit
    • unknown's avatar
      add VARIANCE function · e10f255d
      unknown authored
      mysql-test/r/func_group.result:
        add 'VARIANCE' tests
      mysql-test/r/having.result:
        add 'VARIANCE' tests
      mysql-test/r/select.result:
        add 'VARIANCE' tests
      mysql-test/t/func_group.test:
        add 'VARIANCE' tests
      mysql-test/t/having.test:
        add 'VARIANCE' tests
      mysql-test/t/select.test:
        add 'VARIANCE' tests
      sql/item.cc:
        add 'VARIANCE' sum function
      sql/item.h:
        add 'VARIANCE' sum function
      sql/item_sum.cc:
        add 'VARIANCE' sum function
      sql/item_sum.h:
        add 'VARIANCE' sum function
      BitKeeper/etc/logging_ok:
        Logging to logging@openlogging.org accepted
      e10f255d
  9. 11 Dec, 2002 1 commit
    • unknown's avatar
      rename of net_pkg.cc to protocol.cc · f918dfc8
      unknown authored
      Class for sending data from server to client (Protocol)
      This handles both the old ( <= 4.0 ) protocol and then new binary protocol that is used for prepared statements.
      
      
      libmysql/libmysql.c:
        Jump over reserved bits in the binary protocol
      libmysqld/Makefile.am:
        rename of net_pkg.cc to protocol.cc
      mysql-test/r/case.result:
        Fixed previously wrong test
      mysql-test/r/cast.result:
        Fixed previously wrong test
      sql/Makefile.am:
        Rename of net_pkg.cc to protocol.cc
      sql/field.cc:
        Binary protocol
        Added key handling functions for new VARCHAR type
      sql/field.h:
        New protocol
      sql/ha_berkeley.cc:
        New protocol
      sql/ha_berkeley.h:
        New protocol
      sql/ha_innodb.cc:
        New protocol
      sql/ha_myisam.cc:
        New protocol
      sql/item.cc:
        New protocol
      sql/item.h:
        New protocol
      sql/item_func.cc:
        Removed old code from 3.23
      sql/item_func.h:
        Set cached_result_type as it was previosly used before set
      sql/item_subselect.cc:
        Standard make_field() is now good enough
      sql/item_subselect.h:
        Use default make_field()
      sql/item_sum.cc:
        Clean up Item_sum::make_field()
      sql/item_sum.h:
        Use standard make_field()
      sql/item_timefunc.h:
        return correct types for casts()
        Use standard make_field()
      sql/log_event.cc:
        New protocol
      sql/log_event.h:
        New protocol
      sql/mysql_priv.h:
        Move things to protocol.h
      sql/opt_range.cc:
        Indentation cleanups + small optimization
      sql/procedure.h:
        Use MYSQL_TYPE instead of FIELD_TYPE
      sql/protocol.cc:
        Class for sending data from server to client.
        This handles both the old ( <= 4.0 ) protocol and then new binary protocol that is used for prepared statements.
      sql/repl_failsafe.cc:
        New protocol
      sql/slave.cc:
        New protocol
      sql/sql_acl.cc:
        New protocol
      sql/sql_base.cc:
        Move send_fields() to protocol.cc
      sql/sql_class.cc:
        New protocol
      sql/sql_class.h:
        New protocol
      sql/sql_db.cc:
        New protocol
      sql/sql_error.cc:
        New protocol
      sql/sql_handler.cc:
        New protocol
      sql/sql_help.cc:
        New protocol
      sql/sql_parse.cc:
        Remove wrong assert (variable was not initalized at this point)
      sql/sql_prepare.cc:
        New protocol
      sql/sql_repl.cc:
        New protocol
      sql/sql_select.cc:
        New protocol
      sql/sql_show.cc:
        New protocol
      sql/sql_string.h:
        New functions used by the protocol functions
      sql/sql_table.cc:
        New protocol
      sql/structs.h:
        Make second_part ulong to prepare for ANSI sub-seconds
      sql/time.cc:
        New convert function needed by the new protocol functions
      f918dfc8
  10. 10 Dec, 2002 1 commit
    • unknown's avatar
      postreview fix (SCRUM) · 91d3e2b3
      unknown authored
      NULL fixed
      max_length fixed
      layout fixed
      
      
      mysql-test/r/row.result:
        NULL fixed
      mysql-test/t/row.test:
        NULL fixed
      sql/item.cc:
        postreview fix
      sql/item.h:
        postreview fix
      sql/item_cmpfunc.cc:
        layout fix
        postreview fix
        max_length fix
        NULL fixed
      sql/item_cmpfunc.h:
        postreview fix
      sql/item_row.cc:
        NULL fixed
      sql/item_row.h:
        NULL fixed
      sql/sql_class.cc:
        postreview fix
      91d3e2b3
  11. 09 Dec, 2002 1 commit
  12. 07 Dec, 2002 1 commit
    • unknown's avatar
      item.cc: · cd5ef4d9
      unknown authored
        Fix for save_in_field to take extra bool argumnet (4.0 merge compatibility)
      
      
      sql/item.cc:
        Fix for save_in_field to take extra bool argumnet (missed one)
      sql/sql_prepare.cc:
        cleanups for init_param_items
      cd5ef4d9
  13. 06 Dec, 2002 1 commit
    • unknown's avatar
      _NEW_ IN/ALL/ANY/SOME behaviour with NULL (SCRUM related) · 59b37119
      unknown authored
      optimization of left expression evaluation
      more descriptive method name
      
      
      mysql-test/r/func_in.result:
        test of _NEW_ IN behaviour with NULL
      mysql-test/r/subselect.result:
        test of _NEW_ IN/ALL/ANY/SOME behaviour with NULL
      mysql-test/t/func_in.test:
        test of _NEW_ IN behaviour with NULL
      mysql-test/t/subselect.test:
        test of _NEW_ IN/ALL/ANY/SOME behaviour with NULL
      sql/item.cc:
        _NEW_ IN/ALL/ANY/SOME behaviour with NULL
        optimization of left expression evaluation
      sql/item.h:
        _NEW_ IN/ALL/ANY/SOME behaviour with NULL
        optimization of left expression evaluation
      sql/item_cmpfunc.cc:
        _NEW_ IN/ALL/ANY/SOME behaviour with NULL
        optimization of left expression evaluation
      sql/item_cmpfunc.h:
        _NEW_ IN/ALL/ANY/SOME behaviour with NULL
        optimization of left expression evaluation
      sql/item_subselect.cc:
        _NEW_ IN/ALL/ANY/SOME behaviour with NULL
        optimization of left expression evaluation
      sql/item_subselect.h:
        _NEW_ IN/ALL/ANY/SOME behaviour with NULL
        optimization of left expression evaluation
      sql/sql_class.cc:
        more descriptive method name
      sql/sql_union.cc:
        more descriptive method name
      59b37119
  14. 04 Dec, 2002 1 commit
    • unknown's avatar
      changing in Item_row according last review (SCRUM) · 265bf238
      unknown authored
      sql/item.h:
        changing in Item_row according last review
      sql/item_cmpfunc.cc:
        changing in Item_row according last review
      sql/item_cmpfunc.h:
        changing in Item_row according last review
      sql/item_func.h:
        changing in Item_row according last review
      sql/item_row.h:
        changing in Item_row according last review
      265bf238
  15. 03 Dec, 2002 1 commit
    • unknown's avatar
      Change of internal key_field=NULL handling to avoid error messages. · 80b143c1
      unknown authored
      Optimized SELECT DISTINCT ... ORDER BY ... LIMIT
      Fixed reference to uninitalized variable
      
      
      mysql-test/r/distinct.result:
        Updated results for new tests
      mysql-test/r/func_math.result:
        Fixed test of RND()
      mysql-test/r/innodb.result:
        Updated results for new tests
      mysql-test/r/null.result:
        Updated results for new tests
      mysql-test/t/distinct.test:
        New distinct test
      mysql-test/t/func_math.test:
        Fixed test of RND()
      mysql-test/t/innodb.test:
        Test for bugs
      mysql-test/t/null.test:
        TEst for bugs
      sql/field.h:
        Change of NULL handling to avoid error messages
      sql/field_conv.cc:
        Change of NULL handling to avoid error messages
      sql/item.cc:
        Change of NULL handling to avoid error messages
      sql/item.h:
        Change of NULL handling to avoid error messages
      sql/item_cmpfunc.cc:
        Change of NULL handling to avoid error messages
      sql/item_func.cc:
        Change of NULL handling to avoid error messages
      sql/item_func.h:
        Cleaned up RND() handling
      sql/item_timefunc.cc:
        Change of NULL handling to avoid error messages
      sql/item_timefunc.h:
        Change of NULL handling to avoid error messages
      sql/opt_range.cc:
        Fixed bug in <=> NULL
      sql/password.c:
        Indentation cleanup
      sql/sql_base.cc:
        Change of NULL handling to avoid error messages
      sql/sql_class.cc:
        Fixed reference to uninitalized variable
      sql/sql_handler.cc:
        Change of NULL handling to avoid error messages
      sql/sql_select.cc:
        Change of NULL handling to avoid error messages
        Optimized SELECT DISTINCT ... ORDER BY ... LIMIT
      sql/sql_select.h:
        Change of NULL handling to avoid error messages
      sql/unireg.cc:
        Change of NULL handling to avoid error messages
      80b143c1
  16. 29 Nov, 2002 1 commit
    • unknown's avatar
      checking columns of top items · 042c34d8
      unknown authored
      mysql-test/r/row_test.result:
        changed error message (report requestet columns number)
        new tests
      mysql-test/t/row_test.test:
        new tests
      sql/item.h:
        checking columns of wrapper items
      042c34d8
  17. 28 Nov, 2002 1 commit
  18. 27 Nov, 2002 1 commit
    • unknown's avatar
      after review changes in IN/ALL/ANY/SOME (SCRUM) · 94352255
      unknown authored
      sql/item.cc:
        after review changes
      sql/item.h:
        after review changes
      sql/item_subselect.cc:
        after review changes
      sql/mysql_priv.h:
        after review changes
      sql/sql_base.cc:
        after review changes
      94352255
  19. 25 Nov, 2002 1 commit
    • unknown's avatar
      Fixed CAST( xxx as CHAR) · 1b9becc3
      unknown authored
      sql/item.h:
        Made some virtual functions non virtual (as they are not used virtually)
      sql/item_strfunc.cc:
        Optimizations.
      sql/item_strfunc.h:
        Fixed BINARY handling
      sql/sql_string.h:
        Indentation cleanups
      1b9becc3
  20. 24 Nov, 2002 1 commit
    • unknown's avatar
      fix of selfreference bug · 4587ddda
      unknown authored
      mysql-test/r/subselect.result:
        test of selfreference
      mysql-test/t/subselect.test:
        test of selfreference
      4587ddda
  21. 22 Nov, 2002 1 commit
  22. 21 Nov, 2002 1 commit
    • unknown's avatar
      prevent using references on sum function (except HAVING clouse of current... · 2da4d135
      unknown authored
      prevent using references on sum function (except HAVING clouse of current select) and forward references
      
      
      include/mysqld_error.h:
        new error message
      mysql-test/r/subselect.result:
        new error message
      mysql-test/t/subselect.test:
        new error message
      sql/item.cc:
        fix_fields indicator
        test on incorrect references
      sql/item.h:
        fix_fields indicator
      sql/item_cmpfunc.cc:
        fix_fields indicator
      sql/item_func.cc:
        fix_fields indicator
      sql/item_func.h:
        fix_fields indicator
      sql/item_strfunc.cc:
        fix_fields indicator
      sql/item_subselect.cc:
        fix_fields indicator
      sql/item_sum.cc:
        fix_fields indicator
      sql/item_sum.h:
        fix_fields indicator
      sql/item_uniq.h:
        fix_fields indicator
      sql/share/czech/errmsg.txt:
        new error message
      sql/share/danish/errmsg.txt:
        new error message
      sql/share/dutch/errmsg.txt:
        new error message
      sql/share/english/errmsg.txt:
        new error message
      sql/share/estonian/errmsg.txt:
        new error message
      sql/share/french/errmsg.txt:
        new error message
      sql/share/german/errmsg.txt:
        new error message
      sql/share/greek/errmsg.txt:
        new error message
      sql/share/hungarian/errmsg.txt:
        new error message
      sql/share/italian/errmsg.txt:
        new error message
      sql/share/japanese/errmsg.txt:
        new error message
      sql/share/korean/errmsg.txt:
        new error message
      sql/share/norwegian-ny/errmsg.txt:
        new error message
      sql/share/norwegian/errmsg.txt:
        new error message
      sql/share/polish/errmsg.txt:
        new error message
      sql/share/portuguese/errmsg.txt:
        new error message
      sql/share/romanian/errmsg.txt:
        new error message
      sql/share/russian/errmsg.txt:
        new error message
      sql/share/serbian/errmsg.txt:
        new error message
      sql/share/slovak/errmsg.txt:
        new error message
      sql/share/spanish/errmsg.txt:
        new error message
      sql/share/swedish/errmsg.txt:
        new error message
      sql/share/ukrainian/errmsg.txt:
        new error message
      2da4d135
  23. 15 Nov, 2002 1 commit
    • unknown's avatar
      basic row Items (SCRUM) · 3f742831
      unknown authored
      include/mysql_com.h:
        basic row Items
      include/mysqld_error.h:
        more wide error mening
      libmysqld/Makefile.am:
        basic row Items
      mysql-test/r/subselect.result:
        more wide error mening
      sql/Makefile.am:
        basic row Items
      sql/filesort.cc:
        basic row Items
      sql/item.cc:
        basic row Items
      sql/item.h:
        basic row Items
      sql/item_cmpfunc.cc:
        basic row Items
      sql/item_cmpfunc.h:
        basic row Items
      sql/item_func.cc:
        basic row Items
      sql/item_func.h:
        basic row Items
      sql/item_strfunc.cc:
        basic row Items
      sql/item_strfunc.h:
        basic row Items
      sql/item_subselect.cc:
        basic row Items
      sql/item_sum.cc:
        basic row Items
      sql/share/czech/errmsg.txt:
        more wide error mening
      sql/share/danish/errmsg.txt:
        more wide error mening
      sql/share/dutch/errmsg.txt:
        more wide error mening
      sql/share/english/errmsg.txt:
        more wide error mening
      sql/share/estonian/errmsg.txt:
        more wide error mening
      sql/share/french/errmsg.txt:
        more wide error mening
      sql/share/german/errmsg.txt:
        more wide error mening
      sql/share/greek/errmsg.txt:
        more wide error mening
      sql/share/hungarian/errmsg.txt:
        more wide error mening
      sql/share/italian/errmsg.txt:
        more wide error mening
      sql/share/japanese/errmsg.txt:
        more wide error mening
      sql/share/korean/errmsg.txt:
        more wide error mening
      sql/share/norwegian-ny/errmsg.txt:
        more wide error mening
      sql/share/norwegian/errmsg.txt:
        more wide error mening
      sql/share/polish/errmsg.txt:
        more wide error mening
      sql/share/portuguese/errmsg.txt:
        more wide error mening
      sql/share/romanian/errmsg.txt:
        more wide error mening
      sql/share/russian/errmsg.txt:
        more wide error mening
      sql/share/serbian/errmsg.txt:
        more wide error mening
      sql/share/slovak/errmsg.txt:
        more wide error mening
      sql/share/spanish/errmsg.txt:
        more wide error mening
      sql/share/swedish/errmsg.txt:
        more wide error mening
      sql/share/ukrainian/errmsg.txt:
        more wide error mening
      sql/sql_base.cc:
        fix_fields error handling
      sql/sql_lex.cc:
        basic row Items
      sql/sql_select.cc:
        basic row Items
      sql/sql_yacc.yy:
        basic row Items
      3f742831
  24. 13 Nov, 2002 1 commit
    • unknown's avatar
      fixed cyclic reference bug · 81a5afb9
      unknown authored
      mysql-test/r/subselect.result:
        test of cyclic reference
      mysql-test/t/subselect.test:
        test of cyclic reference
      sql/share/czech/errmsg.txt:
        new error message
      sql/share/danish/errmsg.txt:
        new error message
      sql/share/dutch/errmsg.txt:
        new error message
      sql/share/english/errmsg.txt:
        new error message
      sql/share/estonian/errmsg.txt:
        new error message
      sql/share/french/errmsg.txt:
        new error message
      sql/share/german/errmsg.txt:
        new error message
      sql/share/greek/errmsg.txt:
        new error message
      sql/share/hungarian/errmsg.txt:
        new error message
      sql/share/italian/errmsg.txt:
        new error message
      sql/share/japanese/errmsg.txt:
        new error message
      sql/share/korean/errmsg.txt:
        new error message
      sql/share/norwegian-ny/errmsg.txt:
        new error message
      sql/share/norwegian/errmsg.txt:
        new error message
      sql/share/polish/errmsg.txt:
        new error message
      sql/share/portuguese/errmsg.txt:
        new error message
      sql/share/romanian/errmsg.txt:
        new error message
      sql/share/russian/errmsg.txt:
        new error message
      sql/share/serbian/errmsg.txt:
        new error message
      sql/share/slovak/errmsg.txt:
        new error message
      sql/share/spanish/errmsg.txt:
        new error message
      sql/share/swedish/errmsg.txt:
        new error message
      sql/share/ukrainian/errmsg.txt:
        new error message
      81a5afb9
  25. 11 Nov, 2002 1 commit
    • unknown's avatar
      Fixed that NULL and 0 returns 0 instead of NULL · 3165440c
      unknown authored
      This is coded to not cause a speed impact on top level AND expressions where we don't care if an AND expression returns 0 or NULL
      
      
      mysql-test/r/bdb.result:
        Fix results after serges last patch
      mysql-test/r/innodb.result:
        Fix results after serges last patch
      mysql-test/r/null.result:
        Update for new AND handling of NULL
      scripts/mysqld_safe.sh:
        Fix 'isroot' test to work even if user is not root
      sql/item.h:
        Fixed that NULL and 0 returns 0 instead of NULL
      sql/item_cmpfunc.cc:
        Fixed that NULL and 0 returns 0 instead of NULL
      sql/item_cmpfunc.h:
        Fixed that NULL and 0 returns 0 instead of NULL
      sql/sql_base.cc:
        Fixed that NULL and 0 returns 0 instead of NULL
      sql/sql_parse.cc:
        Fixed that NULL and 0 returns 0 instead of NULL
      sql/sql_select.cc:
        Fixed that NULL and 0 returns 0 instead of NULL
      sql/sql_yacc.yy:
        Fixed that NULL and 0 returns 0 instead of NULL
      3165440c
  26. 06 Nov, 2002 2 commits
  27. 31 Oct, 2002 1 commit
    • unknown's avatar
      IN subselect with ORDER BY, HAVING & sum functions · ceb73645
      unknown authored
      mysql-test/r/subselect.result:
        IN subselect with ORDER BY, HAVING & sum functions test
      mysql-test/t/subselect.test:
        IN subselect with ORDER BY, HAVING & sum functions test
      sql/item.h:
        removed field, because parent class has same field
      ceb73645
  28. 27 Oct, 2002 1 commit
    • unknown's avatar
      IN subselect · 0241d64b
      unknown authored
      mysql-test/r/subselect.result:
        IN subselect test
      mysql-test/t/subselect.test:
        IN subselect test
      sql/item.cc:
        Item wrappers for IN subselect
      sql/item.h:
        Item wrappers for IN subselect
      0241d64b
  29. 25 Oct, 2002 1 commit
  30. 23 Oct, 2002 1 commit
    • unknown's avatar
      fixed DISTINCT in subselect bug · 4aef2862
      unknown authored
      small Item_ref fix
      
      
      mysql-test/r/subselect.result:
        DISTINCT in subselect test
      mysql-test/t/subselect.test:
        DISTINCT in subselect test
      sql/sql_class.cc:
        fixed DISTINCT in subselect bug
      4aef2862
  31. 16 Oct, 2002 2 commits
    • unknown's avatar
      Fix after merge · f64428be
      unknown authored
      f64428be
    • unknown's avatar
      Fixed bug in LEFT JOIN ... WHERE not_null_key_column=NULL; · b3e3a09e
      unknown authored
      Docs/manual.texi:
        ChangeLog
      sql/field.h:
        New virtual function to set a field to null or signal an error
      sql/field_conv.cc:
        New function to set a field to null or signal an error
      sql/item.cc:
        When setting a field to null internally (for WHERE testing) don't autoconvert NULL -> now() or last_insert_id()
      sql/item.h:
        New virtual function to set a field to null or signal an error
      b3e3a09e
  32. 02 Oct, 2002 1 commit
    • unknown's avatar
      Fixes and code cleanups after merge with 4.0.3 · 5a28c2ca
      unknown authored
      Warning handling and initial prepared statement handling (last not complete yet)
      Changed a lot of functions that returned 0/1 to my_bool type.
      GRANT handling now uses read/write locks instead of mutex
      Change basic net functions to use THD instead of NET
      (needed for 4.1 protocol)
      Use my_sprintf instead of sprintf() + strlen()
      Added alloc_query() to be able to chare query initialization code with
      prepared statements.
      Cleanup handling of SHOW COUNT(*) WARNINGS and SELECT LAST_INSERT_ID()
      
      Note that the following test fails (will be fixed ASAP):
      sub_select, union, rpl_rotate_logs and rpl_mystery22
      
      
      BitKeeper/deleted/.del-README~3449730baf983117:
        Delete: mysql-test/t/README
      BitKeeper/deleted/.del-sql_error.cc~2f1caca8d2485dbe:
        Delete: libmysqld/sql_error.cc
      BitKeeper/deleted/.del-sql_prepare.cc~f703729793935ed6:
        Delete: libmysqld/sql_prepare.cc
      Docs/manual.texi:
        Updated variable list
      client/mysql.cc:
        Show warning count to user.
      client/mysqltest.c:
        Add warnings to test results
      configure.in:
        New shared library version number
      include/errmsg.h:
        Indentation cleanup
      include/mysql.h:
        Removed MYSQL_ERROR
        Indentaion cleanups
      include/mysql_com.h:
        Changed functions to returns true/false to my_bool.
      include/mysqld_error.h:
        New error messages
      isam/pack_isam.c:
        Indentation change
      libmysql/Makefile.am:
        Fix of wrong merge
      libmysql/Makefile.shared:
        Indentation cleanup
      libmysql/errmsg.c:
        Removed not used errors
      libmysql/libmysql.c:
        Change functions to return 1 on error (not -1)
        Change type of functions that returns 0/1 to my_bool
        Lot of code optimizations.
        Lot of changes for prepared statements. This now handles sending of binary data to server.
        Receving of binary data is not yet done (will have to wait until server code for this is ready)
        mysql_warning_count and mysql_warnings() implemented.
      libmysql/libmysql.def:
        Added mysql_warnings and mysql_warning_count
      libmysql/manager.c:
        Fixed wrong testing of result from my_connect()
      libmysqld/lib_sql.cc:
        Removed global variable THR_NET
        Change basic net functions to use THD instead of NET
        GRANT handling now uses read/write locks instead of mutex
      libmysqld/libmysqld.c:
        Changed functions to be my_bool
      myisam/ft_boolean_search.c:
        Trivial code cleanup
      myisam/ft_stopwords.c:
        Trivial code cleanup
      myisam/mi_check.c:
        Update to 4.1 structures
      myisam/myisampack.c:
        Trivial code cleanup
      myisam/rt_key.c:
        Code cleanup
      myisam/rt_test.c:
        Code cleanup
        Removed compiler warnings
      myisam/sp_key.c:
        Indentation changes
      myisam/sp_test.c:
        Removed compiler warnings
      mysql-test/README:
        Updated to reflect the new --external flag.
      mysql-test/mysql-test-run.sh:
        --local (start new server) is now default.
        Use --external to test against external server.
      mysql-test/r/rollback.result:
        Updated for 4.1 warnings
      mysql-test/r/rpl_log.result:
        Update for 4.1
      mysql-test/t/rollback.test:
        Updated for 4.1 warnings
      mysql-test/t/rpl_log_pos.test:
        Portability fix
      mysys/hash.c:
        Indentation change
      mysys/my_error.c:
        Indentation change
      mysys/tree.c:
        Updated file description
      sql/field.cc:
        Fixed bugs introduced by merge
        Use my_sprintf instead of sprintf() + strlen()
      sql/field.h:
        Add CHARSET_INFO to field structure
      sql/gstream.h:
        Indentation changes.
        Added GPL copyright header
      sql/ha_innodb.cc:
        Updated parameters for net functions.
      sql/item.cc:
        Updates of Item_param
        Indentation changes
      sql/item.h:
        Removed size_of() function from item.
      sql/item_func.cc:
        Update function usage for 4.1
        Added get_system_var()
      sql/item_func.h:
        Indentation change
      sql/item_strfunc.cc:
        Removed not needed inclusion of gstream.h
        Update to use system variables (from 4.0)
      sql/item_sum.h:
        Removed size_of() functions from item.
      sql/item_timefunc.cc:
        Change sprintf() + strlen() -> my_sprintf()
        Added length parameter to ->append()
      sql/item_timefunc.h:
        Removed size_of() functions from item.
      sql/item_uniq.h:
        Removed size_of() functions from item.
      sql/lex.h:
        Removed SQL_ERROR_COUNT variable
      sql/log.cc:
        Change sprintf() + strlen() -> my_sprintf()
      sql/log_event.cc:
        Change sprintf() + strlen() -> my_sprintf()
      sql/mini_client.cc:
        Added check that one always specifies a length to mc_mysql_query()
      sql/mysql_priv.h:
        New prototypes
        Change of NET -> THD parameter for net functions.
      sql/mysqld.cc:
        New startup options:  'max_prepared_statements', 'max_error_count'
        Updated usage of net functions.
      sql/net_pkg.cc:
        Change basic net functions to use THD instead of NET
        (needed to be able to handle 4.0 and 4.1 protocols)
        Lots of function comments
      sql/net_serv.cc:
        Change int return values -> my_bool
        Updated net_write_command() to take an extra header block to be added to the packet.
        (This made the prepared statement code much nicer and more efficient)
      sql/repl_failsafe.cc:
        Update net functions to use THD instead of NET
      sql/set_var.cc:
        Added @@error_count and @@warning_count variables.
        Updated to 4.1 function usage
      sql/set_var.h:
        Added @@error_count and @@warning_count variables.
      sql/share/czech/errmsg.txt:
        Removed Warning: from warning error messages.
      sql/share/english/errmsg.txt:
        Removed Warning: from warning error messages.
      sql/share/greek/errmsg.txt:
        Removed Warning: from warning error messages.
      sql/share/hungarian/errmsg.txt:
        Removed Warning: from warning error messages.
      sql/share/japanese/errmsg.txt:
        Removed Warning: from warning error messages.
      sql/share/korean/errmsg.txt:
        Removed Warning: from warning error messages.
      sql/share/norwegian-ny/errmsg.txt:
        Removed Warning: from warning error messages.
      sql/share/norwegian/errmsg.txt:
        Removed Warning: from warning error messages.
      sql/share/polish/errmsg.txt:
        Removed Warning: from warning error messages.
      sql/share/romanian/errmsg.txt:
        Removed Warning: from warning error messages.
      sql/share/slovak/errmsg.txt:
        Removed Warning: from warning error messages.
      sql/share/swedish/errmsg.txt:
        Removed Warning: from warning error messages.
      sql/slave.cc:
        Change basic net functions to use THD instead of NET
        skip_load_data_file recoded to fit new client/server protocol
      sql/spatial.h:
        Added copyright header
        Indentation cleanups
      sql/sql_acl.cc:
        Change basic net functions to use THD instead of NET
        GRANT handling now uses read/write locks instead of mutex
      sql/sql_analyse.cc:
        Change basic net functions to use THD instead of NET
        sprintf() + strlen() -> my_sprintf()
      sql/sql_base.cc:
        More DBUG statements
      sql/sql_class.cc:
        Change basic net functions to use THD instead of NET
        warning and prepared statement handling
      sql/sql_class.h:
        Change basic net functions to use THD instead of NET
        warning and prepared statement handling
      sql/sql_db.cc:
        Code cleanup & optimization.
      sql/sql_delete.cc:
        Change basic net functions to use THD instead of NET
      sql/sql_derived.cc:
        Change basic net functions to use THD instead of NET
      sql/sql_do.cc:
        Change basic net functions to use THD instead of NET
      sql/sql_error.cc:
        Big rewrite of error handling.
      sql/sql_handler.cc:
        Change basic net functions to use THD instead of NET
      sql/sql_insert.cc:
        Change basic net functions to use THD instead of NET
      sql/sql_lex.cc:
        Change basic net functions to use THD instead of NET
      sql/sql_lex.h:
        Added param_count to st_select_lex_node
      sql/sql_list.h:
        Removed not needed error list.
      sql/sql_load.cc:
        Change basic net functions to use THD instead of NET
      sql/sql_parse.cc:
        Change basic net functions to use THD instead of NET
        Added alloc_query() to be able to chare query initialization code with
        prepared statements.
        Update of warning handling.
        Added create_select_for_variable() (for SHOW COUNT(*) WARNINGS)
      sql/sql_prepare.cc:
        Initial prepared statement handling
      sql/sql_rename.cc:
        Change basic net functions to use THD instead of NET
      sql/sql_repl.cc:
        Change basic net functions to use THD instead of NET
      sql/sql_select.cc:
        Small code cleanups
        Added missing initialization of error that caused some queries that returned an empty result set to fail
      sql/sql_select.h:
        Ensure that JOIN.error is properly initialized
      sql/sql_show.cc:
        Change basic net functions to use THD instead of NET
        A lot of optimization
      sql/sql_table.cc:
        Change basic net functions to use THD instead of NET
        Indentaion cleanup
      sql/sql_udf.cc:
        Change basic net functions to use THD instead of NET
      sql/sql_union.cc:
        Change basic net functions to use THD instead of NET
      sql/sql_update.cc:
        Change basic net functions to use THD instead of NET
      sql/sql_yacc.yy:
        Change basic net functions to use THD instead of NET
        Cleanup handling of SHOW COUNT(*) WARNINGS and SELECT LAST_INSERT_ID()
      sql/structs.h:
        Moved structures to files where they was used
      sql/table.cc:
        Don't accept empty database names
      sql/uniques.cc:
        Indentation cleanup
      sql/unireg.cc:
        Change basic net functions to use THD instead of NET
      sql/unireg.h:
        Added defaults for warnings and prepared statements
      strings/ctype-simple.c:
        optimization
      tests/client_test.c:
        Fixed wrong paramaters to printf()
      5a28c2ca
  33. 24 Aug, 2002 1 commit
  34. 24 Jul, 2002 1 commit
    • unknown's avatar
      INSERT ... VALUES(DEFAULT) · 296adfbe
      unknown authored
      BitKeeper/deleted/.del-insert_set.test~35be5a761a410ac1:
        Delete: mysql-test/t/insert_set.test
      BitKeeper/deleted/.del-insert_set.result~fca5025db098c892:
        Delete: mysql-test/r/insert_set.result
      Docs/manual.texi:
        Changelog
      mysql-test/r/insert.result:
        Test new insert ... (DEFAULT)
      mysql-test/t/insert.test:
        Test new insert ... (DEFAULT)
      sql/item.cc:
        Indentation cleanup
      296adfbe