An error occurred fetching the project authors.
  1. 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
  2. 29 Dec, 2002 1 commit
  3. 20 Dec, 2002 1 commit
  4. 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
      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
    • unknown's avatar
      b29cc128
  5. 14 Dec, 2002 1 commit
    • 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
  6. 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
  7. 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
  8. 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
  9. 05 Dec, 2002 1 commit
    • unknown's avatar
      Removed copying of parameters as this leads to memory leaks in embedded server. · 591b0585
      unknown authored
      Fixed 'not initialized' memory error.
      
      
      mysql-test/mysql-test-run.sh:
        Updates to be able to more easily use --valgrind
      mysql-test/r/alter_table.result:
        Added missing drop table
      mysql-test/t/alter_table.test:
        Added missing drop table
      sql/field.cc:
        Simple optimizations
      sql/ha_innodb.cc:
        Remove copying of parameters as this leads to memory leaks in MySQL.
        Should be instead fixed by, in embedded server, make a temporary copy of
        all parameters and free them on server-end
      sql/log.cc:
        Simple optimization
      sql/mysql_priv.h:
        Move external reference to struct to include file
      sql/mysqld.cc:
        Added safety asserts
      sql/sql_class.cc:
        Fixed non fatal 'not initialized memory reference error' in thread init
      sql/sql_udf.cc:
        Clear current_thd for global thread
      strings/strto.c:
        Simple optimization
      591b0585
  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
    • unknown's avatar
      Fixed bug when creating keys in temporary HEAP tables. · 59dec1bc
      unknown authored
      (This caused the DISTINCT test to fail)
      Removed one inline as this caused compiler problems
      
      
      heap/hp_create.c:
        Comment
      heap/hp_update.c:
        Indentation cleanup
      heap/hp_write.c:
        Indentation cleanup
      mysql-test/mysql-test-run.sh:
        Better options for valgrind
      sql/item_sum.cc:
        Removed inline as this caused compiler problems with gcc 3.2
        (Was also non standard usage of inline)
      sql/item_sum.h:
        Removed inline as this caused compiler problems with gcc 3.2
      sql/sql_class.cc:
        Fixed reference to uninitialized value
      sql/sql_lex.cc:
        Indentation cleanup
      sql/sql_select.cc:
        Fixed bug when creating keys in temporary HEAP tables.
      59dec1bc
  12. 22 Nov, 2002 1 commit
    • unknown's avatar
      Moved safe_to_cache_query from thd to lex. · 0e9a75a4
      unknown authored
      This is required for prepared statements and stored procedures.
      
      
      BitKeeper/etc/ignore:
        Added bkpull.log bkpull.log.2 bkpull.log.3 build.log sql/safe_to_cache_query.txt to the ignore list
      sql/item_create.cc:
        Moved safe_to_cache_query from thd to lex.
      sql/item_func.cc:
        Moved safe_to_cache_query from thd to lex.
      sql/sql_cache.cc:
        Moved safe_to_cache_query from thd to lex.
        Note: Query_cache::is_cacheable() has both a thd and lex argument.
        We assumed that it's the lex->safe_to_cache_query we should test.
      sql/sql_class.cc:
        Moved safe_to_cache_query from thd to lex.
      sql/sql_class.h:
        Moved safe_to_cache_query from thd to lex.
      sql/sql_lex.cc:
        Moved safe_to_cache_query from thd to lex.
        We set it to 1 initially. It's then set to 0 in cases where
        it's know not to be safe. (Before this change, it was set to
        0 in thd, and then set to 1 before parsing.)
      sql/sql_lex.h:
        Moved safe_to_cache_query from thd to lex.
      sql/sql_parse.cc:
        Moved safe_to_cache_query from thd to lex.
        No point in setting it here now, it's set in lex_start() later.
      sql/sql_prepare.cc:
        Moved safe_to_cache_query from thd to lex.
        Must set it after lex_start() has been called.
      sql/sql_yacc.yy:
        Moved safe_to_cache_query from thd to lex.
      0e9a75a4
  13. 21 Nov, 2002 2 commits
    • unknown's avatar
      Fixes after merge with 4.0 · c58d9d9a
      unknown authored
      mysql-test/r/heap_btree.result:
        Updated results
      mysql-test/r/heap_hash.result:
        Updated results
      mysql-test/r/merge.result:
        Updated results
      mysql-test/r/rpl_log.result:
        Updated results
      mysql-test/r/select.result:
        Updated results
      mysql-test/r/subselect.result:
        Updated results
      sql/item_cmpfunc.h:
        Fix after merge
      sql/log_event.cc:
        Fix after merge
      sql/mysql_priv.h:
        Fix after merge
      sql/sql_acl.cc:
        Fix after merge
      sql/sql_class.cc:
        Fix after merge
      sql/sql_db.cc:
        Fix after merge
      sql/sql_delete.cc:
        Fix after merge
      sql/sql_lex.cc:
        Fix after merge
      sql/sql_lex.h:
        Fix after merge
      sql/sql_parse.cc:
        Fix after merge
      sql/sql_update.cc:
        Fix after merge
      sql/sql_yacc.yy:
        Fix after merge
      c58d9d9a
    • unknown's avatar
      Automatic conversion from CHAR(length) to BLOB when length > 255 · 2723dbdb
      unknown authored
      New operators MOD and DIV
      SELECT ... FROM DUAL
      TRUE = 1 and FALSE = 0
      
      
      include/mysqld_error.h:
        New warning message
      mysql-test/r/func_system.result:
        Added testing of new functions
      mysql-test/r/func_test.result:
        Added testing of new functions
      mysql-test/r/type_blob.result:
        Added testing of new functions
      mysql-test/t/func_system.test:
        Added testing of new functions
      mysql-test/t/func_test.test:
        Added testing of new functions
      mysql-test/t/type_blob.test:
        Added testing of new functions
      sql/item_func.cc:
        Added function DIV
      sql/item_func.h:
        Added function DIV
      sql/lex.h:
        New keywords
      sql/share/czech/errmsg.txt:
        New warning message
      sql/share/danish/errmsg.txt:
        New warning message
      sql/share/dutch/errmsg.txt:
        New warning message
      sql/share/english/errmsg.txt:
        New warning message
      sql/share/estonian/errmsg.txt:
        New warning message
      sql/share/french/errmsg.txt:
        New warning message
      sql/share/german/errmsg.txt:
        New warning message
      sql/share/greek/errmsg.txt:
        New warning message
      sql/share/hungarian/errmsg.txt:
        New warning message
      sql/share/italian/errmsg.txt:
        New warning message
      sql/share/japanese/errmsg.txt:
        New warning message
      sql/share/korean/errmsg.txt:
        New warning message
      sql/share/norwegian-ny/errmsg.txt:
        New warning message
      sql/share/norwegian/errmsg.txt:
        New warning message
      sql/share/polish/errmsg.txt:
        New warning message
      sql/share/portuguese/errmsg.txt:
        New warning message
      sql/share/romanian/errmsg.txt:
        New warning message
      sql/share/russian/errmsg.txt:
        New warning message
      sql/share/serbian/errmsg.txt:
        New warning message
      sql/share/slovak/errmsg.txt:
        New warning message
      sql/share/spanish/errmsg.txt:
        New warning message
      sql/share/swedish/errmsg.txt:
        New warning message
        Translated a lot of error messages
      sql/share/ukrainian/errmsg.txt:
        New warning message
      sql/sql_class.cc:
        Added support for warnings during parsing
      sql/sql_class.h:
        Added support for warnings during parsing
      sql/sql_error.cc:
        Added support for warnings during parsing
      sql/sql_lex.cc:
        Fixed comment
      sql/sql_parse.cc:
        Added automatic conversion from CHAR(length) to BLOB when length > 255
        Added support for BLOB(length)
      sql/sql_yacc.yy:
        New operators MOD and DIV
        SELECT ... FROM DUAL
        TRUE = 1 and FALSE = 0
      2723dbdb
  14. 18 Nov, 2002 2 commits
  15. 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
  16. 14 Nov, 2002 1 commit
    • unknown's avatar
      fixed bug in cyclic reference refinition · 948a8671
      unknown authored
      mysql-test/r/subselect.result:
        test of cyclic reference
      mysql-test/t/subselect.test:
        test of cyclic reference
      sql/sql_parse.cc:
        fixed layout
        fixed bug in cyclic reference refinition
      948a8671
  17. 13 Nov, 2002 1 commit
    • unknown's avatar
      fixed bug of derived table in subselect · 6ed18d1c
      unknown authored
      fixed bug in error handling
      
      
      mysql-test/r/subselect.result:
        test of error handling
        test of derived tables inside subselect
      mysql-test/t/subselect.test:
        test of error handling
        test of derived tables inside subselect
      sql/sql_class.cc:
        fixed error handling error
      sql/sql_lex.h:
        fifex layout
      sql/sql_parse.cc:
        fixed processing of derived tables
      sql/sql_select.cc:
        more quick abort on error
      6ed18d1c
  18. 07 Nov, 2002 2 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
      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
  19. 30 Oct, 2002 1 commit
  20. 29 Oct, 2002 1 commit
  21. 25 Oct, 2002 1 commit
  22. 24 Oct, 2002 2 commits
  23. 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
  24. 22 Oct, 2002 1 commit
  25. 17 Oct, 2002 1 commit
  26. 16 Oct, 2002 1 commit
  27. 11 Oct, 2002 2 commits
    • unknown's avatar
      SCRUM task · e6403485
      unknown authored
      mysql-test/r/select.result:
        SELECT ... INTO user_variables
      mysql-test/t/select.test:
        SELECT ... INTO user_variables
      sql/sql_class.cc:
        SELECT ... INTO user_variables
      sql/sql_class.h:
        SELECT ... INTO user_variables
      sql/sql_lex.h:
        SELECT ... INTO user_variables
      sql/sql_parse.cc:
        SELECT ... INTO user_variables
      sql/sql_yacc.yy:
        SELECT ... INTO user_variables
      e6403485
    • unknown's avatar
      fixed bug in subselect value storing · 261c22a8
      unknown authored
      mysql-test/r/subselect.result:
        test for bug in subselect value storing
      mysql-test/t/subselect.test:
        test for bug in subselect value storing
      261c22a8
  28. 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
  29. 28 Sep, 2002 1 commit
    • unknown's avatar
      fixed bug in string & date types with group function in subselect · c9a2b589
      unknown authored
      mysql-test/r/subselect.result:
        test suite of string & date types with group function in subselects
      mysql-test/t/subselect.test:
        test suite of string & date types with group function in subselects
      sql/item_subselect.cc:
        fixed bug in string type with group function
      sql/item_subselect.h:
        fixed bug in string type with group function
      sql/sql_class.cc:
        fixed bug in date type with group function
      c9a2b589
  30. 26 Sep, 2002 1 commit
    • unknown's avatar
      new EXPLAIN · 9396cc5a
      unknown authored
      fixed bug in mysql-test/create-test-result
      fixed bug in union-subselect engine
      
      
      mysql-test/create-test-result:
        fixed bug in reject file name assembling
      mysql-test/r/compare.result:
        new EXPLAIN
      mysql-test/r/create.result:
        new EXPLAIN
      mysql-test/r/distinct.result:
        new EXPLAIN
      mysql-test/r/explain.result:
        new EXPLAIN
      mysql-test/r/group_by.result:
        new EXPLAIN
      mysql-test/r/heap.result:
        new EXPLAIN
      mysql-test/r/heap_btree.result:
        new EXPLAIN
      mysql-test/r/heap_hash.result:
        new EXPLAIN
      mysql-test/r/innodb.result:
        new EXPLAIN
      mysql-test/r/join_outer.result:
        new EXPLAIN
      mysql-test/r/key_diff.result:
        new EXPLAIN
      mysql-test/r/key_primary.result:
        new EXPLAIN
      mysql-test/r/merge.result:
        new EXPLAIN
      mysql-test/r/myisam.result:
        new EXPLAIN
      mysql-test/r/null_key.result:
        new EXPLAIN
      mysql-test/r/odbc.result:
        new EXPLAIN
      mysql-test/r/order_by.result:
        new EXPLAIN
      mysql-test/r/range.result:
        new EXPLAIN
      mysql-test/r/select.result:
        new EXPLAIN
      mysql-test/r/subselect.result:
        new EXPLAIN
      mysql-test/r/type_datetime.result:
        new EXPLAIN
      mysql-test/r/union.result:
        new EXPLAIN
      mysql-test/r/user_var.result:
        new EXPLAIN
      mysql-test/r/varbinary.result:
        new EXPLAIN
      mysql-test/t/subselect.test:
        new EXPLAIN
      mysql-test/t/union.test:
        new EXPLAIN
      sql/mysql_priv.h:
        new EXPLAIN
      sql/sql_class.cc:
        new EXPLAIN
      sql/sql_class.h:
        new EXPLAIN
      sql/sql_derived.cc:
        new EXPLAIN
      sql/sql_lex.h:
        new EXPLAIN
      sql/sql_parse.cc:
        new EXPLAIN
      sql/sql_select.cc:
        new EXPLAIN
      sql/sql_union.cc:
        fixed bug in subselect-UNION engine
      sql/table.h:
        new EXPLAIN
      9396cc5a
  31. 24 Sep, 2002 1 commit
    • unknown's avatar
      Updated VC++ project files for 4.0.4 · c245f424
      unknown authored
      Only write short usage if one starts mysqldump without any options
      Added query cache on windows
      Added error message if one can't read privilege tables
      
      
      Docs/manual.texi:
        Changelog
      VC++Files/bdb/bdb.dsp:
        Updated project files for 4.0.4
      VC++Files/client/mysqlclient.dsp:
        Updated project files for 4.0.4
      VC++Files/innobase/innobase.dsp:
        Updated project files for 4.0.4
      VC++Files/mysqlbinlog/mysqlbinlog.dsp:
        Updated project files for 4.0.4
      VC++Files/mysys/mysys.dsp:
        Updated project files for 4.0.4
      VC++Files/perror/perror.dsp:
        Updated project files for 4.0.4
      VC++Files/sql/mysqld.dsp:
        Updated project files for 4.0.4
      client/mysqldump.c:
        Only write short usage if one starts mysqldump without any options
      include/config-win.h:
        Added query cache on windows
      libmysql/libmysql.def:
        Removed old depricated functions from windows dll
      sql/ha_innodb.cc:
        Added missing defines
      sql/set_var.cc:
        Code cleanup
      sql/sql_acl.cc:
        Added error message if one can't read privilege tables
      sql/sql_cache.h:
        Changed some C linkage functions to C++ functions (portability fix)
      sql/sql_class.cc:
        Safety fix
      c245f424
  32. 19 Sep, 2002 1 commit