An error occurred fetching the project authors.
  1. 21 Jan, 2003 1 commit
    • unknown's avatar
      fixed test of cardinality · 8a3d3a53
      unknown authored
      mysql-test/r/subselect.result:
        test of cardinality error
      mysql-test/t/subselect.test:
        test of cardinality error
      8a3d3a53
  2. 17 Jan, 2003 1 commit
    • unknown's avatar
      Changed my_strntoxxx functions to clear error number on start · 4655f1d4
      unknown authored
      Allow one to change ANSI_QUOTES mode per thread and on the fly
      
      
      sql/field.cc:
        Use new my_strntoxxx functions where function clears errno.
        Change variable names to 'not_used' for variables that is not used in function
      sql/sql_base.cc:
        comment
      sql/sql_lex.cc:
        Allow one to change ANSI_QUOTES mode per thread and on the fly
      sql/sql_lex.h:
        Allow one to change ANSI_QUOTES mode per thread and on the fly
      strings/ctype-simple.c:
        Changed my_strntoxxx functions to clear error number on start
        Changed my_strtod() to correctly set return error number
      strings/ctype-utf8.c:
        Changed my_strntoxxx functions to clear error number on start
        Changed my_strtod() to correctly set return error number
      4655f1d4
  3. 14 Jan, 2003 1 commit
    • unknown's avatar
      after merging fixing · 742de8f5
      unknown authored
      include/m_string.h:
        added include to va_list bicame known
      mysql-test/r/union.result:
        some changing in error message
      sql/sql_base.cc:
        error detection moved
      sql/sql_lex.cc:
        new flag to detect table name error
      sql/sql_lex.h:
        new flag to detect table name error
      sql/sql_yacc.yy:
        check possibility of using table name added
      742de8f5
  4. 09 Jan, 2003 1 commit
    • unknown's avatar
      Don't count NULL values in cardinalty for MyISAM tables. · b5e37b24
      unknown authored
      Free row buffer cache after each query for MyISAM tables.
      Added table join option FORCE INDEX
      Fixed core dump bug when connecting with hostname that could not be resolved.
      
      
      include/my_base.h:
        Don't count NULL values in cardinalty
      myisam/mi_check.c:
        Don't count NULL values in cardinalty
      myisam/mi_extra.c:
        Free row buffer cache after each query
      myisam/mi_open.c:
        Avoid realloc if cache size doesn't change
      myisam/mi_search.c:
        Don't count NULL values in cardinalty
      myisam/myisamdef.h:
        Change buffer length from uint to uint32 to make it more portable/predictable
      mysql-test/r/myisam.result:
        Test case for cardinality with NULL keys and FORCE INDEX
      mysql-test/t/myisam.test:
        Test case for cardinality with NULL keys and FORCE INDEX
      sql/lex.h:
        Added table join option FORCE INDEX
      sql/mysql_priv.h:
        Added table join option FORCE INDEX
      sql/opt_range.cc:
        Added table join option FORCE INDEX
      sql/sql_base.cc:
        Added table join option FORCE INDEX
      sql/sql_lex.h:
        Added table join option FORCE INDEX
      sql/sql_parse.cc:
        Added table join option FORCE INDEX
        Don't use strlen() on hostname without first checking if it's not NULL
      sql/sql_select.cc:
        Added table join option FORCE INDEX
      sql/sql_yacc.yy:
        Added table join option FORCE INDEX
      sql/table.h:
        Added table join option FORCE INDEX
      b5e37b24
  5. 07 Jan, 2003 1 commit
    • unknown's avatar
      Fixed that derived tables are properly droped · 64dc734d
      unknown authored
      mysys/my_init.c:
        Move my_once_free() up to not get warnings for this from safemalloc.
      sql/item_row.cc:
        Removed compiler warnings
      sql/sql_select.cc:
        split fix_tables_pointer() into two functions to be able to reuse code
      sql/sql_select.h:
        split fix_tables_pointer() into two functions to be able to reuse code
      64dc734d
  6. 29 Dec, 2002 1 commit
  7. 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
  8. 17 Dec, 2002 2 commits
  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. 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
  11. 02 Dec, 2002 1 commit
  12. 30 Nov, 2002 1 commit
    • unknown's avatar
      check of using same table for changing and select · 64a3827b
      unknown authored
      mysql-test/r/subselect.result:
        test of using same table for changing and select
      mysql-test/t/subselect.test:
        test of using same table for changing and select
      sql/mysql_priv.h:
        new function
      sql/sql_base.cc:
        new function
      64a3827b
  13. 29 Nov, 2002 3 commits
    • unknown's avatar
      New multi-table-update code · 46536219
      unknown authored
      New (simpler) internal timestamp handling.
      More debuging to heap tables.
      Small cleanups to multi-table-delete
      false -> 0 and true -> 1  (We should use TRUE and FALSE)
      
      
      heap/_check.c:
        Added checking of rows
      heap/hp_delete.c:
        Extra debugging
      heap/hp_scan.c:
        Extra debugging
      heap/hp_update.c:
        Extra debugging
      heap/hp_write.c:
        Extra debugging
      include/my_base.h:
        Added option to disable row cache when using updates
      isam/extra.c:
        Added option to disable row cache when using updates
      myisam/mi_check.c:
        Comment cleanup
      myisam/mi_extra.c:
        Added option to disable row cache when using updates
      myisam/sort.c:
        Indentaion cleanups
      myisammrg/myrg_extra.c:
        Added option to disable row cache when using updates
      mysql-test/r/multi_update.result:
        Updated results
      mysql-test/t/multi_update.test:
        Cleanup up to only use table names t1, t2,...
      mysys/mf_iocache.c:
        Safety fix
      sql/item_cmpfunc.cc:
        change true-> 1 and false -> 0
      sql/mysql_priv.h:
        Cleaned up SQL_LIST handling
      sql/sql_base.cc:
        Fixed grant checking if SELECT tablename.*
      sql/sql_class.h:
        Cleaned up multi-table-update
      sql/sql_delete.cc:
        Fixed OPTION_SAFE_UPDATE checking in multi-table-delete.
        Fixed query-cache invalidation in multi-table-delete
      sql/sql_insert.cc:
        cleaned up timestamp handling
      sql/sql_olap.cc:
        false -> 0
      sql/sql_parse.cc:
        Optimized some list handling.
        Moved multi-table-update to sql_update.cc
      sql/sql_select.cc:
        More comments
        Fixed create_tmp_table for multi-table-update
      sql/sql_select.h:
        New prototypes
      sql/sql_union.cc:
        false -> 0
        Cleaned up timestamp handling
      sql/sql_update.cc:
        New multi-update-table code
      sql/sql_yacc.yy:
        false -> 0, true -> 1
        Optimized some list handling
      sql/table.h:
        Added union for temporary values.
        Made shared int to be able to store counters.
      sql/uniques.cc:
        Indentation cleanup
      46536219
    • unknown's avatar
      many bug fixes · 1b921a99
      unknown authored
      mysql-test/r/derived.result:
        test for a bug fix which caused a deadlock !
        Also test for a bug fix with using() on derived tables
      mysql-test/r/subselect.result:
        correcting previous changes caused by a bug ..
      mysql-test/t/derived.test:
        test for a bug fix which caused a deadlock !
        Also test for a bug fix with using() on derived tables
      mysql-test/t/subselect.test:
        corrections of previous changes caused by a bug ..
      sql/sql_base.cc:
        A for for a bug which caused a deadlock !
        Also fix for a bug with using() on derived tables
      sql/sql_derived.cc:
        code cleanup
      sql/sql_lex.cc:
        fix for deadlock
      1b921a99
    • 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
  14. 28 Nov, 2002 1 commit
    • unknown's avatar
      fixed * without tables in IN bug · 6f80b711
      unknown authored
      fixed sunction-test select in IN bug
      fixed unions in subselect bug
      
      
      include/mysqld_error.h:
        new warning
      mysql-test/r/subselect.result:
        test of * without tables in IN
        test of sunction-test select in IN
        test of unions in subselect
      mysql-test/t/subselect.test:
        test of * without tables in IN
        test of sunction-test select in IN
        test of unions in subselect
      sql/item.cc:
        fixed * substitution without tables
      sql/item_subselect.cc:
        fixed subselect rewriting with function-test subselect
      sql/item_subselect.h:
        mechanism for subselect removing
      sql/share/czech/errmsg.txt:
        new warning
      sql/share/danish/errmsg.txt:
        new warning
      sql/share/dutch/errmsg.txt:
        new warning
      sql/share/english/errmsg.txt:
        new warning
      sql/share/estonian/errmsg.txt:
        new warning
      sql/share/french/errmsg.txt:
        new warning
      sql/share/german/errmsg.txt:
        new warning
      sql/share/greek/errmsg.txt:
        new warning
      sql/share/hungarian/errmsg.txt:
        new warning
      sql/share/italian/errmsg.txt:
        new warning
      sql/share/japanese/errmsg.txt:
        new warning
      sql/share/korean/errmsg.txt:
        new warning
      sql/share/norwegian-ny/errmsg.txt:
        new warning
      sql/share/norwegian/errmsg.txt:
        new warning
      sql/share/polish/errmsg.txt:
        new warning
      sql/share/portuguese/errmsg.txt:
        new warning
      sql/share/romanian/errmsg.txt:
        new warning
      sql/share/russian/errmsg.txt:
        new warning
      sql/share/serbian/errmsg.txt:
        new warning
      sql/share/slovak/errmsg.txt:
        new warning
      sql/share/spanish/errmsg.txt:
        new warning
      sql/share/swedish/errmsg.txt:
        new warning
      sql/share/ukrainian/errmsg.txt:
        new warning
      sql/sql_base.cc:
        fixed case on no name field in UNION subselect
      sql/sql_lex.cc:
        mechanisp of removing single subselect for optimisation purposes
      sql/sql_lex.h:
        mechanisp of removing single subselect for optimisation purposes
      sql/sql_parse.cc:
        error handling
      sql/sql_union.cc:
        fixed unions in subselect
      sql/sql_yacc.yy:
        fixed Lex->describe flag appearence
      6f80b711
  15. 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
  16. 24 Nov, 2002 3 commits
    • unknown's avatar
      supported possiblity of item substitute (fixed bug) in setup_fields · b5b19a78
      unknown authored
      more efficient reference creation
      fixed table_name of Field in temporary table
      
      
      mysql-test/r/subselect.result:
        test of 2 references bugs
      mysql-test/t/subselect.test:
        test of 2 references bugs
      sql/field.h:
        fixed layout
        fixed table name of fields of temporary table (derived table)
      sql/item.cc:
        more efficient reference creation
      sql/sql_base.cc:
        fixed layout
        supported possiblity of item substitute (fixed bug)
      b5b19a78
    • unknown's avatar
      Reference to field in outer subelect fixed · 06e64747
      unknown authored
      Fixed context in error mesages
      
      
      mysql-test/r/subselect.result:
        tests of references and error message
      mysql-test/t/subselect.test:
        tests of references and error message
      sql/item.cc:
        Fixed layout
        Resolving field names of outer select
      sql/item_subselect.cc:
        saving/restoring context for error messages
      sql/mysql_priv.h:
        changed function interface to allow resolving field names inside Item_ref::fix_fields
      sql/sql_base.cc:
        changed function interface to allow resolving field names inside Item_ref::fix_fields
      sql/sql_lex.h:
        allow access to thd field
      06e64747
    • unknown's avatar
      fixed removed by previos patch thd->allow_sum_func "side effect" of setup_conds · 83e25bbc
      unknown authored
      renamed tables to prevent droping real tables
      
      
      mysql-test/r/group_by.result:
        test of error message
      mysql-test/r/subselect.result:
        renamed tables to prevent droping real tables
      mysql-test/t/group_by.test:
        test of error message
      mysql-test/t/subselect.test:
        renamed tables to prevent droping real tables
      sql/sql_base.cc:
        moved thd->allow_sum_func assignment to upper level
      sql/sql_select.cc:
        fixed removed by previos patch thd->allow_sum_func "side effect" of setup_conds
      83e25bbc
  17. 23 Nov, 2002 2 commits
  18. 18 Nov, 2002 2 commits
  19. 16 Nov, 2002 1 commit
    • unknown's avatar
      Small improvement to alloc_root · bd1c2d65
      unknown authored
      Add support for LIMIT # OFFSET #
      Changed lock handling:  Now all locks should be stored in TABLE_LIST instead of passed to functions.
      Don't call query_cache_invalidate() twice in some cases
      mysql_change_user() now clears states to be equal to close + connect.
      Fixed a bug with multi-table-update and multi-table-delete when used with LOCK TABLES
      Fixed a bug with replicate-do and UPDATE
      
      
      BitKeeper/etc/ignore:
        added autom4te.cache/* bdb/dist/autom4te.cache/* innobase/autom4te.cache/*
      include/my_alloc.h:
        Small improvement to alloc_root
      libmysql/libmysql.c:
        Removed compiler warning
      myisam/mi_page.c:
        Better DBUG message
      mysql-test/r/multi_update.result:
        Added test with lock tables
      mysql-test/r/rpl_replicate_do.result:
        Update results
      mysql-test/r/rpl_rotate_logs.result:
        Make test independent of if t1 exists
      mysql-test/t/multi_update.test:
        Added test with lock tables
      mysql-test/t/rpl_rotate_logs.test:
        Make test independent of if t1 exists
      mysys/my_alloc.c:
        Small imprevement to alloc_root
        (Don't free blocks less than ALLOC_MAX_BLOCK_ROOT (4K)
      sql/ha_innodb.cc:
        More debug messages
      sql/ha_myisam.cc:
        Safety change
      sql/lex.h:
        Add support for LIMIT # OFFSET #
      sql/lock.cc:
        Added assertion
      sql/mysql_priv.h:
        Change of lock handling
      sql/mysqld.cc:
        Added function clear_error_messages()
      sql/sql_base.cc:
        Change lock handling by open_ltable() and open_and_lock_tables()
      sql/sql_class.cc:
        Split THD::THD to two functions
        Move some code from cleanup() to ~THD:THD
        Add THD::change_user()
      sql/sql_class.h:
        Prototype changes in class THD
      sql/sql_delete.cc:
        Remove locking argument from mysql_delete()
        Locking type is now stored in TABLE_LIST
        Small code change to not call query_cache_invalidate() twice for transactional tables.
      sql/sql_insert.cc:
        Remove locking argument from mysql_insert()
        Locking type is now stored in TABLE_LIST
        Small code change to not call query_cache_invalidate() twice for transactional tables.
        Don't use bulk insert if bulk_insert_buff_size is 0
      sql/sql_parse.cc:
        Changes to make mysql_change_user() work as close+connect
        Changed command statistics to use statstics_increment to get more speed
        Update code to handle that locks is now stored in TABLE_LIST
      sql/sql_update.cc:
        Remove locking argument from mysql_update()
        Locking type is now stored in TABLE_LIST
        Small code change to not call query_cache_invalidate() twice for transactional tables.
      sql/sql_yacc.yy:
        Locking type is now stored in TABLE_LIST
        Added support for LIMIT # OFFSET # syntax
        Removed some wrong (never true) checks for SQLCOM_MULTI_UPDATE
      mysql-test/t/rpl_replicate_do-slave.opt:
        Changed tables to use t1,t2,...
      mysql-test/t/rpl_replicate_do.test:
        Changed tables to use t1,t2,...
      bd1c2d65
  20. 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
  21. 13 Nov, 2002 1 commit
  22. 12 Nov, 2002 2 commits
    • unknown's avatar
      IGNORE_INDEX fix for 4.0 · e2d1ab84
      unknown authored
      e2d1ab84
    • unknown's avatar
      Extended WEEK() to be able to handle ISO weeks. · e1c1abd0
      unknown authored
      unlink socket file if mysqld dies on startup
      Some optimization of AND expressions
      
      
      mysql-test/r/func_time.result:
        Update for new week() handling
      mysql-test/t/func_time.test:
        Update for new week() handling
      sql/item_cmpfunc.cc:
        Optimization of IF( and-expression,,)
      sql/item_cmpfunc.h:
        Optimization of AND expressions
      sql/item_timefunc.cc:
        Extended WEEK() to be able to handle ISO weeks.
      sql/mysqld.cc:
        unlink socket file if mysqld dies on startup
      sql/sql_base.cc:
        Fixed problem with SIGHUP and INSERT DELAYED
      tests/Makefile.am:
        Added missing myisam-big-rows.tst file to source distribution
      e1c1abd0
  23. 11 Nov, 2002 2 commits
    • unknown's avatar
      some bug fixes related to derived tables · 736e3c3c
      unknown authored
      736e3c3c
    • 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
  24. 09 Nov, 2002 1 commit
  25. 07 Nov, 2002 3 commits
    • unknown's avatar
      Portability fix extern "C" static -> extern "C" · 8fc4319a
      unknown authored
      client/mysqlbinlog.cc:
        Portability fix
      sql/gen_lex_hash.cc:
        Portability fix
      sql/repl_failsafe.cc:
        Portability fix
      sql/sql_class.cc:
        Portability fix
      sql/sql_udf.cc:
        Portability fix
      sql/mysqld.cc:
        Portability fix
      sql/sql_base.cc:
        Portability fix
      sql/sql_insert.cc:
        Portability fix
      sql/sql_parse.cc:
        Portability fix
      sql/sql_delete.cc:
        Portability fix
      8fc4319a
    • unknown's avatar
      Put temporary files in binlog cache when using BEGIN/COMMIT · 72413e7f
      unknown authored
      Let MySQL 4.0 read 4.1 .frm files without 4.1 specific extensions
      New variables @@rand_seed1 and @@rand_seed2 (used by replication)
      DROP TEMPORARY TABLE
      
      
      mysql-test/r/rpl_log.result:
        Update of results after last replication change
      mysql-test/r/variables.result:
        Test of new variables @@rand_seed1 and @@rand_seed2
      mysql-test/t/variables.test:
        Test of new variables @@rand_seed1 and @@rand_seed2
      sql/field.cc:
        Let MySQL 4.0 read 4.1 .frm files without 4.1 specific extensions
      sql/field.h:
        Let MySQL 4.0 read 4.1 .frm files without 4.1 specific extensions
      sql/item_func.cc:
        Put temporary files in binlog cache when using BEGIN/COMMIT
      sql/log.cc:
        Put temporary files in binlog cache when using BEGIN/COMMIT
        More debug information
      sql/log_event.cc:
        Put temporary files in binlog cache when using BEGIN/COMMIT
      sql/log_event.h:
        Put temporary files in binlog cache when using BEGIN/COMMIT
      sql/set_var.cc:
        Add system variables @@rand_seed1 and @@rand_seed2
      sql/set_var.h:
        Add system variables @@rand_seed1 and @@rand_seed2
      sql/slave.cc:
        Put temporary files in binlog cache when using BEGIN/COMMIT
      sql/sql_acl.cc:
        Put temporary files in binlog cache when using BEGIN/COMMIT
      sql/sql_base.cc:
        Store DROP of temporary tables in binlog cache
      sql/sql_class.h:
        Put temporary files in binlog cache when using BEGIN/COMMIT
      sql/sql_db.cc:
        Put temporary files in binlog cache when using BEGIN/COMMIT
      sql/sql_delete.cc:
        Put temporary files in binlog cache when using BEGIN/COMMIT
      sql/sql_insert.cc:
        Put temporary files in binlog cache when using BEGIN/COMMIT
      sql/sql_lex.h:
        DROP TEMPORARY TABLE
      sql/sql_load.cc:
        Put temporary files in binlog cache when using BEGIN/COMMIT
      sql/sql_parse.cc:
        Put temporary files in binlog cache when using BEGIN/COMMIT
      sql/sql_rename.cc:
        Put temporary files in binlog cache when using BEGIN/COMMIT
      sql/sql_repl.cc:
        Put temporary files in binlog cache when using BEGIN/COMMIT
      sql/sql_repl.h:
        Put temporary files in binlog cache when using BEGIN/COMMIT
      sql/sql_table.cc:
        Put temporary files in binlog cache when using BEGIN/COMMIT
      sql/sql_update.cc:
        Put temporary files in binlog cache when using BEGIN/COMMIT
      sql/sql_yacc.yy:
        DROP TEMPORARY
      sql/table.cc:
        Let MySQL 4.0 read 4.1 .frm files without 4.1 specific extensions
      sql/unireg.cc:
        Let MySQL 4.0 read 4.1 .frm files without 4.1 specific extensions
      72413e7f
    • unknown's avatar
      Portability fixes for Fortre C++ 5.0 (on Sun) in 32 and 64 bit modes. · c88b9102
      unknown authored
      client/mysqlbinlog.cc:
        Portability fix
      configure.in:
        Added use of ASFLAGS (For Solaris with Forte 5.0)
      include/my_global.h:
        Portability fix
      include/myisam.h:
        Portability fix
      include/queues.h:
        Portability fix
      innobase/include/ut0ut.h:
        Portability fix
      innobase/log/log0log.c:
        Portability fix
      innobase/rem/rem0cmp.c:
        Portability fix
      innobase/trx/trx0sys.c:
        Portability fix
      isam/pack_isam.c:
        Portability fix
      myisam/ft_boolean_search.c:
        Portability fix
      myisam/mi_dynrec.c:
        Code change to go around bug in Forte 5.0
      myisam/sort.c:
        Portability fix
      mysys/my_aes.c:
        Portability fix
      scripts/Makefile.am:
        Support for ASFLAGS
      scripts/mysqlbug.sh:
        Support for ASFLAGS
      sql/field.cc:
        Portability fix
      sql/filesort.cc:
        Portability fix
      sql/gen_lex_hash.cc:
        Portability fix
      sql/ha_innodb.cc:
        Portability fix
        Changed SHOW INNODB STATUS to return error instead of writing message to log file.
      sql/ha_isammrg.cc:
        Portability fix
      sql/ha_myisam.cc:
        Portability fix
      sql/ha_myisammrg.cc:
        Portability fix
      sql/hash_filo.h:
        Portability fix
      sql/hostname.cc:
        Portability fix
      sql/item_cmpfunc.h:
        Indentation change
      sql/item_func.cc:
        Portability fix
      sql/item_func.h:
        Portability fix
      sql/log.cc:
        Portability fix
      sql/log_event.cc:
        Portability fix
      sql/mysql_priv.h:
        Portability fix
      sql/mysqld.cc:
        Portability fix
        Fixed bug with rpl_recovery_rank command line option on 64 bit systems
      sql/opt_range.cc:
        Portability fix
      sql/repl_failsafe.cc:
        Portability fix
      sql/slave.cc:
        Portability fix
      sql/slave.h:
        Portability fix
      sql/sql_acl.cc:
        Portability fix
      sql/sql_base.cc:
        Portability fix
      sql/sql_cache.cc:
        Portability fix
      sql/sql_cache.h:
        Portability fix
      sql/sql_class.cc:
        Portability fix
      sql/sql_delete.cc:
        Portability fix
      sql/sql_insert.cc:
        Portability fix
      sql/sql_manager.cc:
        Portability fix
      sql/sql_parse.cc:
        Portability fix
      BUILD/compile-solaris-sparc-forte:
        C
      sql/sql_udf.cc:
        Portability fix
      sql/sql_update.cc:
        Portability fix
      strings/Makefile.am:
        Portability fix
      strings/bmove_upp-sparc.s:
        Fix so that this works on 32 and 64 bit sparcs
      strings/str_test.c:
        Cleanup
      strings/strappend-sparc.s:
        Fix so that this works on 32 and 64 bit sparcs
      strings/strend-sparc.s:
        Fix so that this works on 32 and 64 bit sparcs
      strings/strmake-sparc.s:
        Fix so that this works on 32 and 64 bit sparcs
      strings/strmov-sparc.s:
        Fix so that this works on 32 and 64 bit sparcs
      strings/strnmov-sparc.s:
        Fix so that this works on 32 and 64 bit sparcs
      strings/strstr-sparc.s:
        Fix so that this works on 32 and 64 bit sparcs
      strings/strxmov-sparc.s:
        Fixes to make this more portable, but it's still not usable on 64 bit systems :(
      BitKeeper/etc/logging_ok:
        Logging to logging@openlogging.org accepted
      c88b9102
  26. 05 Nov, 2002 1 commit
    • unknown's avatar
      Removed wrong patch to fix DATE BETWEEN TIMESTAMP1 AND TIMESTAMP2 · 841fa6f6
      unknown authored
      Some simple optimizations
      
      
      Docs/manual.texi:
        Updted how binary log works
      mysql-test/mysql-test-run.sh:
        Added usage of --port to mysqltest
      mysql-test/r/func_test.result:
        Moved test of datetime comparison to func_time
      mysql-test/r/func_time.result:
        New test
      mysql-test/t/func_test.test:
        Moved test of datetime comparison to func_time
      mysql-test/t/func_time.test:
        Test of DATE BETWEEN TIMESTAMPS
      sql/field.h:
        Removed wrong patch
      sql/item_cmpfunc.cc:
        Removed wrong patch
        (Need to be fixed by taking into account all arguments to between)
      sql/lock.cc:
        Removed call to current_thd
      sql/set_var.cc:
        Don't show 'socket' variable if sockets are not used
      sql/sql_base.cc:
        Simple optimisation
      841fa6f6
  27. 03 Nov, 2002 1 commit
  28. 30 Oct, 2002 1 commit
    • unknown's avatar
      removed SELECT_LEX_UNIT -> SELECT_LEX pointer conversion (SCRUM) · 0bb1e716
      unknown authored
      fixed some possible bugs
      
      
      sql/item.cc:
        removed SELECT_LEX_UNIT -> SELECT_LEX pointer conversion
      sql/item_subselect.cc:
        removed SELECT_LEX_UNIT -> SELECT_LEX pointer conversion
      sql/item_sum.cc:
        removed SELECT_LEX_UNIT -> SELECT_LEX pointer conversion
      sql/mysql_priv.h:
        removed SELECT_LEX_UNIT -> SELECT_LEX pointer conversion
      sql/sql_base.cc:
        removed SELECT_LEX_UNIT -> SELECT_LEX pointer conversion
      sql/sql_cache.cc:
        removed SELECT_LEX_UNIT -> SELECT_LEX pointer conversion
      sql/sql_delete.cc:
        removed SELECT_LEX_UNIT -> SELECT_LEX pointer conversion
      sql/sql_lex.cc:
        removed SELECT_LEX_UNIT -> SELECT_LEX pointer conversion
      sql/sql_lex.h:
        removed SELECT_LEX_UNIT -> SELECT_LEX pointer conversion
        fixed some possible bugs
      sql/sql_parse.cc:
        removed SELECT_LEX_UNIT -> SELECT_LEX pointer conversion
      sql/sql_prepare.cc:
        removed SELECT_LEX_UNIT -> SELECT_LEX pointer conversion
      sql/sql_repl.cc:
        removed SELECT_LEX_UNIT -> SELECT_LEX pointer conversion
      sql/sql_select.cc:
        removed SELECT_LEX_UNIT -> SELECT_LEX pointer conversion
      sql/sql_union.cc:
        removed SELECT_LEX_UNIT -> SELECT_LEX pointer conversion
      sql/sql_update.cc:
        removed SELECT_LEX_UNIT -> SELECT_LEX pointer conversion
      sql/sql_yacc.yy:
        removed SELECT_LEX_UNIT -> SELECT_LEX pointer conversion
      0bb1e716
  29. 29 Oct, 2002 1 commit
    • unknown's avatar
      Added back old LARGEFILE handling · ea3ffb9b
      unknown authored
      Fixed reference to freed memory in acl_init()/grant_init()
      Fixed possible memory leak. (Could only happen in very strange circumstances)
      Fixed bug in ALTER TABLE with BDB tables
      Updated mysql-test for valgrind
      
      
      Docs/manual.texi:
        ChangeLog
      acinclude.m4:
        Added back old LARGEFILE handling.
        (Needed to get MySQL to compile on Solaris 2.9 with gcc 3.x)
      configure.in:
        Added back old LARGEFILE handling.
        (Needed to get MySQL to compile on Solaris 2.9 with gcc 3.x)
      libmysqld/lib_sql.cc:
        Fixed reference to freed memory
      mysql-test/mysql-test-run.sh:
        Added option --valgrind
      mysys/Makefile.am:
        Removed warning when doing make
      sql/mysqld.cc:
        Free regexp memory on shutdown.
        read 'des' key files from data directory
        Fixed reference to freed memory in grant_init()
      sql/slave.cc:
        Fixed wrong printf() argument
      sql/sql_acl.cc:
        Fixed reference to freed memory
      sql/sql_acl.h:
        Fixed reference to freed memory
      sql/sql_base.cc:
        Fixed possible memory leak. (Could only happen in very strange circumstances)
      sql/sql_parse.cc:
        Updated arguments to grant_reload()
      sql/sql_table.cc:
        Fixed bug in ALTER TABLE with BDB tables
      sql/sql_yacc.yy:
        memset -> bzero
      ea3ffb9b