An error occurred fetching the project authors.
  1. 05 Jul, 2003 1 commit
    • unknown's avatar
      reduced using of slow current_thd/current_lex macro · 51bd4512
      unknown authored
      initialization of item_thd moved to constructor (in any case we need thd in constructor)
      initialization of group_concat_max_len to constructor to avoid incorrect length reporting (BUG#757)
      removed Item_func_group_concat::fix_length_and_dec() because item have its own fix_fields and will not have inherited items
      
      
      mysql-test/r/func_gconcat.result:
        test for BUG#757
      mysql-test/t/func_gconcat.test:
        test for BUG#757
      sql/item_sum.cc:
        reduced using of slow current_thd/current_lex macro
        initialization of item_thd moved to constructor (in any case we need thd in constructor)
        initialization of group_concat_max_len to constructor to avoid incorrect length reporting (BUG#757)
      sql/item_sum.h:
        removed Item_func_group_concat::fix_length_and_dec() because item have its own fix_fields and will not have inherited items
      51bd4512
  2. 04 Jun, 2003 1 commit
    • unknown's avatar
      Added SQLSTATE to client/server protocol · f2131b44
      unknown authored
      bmove_allign -> bmove_align
      Added OLAP function ROLLUP
      Split mysql_fix_privilege_tables to a script and a .sql data file
      Added new (MEMROOT*) functions to avoid calling current_thd() when creating some common objects.
      Added table_alias_charset, for easier --lower-case-table-name handling
      Better SQL_MODE handling (Setting complex options also sets sub options)
      New (faster) assembler string functions for x86
      
      
      BitKeeper/etc/ignore:
        added libmysqld/sql_state.c
      client/mysql.cc:
        Added SQLSTATE to error messages
        Added new function put_error() to be able to clean up some old code.
      client/mysqltest.c:
        Write ERROR SQLSTATE for all errors
      dbug/dbug.c:
        Portability fixes
      include/m_string.h:
        Rename bmove_allign as bmove_align
      include/mysql.h:
        Added SQLSTATE (for embedded version)
      include/mysql_com.h:
        Send correct SQLSTATE for the error to the client
      libmysql/libmysql.c:
        Changed default error state to HY000
        Applied code cleanup patch
      libmysqld/Makefile.am:
        Added sql_state.cc
      libmysqld/libmysqld.c:
        Added sqlstate
      mysql-test/r/analyse.result:
        Updated results
      mysql-test/r/ansi.result:
        Updated results
      mysql-test/r/auto_increment.result:
        Updated results
      mysql-test/r/bdb-deadlock.result:
        Updated results
      mysql-test/r/bdb.result:
        Updated results
      mysql-test/r/comments.result:
        Updated results
      mysql-test/r/create.result:
        Updated results
      mysql-test/r/ctype_collate.result:
        Updated results
      mysql-test/r/delayed.result:
        Updated results
      mysql-test/r/delete.result:
        Updated results
      mysql-test/r/derived.result:
        Updated results
      mysql-test/r/distinct.result:
        Updated results
      mysql-test/r/drop.result:
        Updated results
      mysql-test/r/err000001.result:
        Updated results
      mysql-test/r/explain.result:
        Updated results
      mysql-test/r/flush.result:
        Updated results
      mysql-test/r/fulltext.result:
        Updated results
      mysql-test/r/func_gconcat.result:
        Updated results
      mysql-test/r/func_system.result:
        Updated results
      mysql-test/r/grant_cache.result:
        Updated results
      mysql-test/r/group_by.result:
        Updated results
      mysql-test/r/handler.result:
        Updated results
      mysql-test/r/heap.result:
        Updated results
      mysql-test/r/heap_btree.result:
        Updated results
      mysql-test/r/heap_hash.result:
        Updated results
      mysql-test/r/innodb.result:
        Updated results
      mysql-test/r/innodb_handler.result:
        Updated results
      mysql-test/r/insert_select.result:
        Updated results
      mysql-test/r/insert_update.result:
        Updated results
      mysql-test/r/join.result:
        Updated results
      mysql-test/r/join_outer.result:
        Updated results
      mysql-test/r/key.result:
        Updated results
      mysql-test/r/lock.result:
        Updated results
      mysql-test/r/lock_multi.result:
        Updated results
      mysql-test/r/merge.result:
        Updated results
      mysql-test/r/multi_update.result:
        Updated results
      mysql-test/r/myisam.result:
        Updated results
      mysql-test/r/null.result:
        Updated results
      mysql-test/r/olap.result:
        Updated results
      mysql-test/r/order_by.result:
        Updated results
      mysql-test/r/packet.result:
        Updated results
      mysql-test/r/query_cache.result:
        Updated results
      mysql-test/r/row.result:
        Updated results
      mysql-test/r/rpl000001.result:
        Updated results
      mysql-test/r/rpl000009.result:
        Updated results
      mysql-test/r/rpl_empty_master_crash.result:
        Updated results
      mysql-test/r/rpl_log.result:
        Updated results
      mysql-test/r/rpl_replicate_do.result:
        Updated results
      mysql-test/r/rpl_rotate_logs.result:
        Updated results
      mysql-test/r/select.result:
        Updated results
      mysql-test/r/select_safe.result:
        Updated results
      mysql-test/r/show_check.result:
        Updated results
      mysql-test/r/sql_mode.result:
        Updated results
      mysql-test/r/subselect.result:
        Updated results
      mysql-test/r/temp_table.result:
        Updated results
      mysql-test/r/truncate.result:
        Updated results
      mysql-test/r/type_blob.result:
        Updated results
      mysql-test/r/type_decimal.result:
        Updated results
      mysql-test/r/type_float.result:
        Updated results
      mysql-test/r/type_ranges.result:
        Updated results
      mysql-test/r/union.result:
        Updated results
      mysql-test/r/update.result:
        Updated results
      mysql-test/r/user_var.result:
        Updated results
      mysql-test/r/varbinary.result:
        Updated results
      mysql-test/r/variables.result:
        Updated results
      mysql-test/t/ansi.test:
        Test of sql_mode
      mysql-test/t/derived.test:
        Updated results
      mysql-test/t/func_system.test:
        Make this independen of the MySQL server name
      mysql-test/t/lowercase_table.test:
        Cleanup
      mysql-test/t/olap.test:
        A lot of new tests
      mysql-test/t/sql_mode.test:
        More test for sql_mode
      mysql-test/t/subselect.test:
        Added a few new tests (to find a bug in the item_ref code)
      scripts/Makefile.am:
        Added mysql_fix_privilege_tables.sql
      scripts/mysql_fix_privilege_tables.sh:
        Totally new script.  This bascily just pipes mysql_fix_privilege_tables.sql through 'mysql' to 'mysqld'
      sql/Makefile.am:
        Added sql_state.cc
      sql/item.cc:
        Extended Item_field::eq() to be able to better match GROUP BY fields on the command line.
        Needed for ROLLUP
      sql/item.h:
        Added function to be able to avoid calling current_thd() when doing new Item.
      sql/item_sum.cc:
        Moved copy_or_same() and some reset() functions from item_sum.h
        Needed to be able to access thd->mem_root.
      sql/item_sum.h:
        Moved some functions to item_sum.cc
        Added make_unique() for ROLLUP
      sql/item_uniq.h:
        Fixed return value
      sql/mysql_priv.h:
        Updated MODE flags
      sql/mysqld.cc:
        Added ANSI as it's own mode
        Moved charset_info variables here
        Cleaned up handler_count handling (for NT)
        Added table_alias_charset, for easier --lower-case-table-name handling
      sql/net_serv.cc:
        New comment
      sql/protocol.cc:
        Send SQLSTATE to client
      sql/set_var.cc:
        Better SQL_MODE handling (Setting complex options also sets sub options)
      sql/set_var.h:
        Better SQL_MODE handling
      sql/sql_base.cc:
        Make alias depend on --lower-case-table-names
        Make find_item_in_list also check database name
      sql/sql_cache.cc:
        Indentation cleanup
      sql/sql_list.h:
        Added safety assert
        Addes support of alloc without current_thd()
      sql/sql_prepare.cc:
        Update after prototype change
      sql/sql_select.cc:
        Added ROLLUP
      sql/sql_select.h:
        structures for rollup
      sql/sql_show.cc:
        Easier SQL_MODE handling
      sql/sql_string.cc:
        Move CHARSET_INFO to mysqld (to be together with all other global variables)
      sql/sql_string.h:
        Added function to be able to avoid calling current_thd() when doing new Item.
      sql/sql_table.cc:
        Simpler --lower-case-table-name handling
      sql/sql_union.cc:
        Update after prototype change
      sql/sql_yacc.yy:
        ROLLUP
      sql/unireg.h:
        bmove_allign ->bmove_align
      strings/Makefile.am:
        Fix to be able to compile str_test.c
      strings/ctype.c:
        Removed empty lines
      strings/str_test.c:
        Added test of bmove_align
      strings/strings-x86.s:
        Faster bmove_align, bmove_upp and strmake
      strings/strings.asm:
        move_allg
      f2131b44
  3. 31 May, 2003 1 commit
    • unknown's avatar
      URGENT · ed9415e9
      unknown authored
      SCRUM
      BUG
      correct wrong code in group_concat
      
      
      mysql-test/r/func_gconcat.result:
        add new tests
      mysql-test/t/func_gconcat.test:
        add new tests
      sql/field.cc:
        add new variable for group_concat
      sql/field.h:
        add new variable for group_concat
      sql/item_sum.cc:
        correct wrong code
      sql/item_sum.h:
        correct wrong code
      ed9415e9
  4. 05 May, 2003 1 commit
    • unknown's avatar
      Removed compiler warnings · c2d2f9bb
      unknown authored
      Fixed memory leak in new filesort code
      Optimzed sub selects to use keys with outer references.
      Increased max tables in join to 62
      
      
      client/Makefile.am:
        Remve test programs
      myisam/mi_check.c:
        Remove compiler warnings
      myisam/mi_delete.c:
        Remove 'rnd' variable to make usage repeatable
      myisam/mi_open.c:
        Remove 'rnd' variable to make usage repeatable
      myisam/mi_write.c:
        Remove 'rnd' variable to make usage repeatable
      myisam/myisamdef.h:
        Remove 'rnd' variable to make usage repeatable
      myisam/myisamlog.c:
        Remove 'rnd' variable to make usage repeatable
      mysql-test/r/subselect.result:
        new test
      mysql-test/t/join.test:
        Updated test
      mysql-test/t/subselect.test:
        new test
      sql/filesort.cc:
        Added function to free buffers allocated by filesort
      sql/item.cc:
        Sub select optimization
      sql/item_cmpfunc.cc:
        Sub select optimization
      sql/item_subselect.cc:
        Sub select optimization
      sql/item_sum.cc:
        Removed compiler warnings
      sql/item_sum.h:
        Simple code cleanup
      sql/log.cc:
        Removed compiler warning
      sql/mysql_priv.h:
        Made table_map ulonglong to allow 62 tables in join
      sql/records.cc:
        Moved free of filesort buffers to own function
      sql/sql_select.cc:
        subselect optimization
        Call filesort_free_buffers() to free memory from filesort
      sql/unireg.h:
        Sub select optimization
      c2d2f9bb
  5. 15 Apr, 2003 2 commits
    • unknown's avatar
      Fixed bug in SUM() with NULL:s · fea393b2
      unknown authored
      Added logging of warnings for failed connections with ssl.
      Fixed bug in symbolic link handling on Windows
      
      
      include/my_global.h:
        Added replication flags from 4.1
      mysql-test/r/func_group.result:
        Added test for SUM(NULL)
      mysql-test/t/func_group.test:
        Added test for SUM(NULL)
      sql/item_sum.cc:
        Fixed bug in SUM() with NULL:s
      sql/item_sum.h:
        Fixed bug in SUM() with NULL:s
      sql/mysqld.cc:
        Added option --symbolic-links
        Fixed bug in symbolic link handling on Windows
      sql/net_serv.cc:
        Code cleanup
      sql/sql_acl.cc:
        Added logging of warnings for failed connections with ssl.
      sql/sql_show.cc:
        Changed to use HAVE_REPLICATION instead of EMBEDDED_LIBRARY
      fea393b2
    • unknown's avatar
      replace default separator in group_concat, correct a bug · b71482f3
      unknown authored
      mysql-test/r/func_gconcat.result:
        replace default separator
      sql/item_sum.h:
        add fix_length_and_dec() and copy_or_same()
      sql/sql_yacc.yy:
        replace default separator
      b71482f3
  6. 03 Apr, 2003 1 commit
  7. 17 Mar, 2003 1 commit
    • unknown's avatar
      This is full commit of group_concat with support subselects · 6a1294bb
      unknown authored
      include/mysqld_error.h:
        add warning
      sql/field.h:
        add friend class
      sql/item_sum.cc:
        add function
      sql/item_sum.h:
        add class
      sql/lex.h:
        add lex
      sql/mysql_priv.h:
        change push_warning
      sql/mysqld.cc:
        add new option
      sql/set_var.cc:
        add new system variable
      sql/share/english/errmsg.txt:
        add new message text
      sql/sql_class.h:
        change MY_ERROR class
      sql/sql_error.cc:
        change push_warning
      sql/sql_lex.h:
        add qorder_list for function
      sql/sql_yacc.yy:
        add structure of group_concat
      BitKeeper/etc/logging_ok:
        Logging to logging@openlogging.org accepted
      6a1294bb
  8. 04 Mar, 2003 1 commit
  9. 12 Feb, 2003 1 commit
    • unknown's avatar
      Fixed a lot of wrong memory references as reported by valgrind · d79e52a7
      unknown authored
      Portability fixes
      Added new client function: mysql_get_server_version()
      New server help code (From Victor Vagin)
      Fixed wrong usage of binary()
      Disabled RTREE usage for now.
      
      
      
      BitKeeper/etc/ignore:
        added scripts/fill_help_tables.sql
      client/mysql.cc:
        Some fixes when using 'help'
      cmd-line-utils/libedit/compat.h:
        Portability fix
      cmd-line-utils/libedit/fgetln.c:
        Portability fix
      include/mysql.h:
        Added new client function: mysql_get_server_version()
      libmysql/libmysql.c:
        Added new client function: mysql_get_server_version()
      libmysqld/libmysqld.c:
        Fixed prototype
      mysql-test/install_test_db.sh:
        Added creation of help tables
      mysql-test/r/connect.result:
        Added help tables
      mysql-test/r/myisam.result:
        Test of RTREE index
      mysql-test/r/type_ranges.result:
        updated results
      mysql-test/t/myisam.test:
        Test of RTREE index
      mysql-test/t/type_ranges.test:
        Updated test
      mysys/charset.c:
        Indentation change
      mysys/my_symlink.c:
        Removed compiler warning
      scripts/fill_help_tables.sh:
        Update for new help tables
      sql/field.cc:
        Indentation changes
      sql/filesort.cc:
        Optimized character set usage
      sql/item_cmpfunc.cc:
        Fix wrong usage of binary()
      sql/item_cmpfunc.h:
        Fix wrong usage of binary()
      sql/item_func.cc:
        Fix wrong usage of binary()
      sql/item_func.h:
        Fix wrong usage of binary()
      sql/item_strfunc.cc:
        Fix wrong usage of binary()
      sql/item_sum.cc:
        Fix wrong usage of binary()
      sql/item_sum.h:
        Fix wrong usage of binary()
      sql/key.cc:
        Indentation change
      sql/lex.h:
        HELP -> HELP_SYM
      sql/mysql_priv.h:
        Make get_field() more general
      sql/password.c:
        Indentation change + variable initialisation moved
      sql/sql_acl.cc:
        Make get_field() more general
      sql/sql_base.cc:
        Added comments + assertion for double call to mysql_lock_tables
      sql/sql_cache.cc:
        Indentation changes
      sql/sql_class.h:
        Added need_strxnfrm to SORT_FIELD to be able to optimise character set handling in filesort
      sql/sql_derived.cc:
        Renamed variables
      sql/sql_help.cc:
        New help functions (from Victor Vagin)
      sql/sql_lex.cc:
        Removed variables that doesn't have to be initialized for each query
      sql/sql_lex.h:
        Removed not used variable (olap)
      sql/sql_parse.cc:
        Fixed (not fatal) access of unitialized memory
        Indentation / code cleanup
      sql/sql_prepare.cc:
        Indentaion cleanup
      sql/sql_table.cc:
        Disabled RTREE until 5.0
      sql/sql_udf.cc:
        Make get_field() more general
      sql/sql_yacc.yy:
        Removed access to uninitialized memory
        Always set offset_limit and select_limit when using LIMIT (removed warnings)
        Allow usage of 'help week'
      sql/table.cc:
        Make get_field() more general
        More comments
      sql/table.h:
        Fixded type of TABLE_LIST->derived
      sql/time.cc:
        Stricter date / datetime handling (to be able to handle timestamps with days and microseconds)
      strings/ctype-bin.c:
        Added cha
      d79e52a7
  10. 10 Feb, 2003 2 commits
  11. 03 Feb, 2003 1 commit
    • unknown's avatar
      Fix for MIN/MAX with empty tables · 8c1c18fb
      unknown authored
      MIN(key_column) could in some cases return NULL on a column with NULL and other values.
      MIN(key_column) and MAX(key_column) could in some cases return wrong values when used in OUTER JOIN.
      
      
      configure.in:
        Updated version number
      libmysqld/libmysqld.c:
        Portability fix (for windows)
      mysql-test/r/func_group.result:
        Added test case for MIN/MAX problems
      mysql-test/t/func_group.test:
        Added test case for MIN/MAX problems
      sql/item.h:
        Fix for MIN/MAX with empty tables
      sql/item_sum.h:
        Fix for MIN/MAX with empty tables
      sql/opt_sum.cc:
        MIN(key_column) could in some cases return NULL on a column
        with NULL and other values.
        MIN(key_column) and MAX(key_column) could in some cases
        return wrong values when used in OUTER JOIN.
      sql/sql_select.cc:
        Fix for MIN/MAX with empty tables
      8c1c18fb
  12. 30 Jan, 2003 1 commit
    • unknown's avatar
      changes based on partial revie of task 577 (SCRUM) · d05f4a08
      unknown authored
      sql/item.cc:
        Fixed Item usual constructor to call current_thd only once.
        Fixed copy constructor to receive THD pointer via arguments.
        added comments
        removed counter-1 and unnessesary initializaton of counter
      sql/item.h:
        Fixed copy constructor to receive THD pointer via arguments.
        Renamed get_same to copy_or_same.
        THD pointetr added to copy_or_same and get_tmp_table_item.
      sql/item_cmpfunc.cc:
        fixed layout
        fixed direct call of destructor
      sql/item_func.cc:
        fiex layout
        THD pointetr added to get_tmp_table_item.
      sql/item_func.h:
        THD pointetr added to get_tmp_table_item.
      sql/item_sum.cc:
        Fixed copy constructor to receive THD pointer via arguments.
        Renamed get_same to copy_or_same.
        THD pointetr added to copy_or_same and get_tmp_table_item.
      sql/item_sum.h:
        fixed layout
        Fixed copy constructor to receive THD pointer via arguments.
        Renamed get_same to copy_or_same.
        THD pointetr added to copy_or_same and get_tmp_table_item.
      sql/item_uniq.h:
        Fixed copy constructor to receive THD pointer via arguments.
        Renamed get_same to copy_or_same.
        THD pointetr added to copy_or_same and get_tmp_table_item.
      sql/sql_base.cc:
        count from 0
      sql/sql_select.cc:
        removed counter-1 and unnessesary initializaton of counter
        THD pointetr added to get_tmp_table_item and change_to_use_tmp_fields.
      d05f4a08
  13. 26 Jan, 2003 1 commit
    • unknown's avatar
      after merge fix of 577 task (SCRUM, pre commit to be able to merge with static... · 69e453db
      unknown authored
      after merge fix of 577 task (SCRUM, pre commit to be able to merge with static tables optimization fix)
      fixed derived tables with subselect inside
      
      
      mysql-test/r/derived.result:
        test of subselects inside derived tables
      mysql-test/t/derived.test:
        test of subselects inside derived tables
      mysql-test/t/subselect.test:
        subselect test (not finished)
      sql/item.cc:
        after merge fix
      sql/item.h:
        after merge fix
      sql/item_cmpfunc.h:
        after merge fix
      sql/item_subselect.cc:
        after merge fix
      sql/item_sum.h:
        after merge fix
      sql/mysql_priv.h:
        fixed derived tables with subselect inside
      sql/sql_class.h:
        after merge fix
      sql/sql_derived.cc:
        fixed derived tables with subselect inside
      sql/sql_lex.cc:
        fixed derived tables with subselect inside
      sql/sql_lex.h:
        fixed derived tables with subselect inside
      sql/sql_parse.cc:
        fixed derived tables with subselect inside
        after merge fix
      sql/sql_prepare.cc:
        after merge fix
      sql/sql_select.cc:
        after merge fix
        fixed derived tables with subselect inside
      69e453db
  14. 25 Jan, 2003 1 commit
    • unknown's avatar
      fixed subselects with temporary tables (SCRUM) · d94eecbb
      unknown authored
      fixed memory leacks
      
      
      mysql-test/r/subselect.result:
        some changes in subselect tests
      mysql-test/t/subselect.test:
        some changes in subselect tests
      sql/item.cc:
        some item made copyable
        methods for creating copy of item list
        tmp_table_field() splited
      sql/item.h:
        some item made copyable
        methods for creating copy of item list
        tmp_table_field() splited
      sql/item_cmpfunc.cc:
        changed references creation
      sql/item_cmpfunc.h:
        changed references creation
      sql/item_func.cc:
        some item made copyable
        methods for creating copy of item list
        changed references creation
      sql/item_func.h:
        some item made copyable
        methods for creating copy of item list
        changed references creation
        tmp_table_field() splited
      sql/item_subselect.cc:
        changed references creation
      sql/item_sum.cc:
        some item made copyable
        methods for creating copy of item list
      sql/item_sum.h:
        some item made copyable
        methods for creating copy of item list
      sql/item_timefunc.h:
        tmp_table_field() splited
      sql/item_uniq.h:
        some item made copyable
        methods for creating copy of item list
      sql/mysql_priv.h:
        fixed subselects with temporary tables
      sql/sql_base.cc:
        fixed subselects with temporary tables
      sql/sql_class.h:
        fixed subselects with temporary tables
      sql/sql_delete.cc:
        fixed subselects with temporary tables
      sql/sql_derived.cc:
        fixed subselects with temporary tables
      sql/sql_do.cc:
        fixed subselects with temporary tables
      sql/sql_insert.cc:
        fixed subselects with temporary tables
      sql/sql_lex.cc:
        fixed subselects with temporary tables
      sql/sql_lex.h:
        fixed subselects with temporary tables
      sql/sql_list.h:
        fixed subselects with temporary tables
      sql/sql_load.cc:
        fixed subselects with temporary tables
      sql/sql_olap.cc:
        fixed subselects with temporary tables
      sql/sql_parse.cc:
        fixed subselects with temporary tables
      sql/sql_prepare.cc:
        fixed subselects with temporary tables
      sql/sql_select.cc:
        fixed subselects with temporary tables
      sql/sql_select.h:
        fixed subselects with temporary tables
      sql/sql_table.cc:
        fixed subselects with temporary tables
      sql/sql_union.cc:
        fixed subselects with temporary tables
      sql/sql_update.cc:
        fixed subselects with temporary tables
      sql/sql_yacc.yy:
        fixed subselects with temporary tables
      d94eecbb
  15. 16 Jan, 2003 1 commit
  16. 14 Jan, 2003 1 commit
    • unknown's avatar
      Updates for multi-byte character sets · c25544e6
      unknown authored
      (Note: test 'union' fails, but Sanja promised to fix this)
      
      
      include/m_ctype.h:
        Changed prototype for strntod() to inform the user that source may be modified.
      include/m_string.h:
        Moved my_vsnprintf to strings library
      include/my_sys.h:
        Moved my_vsnprintf to strings library
      libmysql/Makefile.shared:
        Moved my_vsnprintf to strings library
      mysql-test/r/alter_table.result:
        Moved my_vsnprintf to strings library
      mysql-test/r/create.result:
        Moved my_vsnprintf to strings library
      mysql-test/r/ctype_many.result:
        Moved my_vsnprintf to strings library
      mysql-test/r/fulltext.result:
        Moved my_vsnprintf to strings library
      mysql-test/r/innodb.result:
        Moved my_vsnprintf to strings library
      mysql-test/r/merge.result:
        Moved my_vsnprintf to strings library
      mysql-test/r/select.result:
        Moved my_vsnprintf to strings library
      mysql-test/r/show_check.result:
        Moved my_vsnprintf to strings library
      mysql-test/r/type_blob.result:
        Moved my_vsnprintf to strings library
      mysql-test/r/type_enum.result:
        Moved my_vsnprintf to strings library
      mysql-test/r/type_ranges.result:
        Moved my_vsnprintf to strings library
      mysql-test/r/type_set.result:
        Moved my_vsnprintf to strings library
      mysys/Makefile.am:
        Moved my_vsnprintf to strings library
      sql/field.cc:
        Fixed for character set handling
      sql/field.h:
        Fixed for character set handling
      sql/item.cc:
        Fixed for character set handling
      sql/item.h:
        Fixed for character set handling
      sql/item_func.cc:
        Fixed for character set handling
      sql/item_func.h:
        Fixed for character set handling
      sql/item_strfunc.cc:
        Fixed for character set handling
      sql/item_sum.cc:
        Fixed for character set handling
      sql/item_sum.h:
        Fixed for character set handling
      sql/item_timefunc.cc:
        Fixed for character set handling
      sql/mysqld.cc:
        Update to use new test_if_int()
      sql/opt_range.cc:
        Fixed for character set handling
      sql/procedure.h:
        Fixed for character set handling
      sql/sql_class.cc:
        Fixed for character set handling
      sql/sql_string.cc:
        Added multi byte support to append.
        Added set_latin1()
      sql/sql_string.h:
        Added set_latin1()
      sql/sql_update.cc:
        Cosmetic changes
      strings/Makefile.am:
        Moved my_vsnprintf to strings library
      strings/ctype-simple.c:
        Code review + cleanup
      strings/ctype-utf8.c:
        Fixed strntod()
      strings/my_vsnprintf.c:
        Added support for %#d and %#u
      c25544e6
  17. 19 Dec, 2002 1 commit
  18. 14 Dec, 2002 1 commit
  19. 13 Dec, 2002 1 commit
    • unknown's avatar
      add VARIANCE function · 5b646220
      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
      5b646220
  20. 11 Dec, 2002 1 commit
    • unknown's avatar
      rename of net_pkg.cc to protocol.cc · 5d5fc834
      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
      5d5fc834
  21. 02 Dec, 2002 1 commit
    • unknown's avatar
      Fixed bug when creating keys in temporary HEAP tables. · d6bc5fb2
      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.
      d6bc5fb2
  22. 30 Nov, 2002 1 commit
    • unknown's avatar
      many bug fixes · 99e70d4f
      unknown authored
      mysql-test/t/subselect.test:
        fixing problems with aliases being forced on derived tables
      sql/item_func.cc:
        Fixing a bug that caused MySQL to crash on SELECT ...GROUP BY func(feilds)
      sql/item_sum.cc:
        Making us compatible with ISO C++ paragrah 7.1.9.4
      sql/item_sum.h:
        Making us compatible with ISO C++ paragrah 7.1.9.4
      sql/sql_derived.cc:
        Fixing two more bugs in derived tables.
        
        One in EXPLAIN and another causing wrong result in opt_sum_query()
      sql/sql_yacc.yy:
        Making possible INSERT from SELECT list_of_constants
      99e70d4f
  23. 28 Nov, 2002 1 commit
  24. 21 Nov, 2002 1 commit
    • unknown's avatar
      prevent using references on sum function (except HAVING clouse of current... · cc8b43bb
      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
      cc8b43bb
  25. 31 Oct, 2002 1 commit
    • unknown's avatar
      IN subselect with ORDER BY, HAVING & sum functions · fa90c376
      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
      fa90c376
  26. 02 Oct, 2002 1 commit
    • unknown's avatar
      Fixes and code cleanups after merge with 4.0.3 · 5f6e2afe
      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()
      5f6e2afe
  27. 24 Jul, 2002 1 commit
    • unknown's avatar
      Removed wrong implementation of CUBE/ROLLUP · 0862707d
      unknown authored
      Fixed bugfix of INSERT ... SET db_name.table_name.column_name
      Changed locking to external-locking
      Fix client hangup for some invalid SQL queries.
      
      
      Docs/manual.texi:
        Changelog & recent incompatible changes to 4.0.3
      include/mysqld_error.h:
        New error messages
      myisam/ft_boolean_search.c:
        Removed compiler warning
      myisam/mi_check.c:
        Change mi_fix_rec_buff_for_blob to mi_alloc_rec_buff
      myisam/mi_dynrec.c:
        Change mi_fix_rec_buff_for_blob to mi_alloc_rec_buff
      myisam/mi_extra.c:
        Change mi_fix_rec_buff_for_blob to mi_alloc_rec_buff
      myisam/mi_key.c:
        Change mi_fix_rec_buff_for_blob to mi_alloc_rec_buff
      myisam/mi_open.c:
        Change mi_fix_rec_buff_for_blob to mi_alloc_rec_buff
      myisam/mi_packrec.c:
        Change mi_fix_rec_buff_for_blob to mi_alloc_rec_buff
      myisam/myisamdef.h:
        Change mi_fix_rec_buff_for_blob to mi_alloc_rec_buff
      myisam/sort.c:
        Fixed uninitialized variable
      mysql-test/r/insert_set.result:
        Change test case to use database foo
      mysql-test/r/union.result:
        Test wrong usage of union
      mysql-test/t/insert_set.test:
        Test bug in insert
      mysql-test/t/union.test:
        Test wrong usage of union
      sql/item.h:
        Indentation cleanup
      sql/item_cmpfunc.h:
        Indentation cleanup
      sql/item_func.h:
        Indentation cleanup
      sql/item_strfunc.h:
        Indentation cleanup
      sql/item_sum.h:
        Indentation cleanup
      sql/item_timefunc.h:
        Indentation cleanup
      sql/item_uniq.h:
        Indentation cleanup
      sql/mysql_priv.h:
        Fix that we always generate an error message when calling YYABORT
      sql/mysqld.cc:
        Changed command line arguments regarding locking to always use --external-locking
        Disable external locking by default
      sql/procedure.h:
        Cleanup
      sql/set_var.cc:
        change locking -> external_locking
      sql/share/czech/errmsg.txt:
        New error messages
      sql/share/danish/errmsg.txt:
        New error messages
      sql/share/dutch/errmsg.txt:
        New error messages
      sql/share/english/errmsg.txt:
        New error messages
      sql/share/estonian/errmsg.txt:
        New error messages
      sql/share/french/errmsg.txt:
        New error messages
      sql/share/german/errmsg.txt:
        New error messages
      sql/share/greek/errmsg.txt:
        New error messages
      sql/share/hungarian/errmsg.txt:
        New error messages
      sql/share/italian/errmsg.txt:
        New error messages
      sql/share/japanese/errmsg.txt:
        New error messages
      sql/share/korean/errmsg.txt:
        New error messages
      mysql-test/r/olap.result:
        Removed CUBE/ROLLUP
      mysql-test/t/olap.test:
        Removed CUBE/ROLLUP
      sql/share/norwegian-ny/errmsg.txt:
        New error messages
      sql/share/norwegian/errmsg.txt:
        New error messages
      sql/share/polish/errmsg.txt:
        New error messages
      sql/share/portuguese/errmsg.txt:
        New error messages
      sql/share/romanian/errmsg.txt:
        New error messages
      sql/share/russian/errmsg.txt:
        New error messages
      sql/share/slovak/errmsg.txt:
        New error messages
      sql/share/spanish/errmsg.txt:
        New error messages
      sql/share/swedish/errmsg.txt:
        New error messages
      sql/share/ukrainian/errmsg.txt:
        New error messages
      sql/sql_base.cc:
        Removed wrong patch for INSERT...
      sql/sql_insert.cc:
        Fix bug in INSERT ... SET db_name.table_name.column_name
      sql/sql_lex.h:
        Changed NON_EXISTIONG_ONE -> UNSPECIFIED_OLAP_TYPE
      sql/sql_olap.cc:
        Removed wrong implementation of CUBE/ROLLUP
      sql/sql_parse.cc:
        Removed wrong implementation of CUBE/ROLLUP
        Added function to give better error messages
      sql/sql_select.cc:
        Removed wrong implementation of CUBE/ROLLUP
      sql/sql_union.cc:
        Added comment
      sql/sql_yacc.yy:
        Fix that we always generate an error message when calling YYABORT
      0862707d
  28. 20 Jul, 2002 1 commit
  29. 01 Jul, 2002 1 commit
    • unknown's avatar
      subselect in having clause · 2681b06c
      unknown authored
      fixed bug in sum function in subselect
      
      
      mysql-test/r/subselect.result:
        subselect in having clause
      mysql-test/t/subselect.test:
        subselect in having clause
      sql/item.cc:
        subselect in having clause
      sql/item.h:
        subselect in having clause
      sql/item_cmpfunc.cc:
        subselect in having clause
      sql/item_cmpfunc.h:
        subselect in having clause
      sql/item_func.cc:
        subselect in having clause
      sql/item_func.h:
        subselect in having clause
      sql/item_strfunc.h:
        subselect in having clause
      sql/item_subselect.cc:
        subselect in having clause
      sql/item_subselect.h:
        subselect in having clause
      sql/item_uniq.h:
        subselect in having clause
      sql/sql_base.cc:
        subselect in having clause
      sql/sql_class.cc:
        subselect in having clause
      sql/sql_class.h:
        subselect in having clause
      sql/sql_handler.cc:
        subselect in having clause
      sql/sql_lex.cc:
        subselect in having clause
      sql/sql_lex.h:
        subselect in having clause
      sql/sql_prepare.cc:
        subselect in having clause
      sql/sql_yacc.yy:
        subselect in having clause
      2681b06c
  30. 02 Mar, 2002 1 commit
    • unknown's avatar
      Fix sorting of NULL values (Should always be first) · 6cfc5e0e
      unknown authored
      Fix problem with HAVING and MAX() IS NOT NULL
      
      
      Docs/manual.texi:
        Changelog & NULL usage with ORDER BY
      client/mysqldump.c:
        Cleanup disable keys
      mysql-test/r/distinct.result:
        Fix results after ORDER BY with NULL fix
      mysql-test/r/group_by.result:
        Fix results after ORDER BY with NULL fix
      mysql-test/r/having.result:
        Testcase for bug with HAVING
      mysql-test/t/distinct.test:
        Test for DISTINCT + ORDER BY DESC bug
      mysql-test/t/having.test:
        Test of HAVING and MAX IS NOT NULL
      sql/filesort.cc:
        Fix sorting of NULL values (Should always be first)
      sql/item.h:
        Fix problem with HAVING and MAX() IS NOT NULL
      sql/item_sum.h:
        Fix problem with HAVING and MAX() IS NOT NULL
      sql/opt_range.cc:
        Fix problem with HAVING and MAX() IS NOT NULL
      sql/opt_range.h:
        Fix sorting of NULL values
      sql/sql_select.cc:
        Fix sorting of ORDER BY ... DESC on NULL values.
      6cfc5e0e
  31. 06 Dec, 2001 1 commit
    • unknown's avatar
      Update copyright · 2306379e
      unknown authored
      Fixed memory leak on shutdown (Affects the embedded version & MyODBC)
      
      
      client/client_priv.h:
        Update copyright
      client/completion_hash.cc:
        Update copyright
      client/completion_hash.h:
        Update copyright
      client/connect_test.c:
        Update copyright
      client/errmsg.c:
        Update copyright
      client/get_password.c:
        Update copyright
      client/insert_test.c:
        Update copyright
      client/list_test.c:
        Update copyright
      client/my_readline.h:
        Update copyright
      client/mysql.cc:
        Update copyright
      client/mysqladmin.c:
        Update copyright
      client/mysqlbinlog.cc:
        Update copyright
      client/mysqlcheck.c:
        Update copyright
      client/mysqldump.c:
        Update copyright
      client/mysqlimport.c:
        Update copyright
      client/mysqlmanager-pwgen.c:
        Update copyright
      client/mysqlmanagerc.c:
        Update copyright
      client/mysqlshow.c:
        Update copyright
      client/mysqltest.c:
        Update copyright
      client/password.c:
        Update copyright
      client/readline.cc:
        Update copyright
      client/select_test.c:
        Update copyright
      client/showdb_test.c:
        Update copyright
      client/sql_string.cc:
        Update copyright
      client/sql_string.h:
        Update copyright
      client/ssl_test.c:
        Update copyright
      client/thimble.cc:
        Update copyright
      client/thread_test.c:
        Update copyright
      div/deadlock_test.c:
        Update copyright
      extra/comp_err.c:
        Update copyright
      extra/my_print_defaults.c:
        Update copyright
      extra/perror.c:
        Update copyright
      extra/replace.c:
        Update copyright
      extra/resolve_stack_dump.c:
        Update copyright
      extra/resolveip.c:
        Update copyright
      fs/database.c:
        Update copyright
      fs/libmysqlfs.c:
        Update copyright
      fs/mysqlcorbafs.c:
        Update copyright
      fs/mysqlcorbafs.h:
        Update copyright
      fs/mysqlcorbafs_test.c:
        Update copyright
      heap/_check.c:
        Update copyright
      heap/_rectest.c:
        Update copyright
      heap/heapdef.h:
        Update copyright
      heap/hp_block.c:
        Update copyright
      heap/hp_clear.c:
        Update copyright
      heap/hp_close.c:
        Update copyright
      heap/hp_create.c:
        Update copyright
      heap/hp_delete.c:
        Update copyright
      heap/hp_extra.c:
        Update copyright
      heap/hp_hash.c:
        Update copyright
      heap/hp_info.c:
        Update copyright
      heap/hp_open.c:
        Update copyright
      heap/hp_panic.c:
        Update copyright
      heap/hp_rename.c:
        Update copyright
      heap/hp_rfirst.c:
        Update copyright
      heap/hp_rkey.c:
        Update copyright
      heap/hp_rlast.c:
        Update copyright
      heap/hp_rnext.c:
        Update copyright
      heap/hp_rprev.c:
        Update copyright
      heap/hp_rrnd.c:
        Update copyright
      heap/hp_rsame.c:
        Update copyright
      heap/hp_scan.c:
        Update copyright
      heap/hp_static.c:
        Update copyright
      heap/hp_test1.c:
        Update copyright
      heap/hp_test2.c:
        Update copyright
      heap/hp_update.c:
        Update copyright
      heap/hp_write.c:
        Update copyright
      include/config-win.h:
        Update copyright
      include/dbug.h:
        Update copyright
      include/errmsg.h:
        Update copyright
      include/ft_global.h:
        Update copyright
      include/getopt.h:
        Update copyright
      include/hash.h:
        Update copyright
      include/heap.h:
        Update copyright
      include/m_ctype.h:
        Update copyright
      include/m_string.h:
        Update copyright
      include/md5.h:
        Update copyright
      include/merge.h:
        Update copyright
      include/my_alarm.h:
        Update copyright
      include/my_base.h:
        Update copyright
      include/my_bitmap.h:
        Update copyright
      include/my_dir.h:
        Update copyright
      include/my_global.h:
        Update copyright
      include/my_list.h:
        Update copyright
      include/my_net.h:
        Update copyright
      include/my_no_pthread.h:
        Update copyright
      include/my_nosys.h:
        Update copyright
      include/my_pthread.h:
        Update copyright
      include/my_sys.h:
        Update copyright
      include/my_tree.h:
        Update copyright
      include/myisam.h:
        Update copyright
      include/myisammrg.h:
        Update copyright
      include/myisampack.h:
        Update copyright
      include/mysql.h:
        Update copyright
      include/mysql_com.h:
        Update copyright
      include/mysql_embed.h:
        Update copyright
      include/mysqld_error.h:
        Update copyright
      include/mysys_err.h:
        Update copyright
      include/nisam.h:
        Update copyright
      include/queues.h:
        Update copyright
      include/raid.h:
        Update copyright
      include/sslopt-case.h:
        Update copyright
      include/sslopt-longopts.h:
        Update copyright
      include/sslopt-usage.h:
        Update copyright
      include/sslopt-vars.h:
        Update copyright
      include/t_ctype.h:
        Update copyright
      include/thr_alarm.h:
        Update copyright
      include/thr_lock.h:
        Update copyright
      include/violite.h:
        Update copyright
      isam/_cache.c:
        Update copyright
      isam/_dbug.c:
        Update copyright
      isam/_key.c:
        Update copyright
      isam/_locking.c:
        Update copyright
      isam/_packrec.c:
        Update copyright
      isam/_page.c:
        Update copyright
      isam/_search.c:
        Update copyright
      isam/_statrec.c:
        Update copyright
      isam/changed.c:
        Update copyright
      isam/close.c:
        Update copyright
      isam/create.c:
        Update copyright
      isam/delete.c:
        Update copyright
      isam/extra.c:
        Update copyright
      isam/info.c:
        Update copyright
      isam/isamchk.c:
        Update copyright
      isam/isamdef.h:
        Update copyright
      isam/log.c:
        Update copyright
      isam/open.c:
        Update copyright
      isam/panic.c:
        Update copyright
      isam/range.c:
        Update copyright
      isam/rfirst.c:
        Update copyright
      isam/rkey.c:
        Update copyright
      isam/rlast.c:
        Update copyright
      isam/rnext.c:
        Update copyright
      isam/rprev.c:
        Update copyright
      isam/rrnd.c:
        Update copyright
      isam/rsame.c:
        Update copyright
      isam/rsamepos.c:
        Update copyright
      isam/sort.c:
        Update copyright
      isam/static.c:
        Update copyright
      isam/test1.c:
        Update copyright
      isam/test2.c:
        Update copyright
      isam/test3.c:
        Update copyright
      isam/update.c:
        Update copyright
      isam/write.c:
        Update copyright
      libmysql/conf_to_src.c:
        Update copyright
      libmysql/dll.c:
        Update copyright
      libmysql/errmsg.c:
        Update copyright
      libmysql/get_password.c:
        Update copyright
      libmysql/libmysql.c:
        Update copyright
      libmysql/manager.c:
        Update copyright
      libmysql/net.c:
        Update copyright
      libmysql/password.c:
        Update copyright
      libmysqld/lib_sql.cc:
        Update copyright
      libmysqld/lib_vio.c:
        Update copyright
      libmysqld/libmysqld.c:
        Update copyright
      merge/mrg_close.c:
        Update copyright
      merge/mrg_create.c:
        Update copyright
      merge/mrg_def.h:
        Update copyright
      merge/mrg_delete.c:
        Update copyright
      merge/mrg_extra.c:
        Update copyright
      merge/mrg_info.c:
        Update copyright
      merge/mrg_locking.c:
        Update copyright
      merge/mrg_open.c:
        Update copyright
      merge/mrg_panic.c:
        Update copyright
      merge/mrg_rrnd.c:
        Update copyright
      merge/mrg_rsame.c:
        Update copyright
      merge/mrg_static.c:
        Update copyright
      merge/mrg_update.c:
        Update copyright
      myisam/ft_boolean_search.c:
        Update copyright
      myisam/ft_dump.c:
        Update copyright
      myisam/ft_eval.h:
        Update copyright
      myisam/ft_static.c:
        Update copyright
      myisam/ft_stem.c:
        Update copyright
      myisam/ft_stopwords.c:
        Update copyright
      myisam/ft_test1.h:
        Update copyright
      myisam/mi_cache.c:
        Update copyright
      myisam/mi_changed.c:
        Update copyright
      myisam/mi_check.c:
        Update copyright
      myisam/mi_checksum.c:
        Update copyright
      myisam/mi_close.c:
        Update copyright
      myisam/mi_create.c:
        Update copyright
      myisam/mi_dbug.c:
        Update copyright
      myisam/mi_delete.c:
        Update copyright
      myisam/mi_delete_all.c:
        Update copyright
      myisam/mi_delete_table.c:
        Update copyright
      myisam/mi_dynrec.c:
        Update copyright
      myisam/mi_extra.c:
        Update copyright
      myisam/mi_info.c:
        Update copyright
      myisam/mi_key.c:
        Update copyright
      myisam/mi_locking.c:
        Update copyright
      myisam/mi_log.c:
        Update copyright
      myisam/mi_open.c:
        Update copyright
      myisam/mi_packrec.c:
        Update copyright
      myisam/mi_page.c:
        Update copyright
      myisam/mi_panic.c:
        Update copyright
      myisam/mi_range.c:
        Update copyright
      myisam/mi_rename.c:
        Update copyright
      myisam/mi_rfirst.c:
        Update copyright
      myisam/mi_rlast.c:
        Update copyright
      myisam/mi_rnext_same.c:
        Update copyright
      myisam/mi_rrnd.c:
        Update copyright
      myisam/mi_rsame.c:
        Update copyright
      myisam/mi_rsamepos.c:
        Update copyright
      myisam/mi_scan.c:
        Update copyright
      myisam/mi_search.c:
        Update copyright
      myisam/mi_static.c:
        Update copyright
      myisam/mi_statrec.c:
        Update copyright
      myisam/mi_test1.c:
        Update copyright
      myisam/mi_test2.c:
        Update copyright
      myisam/mi_test3.c:
        Update copyright
      myisam/mi_unique.c:
        Update copyright
      myisam/mi_update.c:
        Update copyright
      myisam/mi_write.c:
        Update copyright
      myisam/myisamchk.c:
        Update copyright
      myisam/myisampack.c:
        Update copyright
      myisammrg/myrg_close.c:
        Update copyright
      myisammrg/myrg_create.c:
        Update copyright
      myisammrg/myrg_def.h:
        Update copyright
      myisammrg/myrg_delete.c:
        Update copyright
      myisammrg/myrg_locking.c:
        Update copyright
      myisammrg/myrg_open.c:
        Update copyright
      myisammrg/myrg_panic.c:
        Update copyright
      myisammrg/myrg_rsame.c:
        Update copyright
      myisammrg/myrg_static.c:
        Update copyright
      myisammrg/myrg_update.c:
        Update copyright
      myisammrg/myrg_write.c:
        Update copyright
      mysql-test/r/gcc296.result:
        Update of benchmark results
      mysql-test/r/innodb.result:
        Update of benchmark results
      mysql-test/r/join_outer.result:
        Update of benchmark results
      mysql-test/r/myisam.result:
        Update of benchmark results
      mysys/array.c:
        Update copyright
      mysys/charset.c:
        Fix for restart of character sets
      mysys/checksum.c:
        Update copyright
      mysys/default.c:
        Update copyright
      mysys/errors.c:
        Update copyright
      mysys/getopt.c:
        Cleanup
      mysys/getvar.c:
        Update copyright
      mysys/hash.c:
        Update copyright
      mysys/list.c:
        Update copyright
      mysys/make-conf.c:
        Update copyright
      mysys/md5.c:
        Update copyright
      mysys/mf_brkhant.c:
        Update copyright
      mysys/mf_cache.c:
        Update copyright
      mysys/mf_casecnv.c:
        Update copyright
      mysys/mf_dirname.c:
        Update copyright
      mysys/mf_fn_ext.c:
        Update copyright
      mysys/mf_format.c:
        Update copyright
      mysys/mf_getdate.c:
        Update copyright
      mysys/mf_iocache.c:
        Update copyright
      mysys/mf_iocache2.c:
        Update copyright
      mysys/mf_keycache.c:
        Update copyright
      mysys/mf_loadpath.c:
        Update copyright
      mysys/mf_pack.c:
        Update copyright
      mysys/mf_path.c:
        Update copyright
      mysys/mf_qsort.c:
        Update copyright
      mysys/mf_qsort2.c:
        Update copyright
      mysys/mf_radix.c:
        Update copyright
      mysys/mf_same.c:
        Update copyright
      mysys/mf_sleep.c:
        Update copyright
      mysys/mf_sort.c:
        Update copyright
      mysys/mf_soundex.c:
        Update copyright
      mysys/mf_stripp.c:
        Update copyright
      mysys/mf_tempfile.c:
        Update copyright
      mysys/mf_unixpath.c:
        Update copyright
      mysys/mf_util.c:
        Update copyright
      mysys/mf_wcomp.c:
        Update copyright
      mysys/mf_wfile.c:
        Update copyright
      mysys/mulalloc.c:
        Update copyright
      mysys/my_alarm.c:
        Update copyright
      mysys/my_alloc.c:
        Update copyright
      mysys/my_append.c:
        Update copyright
      mysys/my_bit.c:
        Update copyright
      mysys/my_bitmap.c:
        Update copyright
      mysys/my_chsize.c:
        Update copyright
      mysys/my_clock.c:
        Update copyright
      mysys/my_compress.c:
        Update copyright
      mysys/my_copy.c:
        Update copyright
      mysys/my_create.c:
        Update copyright
      mysys/my_delete.c:
        Update copyright
      mysys/my_div.c:
        Update copyright
      mysys/my_dup.c:
        Update copyright
      mysys/my_error.c:
        Update copyright
      mysys/my_fopen.c:
        Update copyright
      mysys/my_fstream.c:
        Update copyright
      mysys/my_getwd.c:
        Update copyright
      mysys/my_init.c:
        Free 'once_alloc' memory at shutdown.
      mysys/my_lib.c:
        Update copyright
      mysys/my_lock.c:
        Update copyright
      mysys/my_lockmem.c:
        Update copyright
      mysys/my_lread.c:
        Update copyright
      mysys/my_lwrite.c:
        Update copyright
      mysys/my_malloc.c:
        Update copyright
      mysys/my_messnc.c:
        Update copyright
      mysys/my_mkdir.c:
        Update copyright
      mysys/my_net.c:
        Update copyright
      mysys/my_once.c:
        Update copyright
      mysys/my_open.c:
        Update copyright
      mysys/my_pread.c:
        Update copyright
      mysys/my_pthread.c:
        Update copyright
      mysys/my_quick.c:
        Update copyright
      mysys/my_read.c:
        Update copyright
      mysys/my_realloc.c:
        Update copyright
      mysys/my_redel.c:
        Update copyright
      mysys/my_rename.c:
        Update copyright
      mysys/my_seek.c:
        Update copyright
      mysys/my_static.c:
        Update copyright
      mysys/my_static.h:
        Update copyright
      mysys/my_symlink.c:
        Update copyright
      mysys/my_symlink2.c:
        Update copyright
      mysys/my_tempnam.c:
        Update copyright
      mysys/my_thr_init.c:
        Update copyright
      mysys/my_vsnprintf.c:
        Update copyright
      mysys/my_wincond.c:
        Update copyright
      mysys/my_winthread.c:
        Update copyright
      mysys/my_write.c:
        Update copyright
      mysys/mysys_priv.h:
        Update copyright
      mysys/ptr_cmp.c:
        Update copyright
      mysys/queues.c:
        Update copyright
      mysys/raid.cc:
        Update copyright
      mysys/safemalloc.c:
        Update copyright
      mysys/string.c:
        Update copyright
      mysys/test_charset.c:
        Update copyright
      mysys/test_dir.c:
        Update copyright
      mysys/test_fn.c:
        Update copyright
      mysys/testhash.c:
        Update copyright
      mysys/thr_alarm.c:
        Update copyright
      mysys/thr_lock.c:
        Update copyright
      mysys/thr_mutex.c:
        Update copyright
      mysys/thr_rwlock.c:
        Update copyright
      mysys/tree.c:
        Update copyright
      mysys/typelib.c:
        Update copyright
      pstack/debug.c:
        Update copyright
      pstack/debug.h:
        Update copyright
      pstack/demangle.h:
        Update copyright
      pstack/ieee.c:
        Update copyright
      pstack/ieee.h:
        Update copyright
      pstack/pstack.c:
        Update copyright
      readline/bind.c:
        Cleanup empty lines
      readline/complete.c:
        Cleanup empty lines
      readline/display.c:
        Cleanup empty lines
      readline/funmap.c:
        Cleanup empty lines
      readline/histexpand.c:
        Cleanup empty lines
      readline/histfile.c:
        Cleanup empty lines
      readline/history.c:
        Cleanup empty lines
      readline/history.h:
        Cleanup empty lines
      readline/input.c:
        Cleanup empty lines
      readline/kill.c:
        Cleanup empty lines
      readline/readline.c:
        Cleanup empty lines
      readline/readline.h:
        Cleanup empty lines
      readline/vi_mode.c:
        Cleanup empty lines
      sql/cache_manager.cc:
        Update copyright
      sql/cache_manager.h:
        Update copyright
      sql/convert.cc:
        Update copyright
      sql/custom_conf.h:
        Update copyright
      sql/derror.cc:
        Update copyright
      sql/field.cc:
        Update copyright
      sql/field.h:
        Update copyright
      sql/field_conv.cc:
        Update copyright
      sql/filesort.cc:
        Update copyright
      sql/frm_crypt.cc:
        Update copyright
      sql/ha_berkeley.cc:
        Update copyright
      sql/ha_heap.cc:
        Update copyright
      sql/ha_heap.h:
        Update copyright
      sql/ha_innobase.cc:
        Update copyright
      sql/ha_isam.cc:
        Update copyright
      sql/ha_isam.h:
        Update copyright
      sql/ha_isammrg.cc:
        Update copyright
      sql/ha_isammrg.h:
        Update copyright
      sql/ha_myisam.cc:
        Update copyright
      sql/handler.cc:
        Update copyright
      sql/hash_filo.cc:
        Update copyright
      sql/hash_filo.h:
        Update copyright
      sql/hostname.cc:
        Update copyright
      sql/init.cc:
        Update copyright
      sql/item.cc:
        Update copyright
      sql/item.h:
        Update copyright
      sql/item_buff.cc:
        Update copyright
      sql/item_cmpfunc.cc:
        Update copyright
      sql/item_cmpfunc.h:
        Update copyright
      sql/item_create.cc:
        Update copyright
      sql/item_create.h:
        Update copyright
      sql/item_func.cc:
        Update copyright
      sql/item_strfunc.cc:
        Update copyright
      sql/item_sum.cc:
        Update copyright
      sql/item_sum.h:
        Update copyright
      sql/item_timefunc.cc:
        Update copyright
      sql/item_timefunc.h:
        Update copyright
      sql/item_uniq.cc:
        Update copyright
      sql/item_uniq.h:
        Update copyright
      sql/key.cc:
        Update copyright
      sql/lex_symbol.h:
        Update copyright
      sql/lock.cc:
        Update copyright
      sql/log.cc:
        Update copyright
      sql/log_event.cc:
        Update copyright
      sql/log_event.h:
        Update copyright
      sql/matherr.c:
        Update copyright
      sql/mf_iocache.cc:
        Update copyright
      sql/mini_client.cc:
        Update copyright
      sql/mini_client.h:
        Update copyright
      sql/my_lock.c:
        Update copyright
      sql/mysqld.cc:
        Update copyright
      sql/net_pkg.cc:
        Update copyright
      sql/net_serv.cc:
        Update copyright
      sql/opt_sum.cc:
        Update copyright
      sql/password.c:
        Update copyright
      sql/procedure.cc:
        Update copyright
      sql/procedure.h:
        Update copyright
      sql/records.cc:
        Update copyright
      sql/repl_failsafe.cc:
        Update copyright
      sql/slave.cc:
        Update copyright
      sql/slave.h:
        Update copyright
      sql/sql_acl.cc:
        Update copyright
      sql/sql_acl.h:
        Update copyright
      sql/sql_analyse.cc:
        Update copyright
      sql/sql_analyse.h:
        Update copyright
      sql/sql_base.cc:
        Update copyright
      sql/sql_cache.cc:
        Update copyright
      sql/sql_class.cc:
        Update copyright
      sql/sql_class.h:
        Update copyright
      sql/sql_crypt.cc:
        Update copyright
      sql/sql_crypt.h:
        Update copyright
      sql/sql_db.cc:
        Update copyright
      sql/sql_delete.cc:
        Update copyright
      sql/sql_handler.cc:
        Update copyright
      sql/sql_insert.cc:
        Update copyright
      sql/sql_lex.cc:
        Update copyright
      sql/sql_lex.h:
        Update copyright
      sql/sql_list.cc:
        Update copyright
      sql/sql_list.h:
        Update copyright
      sql/sql_load.cc:
        Update copyright
      sql/sql_map.cc:
        Update copyright
      sql/sql_map.h:
        Update copyright
      sql/sql_parse.cc:
        Update copyright
      sql/sql_rename.cc:
        Update copyright
      sql/sql_repl.cc:
        Update copyright
      sql/sql_select.h:
        Update copyright
      sql/sql_string.cc:
        Update copyright
      sql/sql_string.h:
        Update copyright
      sql/sql_table.cc:
        Update copyright
      sql/sql_test.cc:
        Update copyright
      sql/sql_udf.cc:
        Update copyright
      sql/sql_udf.h:
        Update copyright
      sql/stacktrace.c:
        Update copyright
      sql/structs.h:
        Update copyright
      sql/table.cc:
        Update copyright
      sql/table.h:
        Update copyright
      sql/thr_malloc.cc:
        Update copyright
      sql/time.cc:
        Update copyright
      sql/udf_example.cc:
        Update copyright
      sql/uniques.cc:
        Update copyright
      sql/unireg.cc:
        Update copyright
      sql/unireg.h:
        Update copyright
      strings/atof.c:
        Update copyright
      strings/bchange.c:
        Update copyright
      strings/bcmp.c:
        Update copyright
      strings/bcopy-duff.c:
        Update copyright
      strings/bfill.c:
        Update copyright
      strings/bmove.c:
        Update copyright
      strings/bmove512.c:
        Update copyright
      strings/bmove_upp.c:
        Update copyright
      strings/bzero.c:
        Update copyright
      strings/conf_to_src.c:
        Update copyright
      strings/ctype-big5.c:
        Update copyright
      strings/ctype-czech.c:
        Update copyright
      strings/ctype-euc_kr.c:
        Update copyright
      strings/ctype-gb2312.c:
        Update copyright
      strings/ctype-gbk.c:
        Update copyright
      strings/ctype-latin1_de.c:
        Update copyright
      strings/ctype-sjis.c:
        Update copyright
      strings/ctype-tis620.c:
        Update copyright
      strings/ctype-ujis.c:
        Update copyright
      strings/ctype.c:
        Update copyright
      strings/do_ctype.c:
        Update copyright
      strings/int2str.c:
        Update copyright
      strings/is_prefix.c:
        Update copyright
      strings/llstr.c:
        Update copyright
      strings/longlong2str.c:
        Update copyright
      strings/memcmp.c:
        Update copyright
      strings/memcpy.c:
        Update copyright
      strings/memset.c:
        Update copyright
      strings/r_strinstr.c:
        Update copyright
      strings/str2int.c:
        Update copyright
      strings/str_test.c:
        Update copyright
      strings/strappend.c:
        Update copyright
      strings/strcat.c:
        Update copyright
      strings/strcend.c:
        Update copyright
      strings/strchr.c:
        Update copyright
      strings/strcmp.c:
        Update copyright
      strings/strcont.c:
        Update copyright
      strings/strend.c:
        Update copyright
      strings/strfill.c:
        Update copyright
      strings/strings-not-used.h:
        Update copyright
      strings/strinstr.c:
        Update copyright
      strings/strlen.c:
        Update copyright
      strings/strmake.c:
        Update copyright
      strings/strmov.c:
        Update copyright
      strings/strnlen.c:
        Update copyright
      strings/strnmov.c:
        Update copyright
      strings/strrchr.c:
        Update copyright
      strings/strstr.c:
        Update copyright
      strings/strto.c:
        Update copyright
      strings/strtol.c:
        Update copyright
      strings/strtoll.c:
        Update copyright
      strings/strtoul.c:
        Update copyright
      strings/strtoull.c:
        Update copyright
      strings/strxmov.c:
        Update copyright
      strings/strxnmov.c:
        Update copyright
      strings/t_ctype.h:
        Update copyright
      strings/udiv.c:
        Update copyright
      tools/mysqlmanager.c:
        Update copyright
      vio/test-ssl.c:
        Update copyright
      vio/test-sslclient.c:
        Update copyright
      vio/test-sslserver.c:
        Update copyright
      vio/vio.c:
        Update copyright
      vio/viosocket.c:
        Update copyright
      vio/viossl.c:
        Update copyright
      vio/viosslfactories.c:
        Update copyright
      vio/viotest-ssl.c:
        Update copyright
      2306379e
  32. 27 Sep, 2001 1 commit
    • unknown's avatar
      Final fixes for INSERT into MERGE tables. · d3bc2e0c
      unknown authored
      Move MAX_BLOB_WIDTH to be global
      Added full support for unsigned BIGINT
      Fixed spelling errors
      
      
      BUILD/compile-pentium-debug-max:
        Don't use openssl by default
      Docs/manual.texi:
        Cleanup of MERGE tables, Access usage and UDF functions
      acinclude.m4:
        Cleanup ssl usage
      configure.in:
        Added message when using --with-tools
      include/mysql_com.h:
        Move MAX_BLOB_WIDTH to be global
      myisammrg/myrg_create.c:
        Fix problem with MERGE TABLES and INSERT
      myisammrg/myrg_static.c:
        Fix problem with MERGE TABLES and INSERT
      mysql-test/r/bigint.result:
        Added test of unsigned BIGINT
      mysql-test/r/merge.result:
        Tests for INSERT
      mysql-test/r/type_ranges.result:
        Fixed tests for unsigned bigint
      mysql-test/t/bigint.test:
        Added test of unsigned BIGINT
      mysql-test/t/merge.test:
        Tests for INSERT
      mysys/typelib.c:
        Cleanup
      sql/field.h:
        Fixed unsigned BIGINT
      sql/ha_berkeley.cc:
        Cleanup
      sql/ha_gemini.cc:
        Cleanup
      sql/ha_myisam.cc:
        Cleanup
      sql/ha_myisammrg.cc:
        Fixed INSERT into MERGE tables
      sql/item.cc:
        Fixed unsigned BIGINT
      sql/item.h:
        Fixed unsigned BIGINT
      sql/item_func.cc:
        Fixed unsigned BIGINT
      sql/item_strfunc.cc:
        Fixed spelling errors
      sql/item_sum.cc:
        Fixed unsigned BIGINT
      sql/item_sum.h:
        Fixed unsigned BIGINT
      sql/mf_iocache.cc:
        Fixed spelling errors
      sql/mysql_priv.h:
        Moved MAX_BLOB_WIDTH to be global
      sql/mysqld.cc:
        Fixed spelling errors
      sql/opt_range.cc:
        Fixed spelling errors
      sql/sql_base.cc:
        Fixed bug in SHOW OPEN TABLES
      sql/sql_insert.cc:
        Fixed spelling errors
      sql/sql_lex.h:
        Fixed spelling errors
      sql/sql_parse.cc:
        Fixed spelling errors
      sql/sql_select.cc:
        Fix for unsigned BIGINT
      sql/structs.h:
        Fixed spelling errors
      sql/time.cc:
        Fixed spelling errors
      sql/unireg.cc:
        Fixed spelling errors
      d3bc2e0c
  33. 14 Aug, 2001 1 commit
    • unknown's avatar
      Remove warnings and portability fixes · 2e1b37af
      unknown authored
      New global read lock code
      Fixed bug in DATETIME with WHERE optimization
      Made UNION code more general.
      
      
      include/global.h:
        Remove warning on Linux Alpha
      include/mysql_com.h:
        Move some C variables inside extern "C" block.
      include/mysqld_error.h:
        New error mesages
      myisam/mi_write.c:
        cleanup
      mysql-test/r/select.result:
        Fix because of table lists now always has a database argument.
      mysql-test/r/type_datetime.result:
        Test for bug with datetime and where optimization
      mysql-test/r/union.result:
        Updated result
      mysql-test/t/type_datetime.test:
        New test for datetime
      mysql-test/t/union.test:
        More testing of error conditions
      sql/item_sum.cc:
        Remove warnings on Linux Alpha
      sql/item_sum.h:
        Cleanup
      sql/lock.cc:
        Cleaned up global lock handling
      sql/log_event.cc:
        Removed default arguments from declarations (not allowed in cxx)
      sql/mysql_priv.h:
        New prototypes
      sql/mysqld.cc:
        Fix for global locks
      sql/opt_range.cc:
        Cleanup
      sql/share/czech/errmsg.txt:
        New errors
      sql/share/danish/errmsg.txt:
        New errors
      sql/share/dutch/errmsg.txt:
        New errors
      sql/share/english/errmsg.txt:
        New errors
      sql/share/estonian/errmsg.txt:
        New errors
      sql/share/french/errmsg.txt:
        New errors
      sql/share/german/errmsg.txt:
        New errors
      sql/share/greek/errmsg.txt:
        New errors
      sql/share/hungarian/errmsg.txt:
        New errors
      sql/share/italian/errmsg.txt:
        New errors
      sql/share/japanese/errmsg.txt:
        New errors
      sql/share/korean/errmsg.txt:
        New errors
      sql/share/norwegian-ny/errmsg.txt:
        New errors
      sql/share/norwegian/errmsg.txt:
        New errors
      sql/share/polish/errmsg.txt:
        New errors
      sql/share/portuguese/errmsg.txt:
        New errors
      sql/share/romanian/errmsg.txt:
        New errors
      sql/share/russian/errmsg.txt:
        New errors
      sql/share/slovak/errmsg.txt:
        New errors
      sql/share/spanish/errmsg.txt:
        New errors
      sql/share/swedish/errmsg.OLD:
        New errors
      sql/share/swedish/errmsg.txt:
        New errors
      sql/sql_acl.cc:
        Use thd->host_or_ip
      sql/sql_class.cc:
        Use new global lock code
      sql/sql_class.h:
        host_or_ip
      sql/sql_db.cc:
        host_or_ip
      sql/sql_delete.cc:
        Use now global lock code
      sql/sql_lex.h:
        Cleanup of not used states and variables
      sql/sql_parse.cc:
        Use now global locks.
        Made UNION code more general.
        Change to use thd->hosts_or_ip.
        TABLE_LIST now always has 'db' set.
      sql/sql_repl.cc:
        Portability fixes.
        Changed wrong usage of my_vsnprintf -> my_snprintf
      sql/sql_select.cc:
        Changes for UNION
      sql/sql_show.cc:
        Cleanup
      sql/sql_union.cc:
        Handle 'select_result' outside of mysql_union().
      sql/sql_yacc.yy:
        Fixes for union
      2e1b37af
  34. 02 Aug, 2001 1 commit
    • unknown's avatar
      Fix UNION · c22138ba
      unknown authored
      New faster list iterators
      Change list code to be simpler and faster
      Optimize count(distinct)
      New error messages for UNION
      Make create_tmp_table more general to be usable by UNION
      
      
      Docs/manual.texi:
        Changelog
      include/mysqld_error.h:
        Add new error messages needed for UNION
      mysql-test/r/union.result:
        New tests for UNION
      mysql-test/t/analyse.test:
        Add missing drop table
      mysql-test/t/union.test:
        new tests for UNION
      sql/Makefile.am:
        Change name of sql_unions.cc to sql_union.cc
      sql/item.cc:
        Use List_iterator_fast
      sql/item_cmpfunc.cc:
        Use List_iterator_fast
      sql/item_func.cc:
        Use List_iterator_fast
      sql/item_sum.cc:
        Use List_iterator_fast
        Optimize count(distinct)
        Cleanup of indentation and comments
      sql/item_sum.h:
        Optimize count(distinct)
      sql/key.cc:
        Use List_iterator_fast
      sql/mysql_priv.h:
        Add new option bits
      sql/opt_sum.cc:
        Use List_iterator_fast
      sql/share/Makefile.am:
        Add 'fix_errors' label
      sql/share/czech/errmsg.txt:
        Add new error messages needed for UNION
      sql/share/danish/errmsg.txt:
        Add new error messages needed for UNION
      sql/share/dutch/errmsg.txt:
        Add new error messages needed for UNION
      sql/share/english/errmsg.txt:
        Add new error messages needed for UNION
      sql/share/estonian/errmsg.txt:
        Add new error messages needed for UNION
      sql/share/french/errmsg.txt:
        Add new error messages needed for UNION
      sql/share/german/errmsg.txt:
        Add new error messages needed for UNION
      sql/share/greek/errmsg.txt:
        Add new error messages needed for UNION
      sql/share/hungarian/errmsg.txt:
        Add new error messages needed for UNION
      sql/share/italian/errmsg.txt:
        Add new error messages needed for UNION
      sql/share/japanese/errmsg.txt:
        Add new error messages needed for UNION
      sql/share/korean/errmsg.txt:
        Add new error messages needed for UNION
      sql/share/norwegian-ny/errmsg.txt:
        Add new error messages needed for UNION
      sql/share/norwegian/errmsg.txt:
        Add new error messages needed for UNION
      sql/share/polish/errmsg.txt:
        Add new error messages needed for UNION
      sql/share/portuguese/errmsg.txt:
        Add new error messages needed for UNION
      sql/share/romanian/errmsg.txt:
        Add new error messages needed for UNION
      sql/share/russian/errmsg.txt:
        Add new error messages needed for UNION
      sql/share/slovak/errmsg.txt:
        Add new error messages needed for UNION
      sql/share/spanish/errmsg.txt:
        Add new error messages needed for UNION
      sql/share/swedish/errmsg.txt:
        Add new error messages needed for UNION
      sql/sql_analyse.cc:
        Use List_iterator_fast
      sql/sql_base.cc:
        Use List_iterator_fast
        Add new argument to setup_fields
      sql/sql_class.cc:
        Use List_iterator_fast
      sql/sql_class.h:
        Create new class for UNION
      sql/sql_handler.cc:
        Use List_iterator_fast
      sql/sql_insert.cc:
        Use List_iterator_fast
      sql/sql_lex.h:
        Cleanup
      sql/sql_list.cc:
        Faster iteration of lists
      sql/sql_list.h:
        Faster iterations of lists
      sql/sql_load.cc:
        Use List_iterator_fast
      sql/sql_parse.cc:
        Fix UNION code
      sql/sql_select.cc:
        Use List_iterator_fast
        Make create_tmp_table more general to be usable by UNION
      sql/sql_select.h:
        Changes to speed up copy_fields()
      sql/sql_show.cc:
        Use List_iterator_fast
      sql/sql_table.cc:
        Use List_iterator_fast
      sql/sql_union.cc:
        Fix UNION code
      sql/sql_update.cc:
        Use List_iterator_fast
      sql/sql_yacc.yy:
        Fix UNION code
      c22138ba
  35. 22 Jun, 2001 1 commit
    • unknown's avatar
      merged new 3.23 errors · de0b2af7
      unknown authored
      fixed bugs in log seq - now starting to look good
      fixes for SHOW BINLOG EVENTS
      will push this one
      
      
      include/mysqld_error.h:
        merged errors from 3.23
      mysql-test/mysql-test-run.sh:
        wrong quotes in --skip-test
      mysql-test/r/drop.result:
        updated test
      mysql-test/r/rpl_log.result:
        updated test
      mysql-test/t/drop.test:
        updated test
      mysql-test/t/rpl_log.test:
        fixed bugs in test case
      sql/item_sum.h:
        remove compiler warning about re-ordered initialization
      sql/log.cc:
        fixed a bunch of loq_seq bugs
      sql/log_event.cc:
        fixed log seq bugs, added info for Slave event in SHOW BINLOG EVENTS
      sql/share/czech/errmsg.txt:
        merged errors from 3.23
      sql/share/danish/errmsg.txt:
        merged errors from 3.23
      sql/share/dutch/errmsg.txt:
        merged errors from 3.23
      sql/share/english/errmsg.txt:
        merged errors from 3.23
      sql/share/estonian/errmsg.txt:
        merged errors from 3.23
      sql/share/french/errmsg.txt:
        merged errors from 3.23
      sql/share/german/errmsg.txt:
        merged errors from 3.23
      sql/share/greek/errmsg.txt:
        merged errors from 3.23
      sql/share/hungarian/errmsg.txt:
        merged errors from 3.23
      sql/share/italian/errmsg.txt:
        merged errors from 3.23
      sql/share/japanese/errmsg.txt:
        merged errors from 3.23
      sql/share/korean/errmsg.txt:
        merged errors from 3.23
      sql/share/norwegian-ny/errmsg.txt:
        merged errors from 3.23
      sql/share/norwegian/errmsg.txt:
        merged errors from 3.23
      sql/share/polish/errmsg.txt:
        merged errors from 3.23
      sql/share/portuguese/errmsg.txt:
        merged errors from 3.23
      sql/share/romanian/errmsg.txt:
        merged errors from 3.23
      sql/share/russian/errmsg.txt:
        merged errors from 3.23
      sql/share/slovak/errmsg.txt:
        merged errors from 3.23
      sql/share/spanish/errmsg.txt:
        merged errors from 3.23
      sql/share/swedish/errmsg.txt:
        merged errors from 3.23
      sql/slave.cc:
        fixed log_seq bugs
      de0b2af7
  36. 19 Jun, 2001 1 commit
    • unknown's avatar
      Fixed bug in mysqlcheck when using --fast · 6f6c95ef
      unknown authored
      Fixed problem when converting bigint to double.
      Fixed bug in count(distinct null)
      Fixed bug with empty BDB tables.
      
      
      BitKeeper/deleted/.del-ATIS-mysql-Linux_2.4.0_64GB_SMP_i686-cmp-mysql,pg~dd306b2e583ebde4:
        Delete: sql-bench/Results/ATIS-mysql-Linux_2.4.0_64GB_SMP_i686-cmp-mysql,pg
      BitKeeper/deleted/.del-RUN-mysql-Linux_2.4.0_64GB_SMP_i686-cmp-mysql,pg~11038a44f73070e7:
        Delete: sql-bench/Results/RUN-mysql-Linux_2.4.0_64GB_SMP_i686-cmp-mysql,pg
      BitKeeper/deleted/.del-alter-table-mysql-Linux_2.4.0_64GB_SMP_i686-cmp-mysql,pg~662b96bc66bc91b6:
        Delete: sql-bench/Results/alter-table-mysql-Linux_2.4.0_64GB_SMP_i686-cmp-mysql,pg
      BitKeeper/deleted/.del-big-tables-mysql-Linux_2.4.0_64GB_SMP_i686-cmp-mysql,pg~788ad492867b1226:
        Delete: sql-bench/Results/big-tables-mysql-Linux_2.4.0_64GB_SMP_i686-cmp-mysql,pg
      BitKeeper/deleted/.del-connect-mysql-Linux_2.4.0_64GB_SMP_i686-cmp-mysql,pg~5316add301edb60:
        Delete: sql-bench/Results/connect-mysql-Linux_2.4.0_64GB_SMP_i686-cmp-mysql,pg
      BitKeeper/deleted/.del-create-mysql-Linux_2.4.0_64GB_SMP_i686-cmp-mysql,pg~26e09af61f88d8c9:
        Delete: sql-bench/Results/create-mysql-Linux_2.4.0_64GB_SMP_i686-cmp-mysql,pg
      BitKeeper/deleted/.del-insert-mysql-Linux_2.4.0_64GB_SMP_i686-cmp-mysql,pg~fd2699adb3190d07:
        Delete: sql-bench/Results/insert-mysql-Linux_2.4.0_64GB_SMP_i686-cmp-mysql,pg
      BitKeeper/deleted/.del-select-mysql-Linux_2.4.0_64GB_SMP_i686-cmp-mysql,pg~b01175ad38fd12b6:
        Delete: sql-bench/Results/select-mysql-Linux_2.4.0_64GB_SMP_i686-cmp-mysql,pg
      BitKeeper/deleted/.del-wisconsin-mysql-Linux_2.4.0_64GB_SMP_i686-cmp-mysql,pg~8ba598d217450157:
        Delete: sql-bench/Results/wisconsin-mysql-Linux_2.4.0_64GB_SMP_i686-cmp-mysql,pg
      Docs/manual.texi:
        Changelog + update to Linux section
      client/mysqlcheck.c:
        Fixed bug when using --fast
        --check --auto-repair --fast will not anymore repair tables that
        had warnings but where ok.
      mysql-test/r/bdb.result:
        New test case
      mysql-test/r/bigint.result:
        New test case
      mysql-test/r/count_distinct.result:
        New test case
      mysql-test/t/bdb.test:
        New test case
      mysql-test/t/bigint.test:
        New test case
      mysql-test/t/count_distinct.test:
        New test case
      sql-bench/Comments/postgres.benchmark:
        Update for PostgreSQL 7.1.2
      sql-bench/graph-compare-results.sh:
        Fixed colors for mysql --fast tests
      sql/field.cc:
        Fixed problem when converting bigint to double.
      sql/item_sum.cc:
        Fixed bug in count(distinct null)
      sql/item_sum.h:
        Fixed bug in count(distinct null)
      sql/mysqlbinlog.cc:
        Fixed typo
      sql/sql_base.cc:
        cleanup
      sql/sql_select.cc:
        Fixed bug with empty BDB tables.
      sql/time.cc:
        Removed warning when reading timestamps with sub seconds.
      6f6c95ef
  37. 30 May, 2001 1 commit
    • unknown's avatar
      count(distinct) cleanup · f6a79da6
      unknown authored
      mysql-test/t/count_distinct2.test:
        make default NULL in tree->MyISAM test to make sure restore_record()
        does not give a bad surprise
      sql/item_sum.cc:
        cleanup according to Monty's suggestions
      sql/item_sum.h:
        cleanup according to Monty's suggestions
      f6a79da6
  38. 24 May, 2001 1 commit
    • unknown's avatar
      handle tree overflow in count(distinct) · 0270550e
      unknown authored
      test heap table/tree overflow in count(distinct)
      
      
      mysql-test/r/count_distinct2.result:
        added test for tree/heap table overflow
      mysql-test/t/count_distinct2.test:
        test tree/heap table overflow
      sql/item_sum.cc:
        handle tree overflow in count(distinct)
      sql/item_sum.h:
        t
      0270550e