An error occurred fetching the project authors.
  1. 28 Nov, 2003 1 commit
  2. 11 Oct, 2003 1 commit
    • unknown's avatar
      Add new user variables for tuning memory usage: · 74ea4594
      unknown authored
      query_alloc_block_size, query_prealloc_size, range_alloc_block_size,transaction_alloc_block_size and transaction_prealloc_size
      Add more checks for "out of memory" detection in range optimization
      
      
      configure.in:
        Added detection of mallinfo
      mysql-test/r/variables.result:
        Test of new variables
      mysql-test/t/variables.test:
        Test of new variables
      sql/ha_berkeley.cc:
        Use init_sql_alloc instead of init_alloc_root for better OOM detection
      sql/log_event.cc:
        Add new user variables for tuning memory usage
      sql/mysql_priv.h:
        Add new user variables for tuning memory usage
      sql/mysqld.cc:
        Add new user variables for tuning memory usage
      sql/opt_ft.cc:
        Add new user variables for tuning memory usage
      sql/opt_ft.h:
        Add new user variables for tuning memory usage
      sql/opt_range.cc:
        Add new user variables for tuning memory usage
        Add more checks for out of memory conditions
      sql/opt_range.h:
        Add new user variables for tuning memory usage
      sql/set_var.cc:
        Add new user variables for tuning memory usage
      sql/sql_acl.cc:
        Add new user variables for tuning memory usage
      sql/sql_class.h:
        Add new user variables for tuning memory usage
      sql/sql_delete.cc:
        Add new user variables for tuning memory usage
      sql/sql_parse.cc:
        Add new user variables for tuning memory usage
      sql/sql_select.cc:
        Add new user variables for tuning memory usage
      sql/sql_test.cc:
        Add information about memory useage if system supports mallinfo()
      sql/sql_udf.cc:
        Add new user variables for tuning memory usage
      sql/sql_update.cc:
        Add new user variables for tuning memory usage
      sql/table.cc:
        Add new user variables for tuning memory usage
      74ea4594
  3. 03 Sep, 2003 1 commit
  4. 28 Aug, 2003 1 commit
  5. 15 Aug, 2003 1 commit
    • unknown's avatar
      Cleanups to recent patches · ccd82890
      unknown authored
      Fix packet error when using wrong GRANT command
      
      
      include/config-win.h:
        Changed back to test for HAVE_SETFILEPOINTER instead of operating system
      mysql-test/r/grant.result:
        Extra test to catch wrong packet bug
      mysql-test/t/grant.test:
        Extra test to catch wrong packet bug
      mysys/my_chsize.c:
        Cleanup
      sql/opt_range.cc:
        Fix to recent BETWEEN patch
      sql/sql_acl.cc:
        Fix packet error when using wrong GRANT command
      sql/sql_select.cc:
        Cleanups
        Added not critical out-of-memory check
      ccd82890
  6. 08 Aug, 2003 1 commit
  7. 01 Jul, 2003 1 commit
    • unknown's avatar
      Optimized old patches · 23a9a580
      unknown authored
      Don't set field to DEFAULT value when set to NULL
      
      
      mysql-test/r/insert.result:
        Updated results after patch
      sql/field_conv.cc:
        Revert patch: Don't set field to DEFAULT value when set to NULL
      sql/item_strfunc.cc:
        Optimized patch for null handling with elt
      sql/opt_range.cc:
        Safety fix for range with null patch
      23a9a580
  8. 26 Jun, 2003 1 commit
  9. 23 Apr, 2003 1 commit
    • unknown's avatar
      Fixes for valgrind · 70324868
      unknown authored
      Added optimzation for clustered index
      Fixed bug in UPDATE ... ORDER BY
      Fixed handling of UPDATE ... LIMIT
      
      
      BitKeeper/deleted/.del-.cvsignore~7e29af89a3559f4c:
        Delete: Images/.cvsignore
      BitKeeper/deleted/.del-README~d5a4e7ca3a2e87a9:
        Delete: repl-tests/README
      BitKeeper/deleted/.del-run-all-tests~4deb6479a13e4568:
        Delete: repl-tests/run-all-tests
      BitKeeper/deleted/.del-run.test~3dc5b9bd1e9feea5:
        Delete: repl-tests/test-repl-alter/run.test
      BitKeeper/deleted/.del-run.test~4020771cff278f14:
        Delete: repl-tests/test-bad-query/run.test
      BitKeeper/deleted/.del-run.test~452f2b66537404a8:
        Delete: repl-tests/test-dump/run.test
      BitKeeper/deleted/.del-run.test~b1f0c1f96554df8:
        Delete: repl-tests/test-auto-inc/run.test
      BitKeeper/deleted/.del-table-dump-check.master~e13afeb8c79264b5:
        Delete: repl-tests/test-dump/table-dump-check.master
      BitKeeper/deleted/.del-table-dump-select.master~744acb955e33f3db:
        Delete: repl-tests/test-dump/table-dump-select.master
      BitKeeper/deleted/.del-x.master~29a93ed7956c8693:
        Delete: repl-tests/test-auto-inc/x.master
      BitKeeper/deleted/.del-x.master~3b248cbac9abda2b:
        Delete: repl-tests/test-bad-query/x.master
      BitKeeper/deleted/.del-foo-dump-master.master~b49ae6bec1e918ee:
        Delete: repl-tests/test-repl/foo-dump-master.master
      BitKeeper/deleted/.del-foo-dump-slave.master~f16ed20457d59be9:
        Delete: repl-tests/test-repl/foo-dump-slave.master
      BitKeeper/deleted/.del-repl-timestamp.master.reject~3492d2b74b413771:
        Delete: repl-tests/test-repl-ts/repl-timestamp.master.reject
      BitKeeper/deleted/.del-repl-timestamp.master~4b7782da5cc13161:
        Delete: repl-tests/test-repl-ts/repl-timestamp.master
      BitKeeper/deleted/.del-run.test~a1e32ea1e4253af4:
        Delete: repl-tests/test-repl/run.test
      BitKeeper/deleted/.del-run.test~ce5e626c91b760ec:
        Delete: repl-tests/test-repl-ts/run.test
      BitKeeper/deleted/.del-sum-wlen-master.master~1a5ea625c79e978:
        Delete: repl-tests/test-repl/sum-wlen-master.master
      BitKeeper/deleted/.del-sum-wlen-slave.master~f016d98833433084:
        Delete: repl-tests/test-repl/sum-wlen-slave.master
      BitKeeper/deleted/.del-test.master~5829e7b3770179db:
        Delete: repl-tests/test-repl-alter/test.master
      BitKeeper/deleted/.del-master-slave.inc~6775f6ae10137c39:
        Delete: repl-tests/include/master-slave.inc
      include/my_global.h:
        Fix for purify/valgrind
      myisam/mi_info.c:
        Updated comment
      mysql-test/r/group_by.result:
        New test results
      mysql-test/r/innodb.result:
        New test results
      mysql-test/r/join_outer.result:
        New test results
      mysql-test/r/multi_update.result:
        New test results
      mysql-test/r/null_key.result:
        New test results
      mysql-test/r/update.result:
        New test results
      mysql-test/t/group_by.test:
        Added extra explain to 'suspicious' test.
      mysql-test/t/innodb.test:
        Added test for UPDATE ... ORDER BY
      mysql-test/t/join_outer.test:
        Changed test to be repeatable
      mysql-test/t/multi_update.test:
        Slight change of test to catch more bugs
      mysql-test/t/update.test:
        Better test for UPDATE ... ORDER BY
      sql/field.cc:
        Simple optimization
      sql/ha_heap.h:
        Added optimzation for clustered index
      sql/ha_innodb.cc:
        Added optimzation for clustered index
      sql/ha_innodb.h:
        Added optimzation for clustered index
      sql/handler.h:
        Added optimzation for clustered index
      sql/item_sum.cc:
        Removed some usage of current_thd
      sql/mysqld.cc:
        Fix bug when compiling for purify/valgrind
      sql/opt_range.cc:
        Added optimzation for clustered index
      sql/records.cc:
        Fixed comment
      sql/sql_list.h:
        Fixed comment
      sql/sql_select.cc:
        Removed some usage of current_thd
      sql/sql_select.h:
        Removed some usage of current_thd
      sql/sql_union.cc:
        Removed some usage of current_thd
      sql/sql_update.cc:
        Fixed bug in UPDATE ... ORDER BY
        Fixed handling of UPDATE ... LIMIT
      support-files/my-huge.cnf.sh:
        Added default size for query cache
      support-files/my-large.cnf.sh:
        Added default size for query cache
      70324868
  10. 07 Mar, 2003 1 commit
  11. 09 Feb, 2003 1 commit
  12. 07 Feb, 2003 1 commit
    • unknown's avatar
      Fix problem in MIN/MAX optimisation (from last patch) · 5db7246f
      unknown authored
      Don't make OLD_PASSWORD() a reserved word
      
      
      mysql-test/r/explain.result:
        Test select count(*)
      mysql-test/r/func_crypt.result:
        Test old_password()
      mysql-test/t/explain.test:
        Test select count(*)
      mysql-test/t/func_crypt.test:
        Test old_password()
      sql/item_create.cc:
        Don't make OLD_PASSWORD() a reserved word
      sql/item_create.h:
        Don't make OLD_PASSWORD() a reserved word
      sql/lex.h:
        Don't make OLD_PASSWORD() a reserved word
      sql/opt_range.cc:
        Remove blank space
      sql/opt_sum.cc:
        Fix problem in MIN/MAX optimisation
      5db7246f
  13. 06 Feb, 2003 1 commit
    • unknown's avatar
      Added START TRANSACTION syntax · dacf7f8f
      unknown authored
      Added ALL as parameter option for all group functions.
      Make join handling uniform. This allows us to use ',', JOIN and INNER JOIN the same way.
      Sort NULL last if DESC is used (ANSI SQL 99 requirement)
      
      
      include/my_global.h:
        Moved LL from mysql_priv (as this is also in config-win.h)
      mysql-test/r/distinct.result:
        Updated results
      mysql-test/r/func_group.result:
        Updated results
      mysql-test/r/innodb.result:
        Updated results
      mysql-test/r/join.result:
        Updated results
      mysql-test/r/order_by.result:
        Updated results
      mysql-test/t/func_group.test:
        Added test for SUM(ALL ...)
      mysql-test/t/innodb.test:
        Added test for START TRANSACTION
      mysql-test/t/join.test:
        Test different join syntaxes
      mysql-test/t/order_by.test:
        Added new test of NULL ordering.
      sql/filesort.cc:
        Sort NULL last if DESC is used
      sql/lex.h:
        Added OLD_PASSWORD() as synonym for PASSWORD.
      sql/mysql_priv.h:
        Removed LL()
      sql/opt_range.cc:
        Sort NULL last if DESC is used
      sql/opt_range.h:
        Sort NULL last if DESC is used
      sql/slave.cc:
        Indentation changes
      sql/sql_parse.cc:
        After merge fix
      sql/sql_select.cc:
        Added comment
      sql/sql_yacc.yy:
        Added START TRANSACTION syntax
        Added ALL as parameter option for all group functions.
        Make join handling uniform.
      dacf7f8f
  14. 09 Jan, 2003 1 commit
    • unknown's avatar
      Don't count NULL values in cardinalty for MyISAM tables. · b5e37b24
      unknown authored
      Free row buffer cache after each query for MyISAM tables.
      Added table join option FORCE INDEX
      Fixed core dump bug when connecting with hostname that could not be resolved.
      
      
      include/my_base.h:
        Don't count NULL values in cardinalty
      myisam/mi_check.c:
        Don't count NULL values in cardinalty
      myisam/mi_extra.c:
        Free row buffer cache after each query
      myisam/mi_open.c:
        Avoid realloc if cache size doesn't change
      myisam/mi_search.c:
        Don't count NULL values in cardinalty
      myisam/myisamdef.h:
        Change buffer length from uint to uint32 to make it more portable/predictable
      mysql-test/r/myisam.result:
        Test case for cardinality with NULL keys and FORCE INDEX
      mysql-test/t/myisam.test:
        Test case for cardinality with NULL keys and FORCE INDEX
      sql/lex.h:
        Added table join option FORCE INDEX
      sql/mysql_priv.h:
        Added table join option FORCE INDEX
      sql/opt_range.cc:
        Added table join option FORCE INDEX
      sql/sql_base.cc:
        Added table join option FORCE INDEX
      sql/sql_lex.h:
        Added table join option FORCE INDEX
      sql/sql_parse.cc:
        Added table join option FORCE INDEX
        Don't use strlen() on hostname without first checking if it's not NULL
      sql/sql_select.cc:
        Added table join option FORCE INDEX
      sql/sql_yacc.yy:
        Added table join option FORCE INDEX
      sql/table.h:
        Added table join option FORCE INDEX
      b5e37b24
  15. 03 Dec, 2002 1 commit
    • unknown's avatar
      Change of internal key_field=NULL handling to avoid error messages. · 80b143c1
      unknown authored
      Optimized SELECT DISTINCT ... ORDER BY ... LIMIT
      Fixed reference to uninitalized variable
      
      
      mysql-test/r/distinct.result:
        Updated results for new tests
      mysql-test/r/func_math.result:
        Fixed test of RND()
      mysql-test/r/innodb.result:
        Updated results for new tests
      mysql-test/r/null.result:
        Updated results for new tests
      mysql-test/t/distinct.test:
        New distinct test
      mysql-test/t/func_math.test:
        Fixed test of RND()
      mysql-test/t/innodb.test:
        Test for bugs
      mysql-test/t/null.test:
        TEst for bugs
      sql/field.h:
        Change of NULL handling to avoid error messages
      sql/field_conv.cc:
        Change of NULL handling to avoid error messages
      sql/item.cc:
        Change of NULL handling to avoid error messages
      sql/item.h:
        Change of NULL handling to avoid error messages
      sql/item_cmpfunc.cc:
        Change of NULL handling to avoid error messages
      sql/item_func.cc:
        Change of NULL handling to avoid error messages
      sql/item_func.h:
        Cleaned up RND() handling
      sql/item_timefunc.cc:
        Change of NULL handling to avoid error messages
      sql/item_timefunc.h:
        Change of NULL handling to avoid error messages
      sql/opt_range.cc:
        Fixed bug in <=> NULL
      sql/password.c:
        Indentation cleanup
      sql/sql_base.cc:
        Change of NULL handling to avoid error messages
      sql/sql_class.cc:
        Fixed reference to uninitalized variable
      sql/sql_handler.cc:
        Change of NULL handling to avoid error messages
      sql/sql_select.cc:
        Change of NULL handling to avoid error messages
        Optimized SELECT DISTINCT ... ORDER BY ... LIMIT
      sql/sql_select.h:
        Change of NULL handling to avoid error messages
      sql/unireg.cc:
        Change of NULL handling to avoid error messages
      80b143c1
  16. 02 Dec, 2002 1 commit
  17. 22 Nov, 2002 2 commits
    • unknown's avatar
      reverting a change · 89083f2d
      unknown authored
      89083f2d
    • unknown's avatar
      Fixed bug with indexed NULL column <=> NULL · cb5a2b2f
      unknown authored
      Fix for Mac OS X shutdown
      
      
      mysql-test/mysql-test-run.sh:
        Log client error messages
      mysql-test/r/null_key.result:
        Test for bug in <=> NULL
      mysql-test/t/null_key.test:
        Test for bug in <=> NULL
      sql/mysqld.cc:
        Fix for Mac OS X shutdown
      sql/opt_range.cc:
        Fixed bug with indexed NULL column <=> NULL
      cb5a2b2f
  18. 21 Nov, 2002 1 commit
  19. 11 Nov, 2002 1 commit
  20. 07 Nov, 2002 1 commit
    • unknown's avatar
      Portability fixes for Fortre C++ 5.0 (on Sun) in 32 and 64 bit modes. · c88b9102
      unknown authored
      client/mysqlbinlog.cc:
        Portability fix
      configure.in:
        Added use of ASFLAGS (For Solaris with Forte 5.0)
      include/my_global.h:
        Portability fix
      include/myisam.h:
        Portability fix
      include/queues.h:
        Portability fix
      innobase/include/ut0ut.h:
        Portability fix
      innobase/log/log0log.c:
        Portability fix
      innobase/rem/rem0cmp.c:
        Portability fix
      innobase/trx/trx0sys.c:
        Portability fix
      isam/pack_isam.c:
        Portability fix
      myisam/ft_boolean_search.c:
        Portability fix
      myisam/mi_dynrec.c:
        Code change to go around bug in Forte 5.0
      myisam/sort.c:
        Portability fix
      mysys/my_aes.c:
        Portability fix
      scripts/Makefile.am:
        Support for ASFLAGS
      scripts/mysqlbug.sh:
        Support for ASFLAGS
      sql/field.cc:
        Portability fix
      sql/filesort.cc:
        Portability fix
      sql/gen_lex_hash.cc:
        Portability fix
      sql/ha_innodb.cc:
        Portability fix
        Changed SHOW INNODB STATUS to return error instead of writing message to log file.
      sql/ha_isammrg.cc:
        Portability fix
      sql/ha_myisam.cc:
        Portability fix
      sql/ha_myisammrg.cc:
        Portability fix
      sql/hash_filo.h:
        Portability fix
      sql/hostname.cc:
        Portability fix
      sql/item_cmpfunc.h:
        Indentation change
      sql/item_func.cc:
        Portability fix
      sql/item_func.h:
        Portability fix
      sql/log.cc:
        Portability fix
      sql/log_event.cc:
        Portability fix
      sql/mysql_priv.h:
        Portability fix
      sql/mysqld.cc:
        Portability fix
        Fixed bug with rpl_recovery_rank command line option on 64 bit systems
      sql/opt_range.cc:
        Portability fix
      sql/repl_failsafe.cc:
        Portability fix
      sql/slave.cc:
        Portability fix
      sql/slave.h:
        Portability fix
      sql/sql_acl.cc:
        Portability fix
      sql/sql_base.cc:
        Portability fix
      sql/sql_cache.cc:
        Portability fix
      sql/sql_cache.h:
        Portability fix
      sql/sql_class.cc:
        Portability fix
      sql/sql_delete.cc:
        Portability fix
      sql/sql_insert.cc:
        Portability fix
      sql/sql_manager.cc:
        Portability fix
      sql/sql_parse.cc:
        Portability fix
      BUILD/compile-solaris-sparc-forte:
        C
      sql/sql_udf.cc:
        Portability fix
      sql/sql_update.cc:
        Portability fix
      strings/Makefile.am:
        Portability fix
      strings/bmove_upp-sparc.s:
        Fix so that this works on 32 and 64 bit sparcs
      strings/str_test.c:
        Cleanup
      strings/strappend-sparc.s:
        Fix so that this works on 32 and 64 bit sparcs
      strings/strend-sparc.s:
        Fix so that this works on 32 and 64 bit sparcs
      strings/strmake-sparc.s:
        Fix so that this works on 32 and 64 bit sparcs
      strings/strmov-sparc.s:
        Fix so that this works on 32 and 64 bit sparcs
      strings/strnmov-sparc.s:
        Fix so that this works on 32 and 64 bit sparcs
      strings/strstr-sparc.s:
        Fix so that this works on 32 and 64 bit sparcs
      strings/strxmov-sparc.s:
        Fixes to make this more portable, but it's still not usable on 64 bit systems :(
      BitKeeper/etc/logging_ok:
        Logging to logging@openlogging.org accepted
      c88b9102
  21. 05 Nov, 2002 1 commit
    • unknown's avatar
      DBUG_ENTER/RETURN tags added · 7675eafe
      unknown authored
      perl script to tag all the functions in a C/C++ file automatically
      
      
      sql/opt_range.cc:
        DBUG_ENTER/RETURN tags added
      sql/sql_select.cc:
        DBUG_ENTER/RETURN tags added
      7675eafe
  22. 11 Sep, 2002 1 commit
    • unknown's avatar
      opt_range.cc: · f3d5cb8b
      unknown authored
        Fix the crash in InnoDB when WHERE primarykey < x ORDER BY primarykey is used
      
      
      sql/opt_range.cc:
        Fix the crash in InnoDB when WHERE primarykey < x ORDER BY primarykey is used
      f3d5cb8b
  23. 17 Aug, 2002 1 commit
    • unknown's avatar
      Fixed bug in SAFEMALLOC for systems that requires longlong data to be aligned... · 4ed42792
      unknown authored
      Fixed bug in SAFEMALLOC for systems that requires longlong data to be aligned on 8 byte boundaries (like sparc)
      Removed thread marking of safemalloc blocks (becasue of alignment problems)
      Temporary fix for bigint comparison.
      
      
      configure.in:
        Added size checking of char*
      BitKeeper/etc/ignore:
        Added sql-bench/innotest1 sql-bench/innotest1a sql-bench/innotest1b sql-bench/innotest2 sql-bench/innotest2a sql-bench/innotest2b to the ignore list
      mysql-test/r/select.result:
        Cleaned up test
      mysql-test/t/select.test:
        Cleaned up test
      mysys/my_static.h:
        Fixed bug in SAFEMALLOC for systems that requires longlong data to be aligned on 8 byte boundaries (like sparc)
      mysys/safemalloc.c:
        Fixed bug in SAFEMALLOC for systems that requires longlong data to be aligned on 8 byte boundaries (like sparc)
      sql/field.h:
        Temporary fix for bigint comparison.
      sql/gen_lex_hash.cc:
        Smaller hash table
      sql/item_cmpfunc.cc:
        Cleanup
      sql/mysqld.cc:
        Removed thread marking of safemalloc blocks (becasue of alignment problems)
      sql/opt_range.cc:
        Comment
      4ed42792
  24. 27 Jun, 2002 1 commit
    • unknown's avatar
      Removed mysql_ssl_clear() · 835a75c9
      unknown authored
      Added statistics information for alarms (for bug tracking)
      Don't store "incomplete" in the xxx.cfg file if we are not using --restart. (Crash-me)
      Enlarged STACK_BUF_ALLOC becasue of failed crash-me test
      Aded new script mysql_tableinfo to make a system directory.
      
      
      Docs/manual.texi:
        Changelog and TODO
      include/mysql.h:
        Removed mysql_ssl_clear() (One should use mysql_close() instead)
      include/thr_alarm.h:
        Added info for alarms
      libmysql/libmysql.c:
        Made mysql_ssl_clear() static
      libmysql/libmysql.def:
        cleanup
      libmysqld/libmysqld.def:
        cleanup
      myisam/myisamchk.c:
        describe -> description
      myisam/myisampack.c:
        Fixed copyright.
      mysys/thr_alarm.c:
        Added statistics information for alarms (for bug tracking)
      scripts/Makefile.am:
        Added mysql_table_info
      sql-bench/crash-me.sh:
        Don't store "incomplete" in the xxx.cfg file if we are not using --restart.
        This was done becasue "incomplete" made it harder to quickly repeat a test that
        failed.
      sql-bench/limits/mysql.cfg:
        Update to 1.58
      sql/hostname.cc:
        Remved compiler warning
      sql/item_func.cc:
        cleanup
      sql/item_func.h:
        Cleanup
      sql/mysql_priv.h:
        Enlarged STACK_BUF_ALLOC becasue of failed crash-me test
      sql/opt_range.cc:
        Removed purify warning
      sql/sql_parse.cc:
        cleanup
      sql/sql_test.cc:
        Added ala
      835a75c9
  25. 18 Jun, 2002 1 commit
    • unknown's avatar
      Made keyread (key scanning) a key specific attribute. · 518787c2
      unknown authored
      This avoids using fulltext keys for table scanning.
      This also reverts Sinisa's original fix for this problem.
      
      
      Docs/manual.texi:
        Update of SQL_JOIN_MAX_SIZE information3602
      client/mysqldump.c:
        comment cleanup
      include/my_aes.h:
        General cleanup for new file
      include/rijndael.h:
        General cleanup for new file
      include/sha1.h:
        General cleanup for new file
      mysys/my_aes.c:
        General cleanup for new file
      mysys/rijndael.c:
        General cleanup for new file
      mysys/sha1.c:
        General cleanup for new file
      sql/ha_berkeley.h:
        Made keyread (key scanning) a key specific attribute.
      sql/ha_innodb.cc:
        Merge with 3.23.x
      sql/ha_innodb.h:
        Made keyread (key scanning) a key specific attribute.
      sql/ha_isam.cc:
        Moved things to table_flags()
      sql/ha_isam.h:
        Made keyread (key scanning) a key specific attribute.
      sql/ha_myisam.cc:
        Made keyread (key scanning) a key specific attribute.
      sql/ha_myisam.h:
        Made keyread (key scanning) a key specific attribute.
      sql/ha_myisammrg.h:
        Made keyread (key scanning) a key specific attribute.
      sql/handler.h:
        Made keyread (key scanning) a key specific attribute.
      sql/item_strfunc.cc:
        Cleanup of AES_xxx code
      sql/opt_range.cc:
        Made keyread (key scanning) a key specific attribute.
      sql/sql_base.cc:
        Made keyread (key scanning) a key specific attribute.
      sql/sql_cache.cc:
        Removed compiler warning
      sql/sql_select.cc:
        Removed wrong patch to fulltext problem
      sql/table.cc:
        Made keyread (key scanning) a key specific attribute.
      sql/table.h:
        Made keyread (key scanning) a key specific attribute.
      518787c2
  26. 17 Jun, 2002 2 commits
  27. 15 Jun, 2002 1 commit
    • unknown's avatar
      A fix for a bug which hits the optimiser when trying to group keys · 451a5e51
      unknown authored
      for a seemingly impoosbile conds in WHERE....
      
      This crashed MySQL in 4.0.2
      
      
      Docs/manual.texi:
        A fix for a bug which hits the optimiser when trying to group keys
        for a seemingly impoosbile conds in WHERE....
      mysql-test/r/select.result:
        A fix for a bug which hits the optimiser when trying to group keys
        for a seemingly impoosbile conds in WHERE....
      mysql-test/t/select.test:
        A fix for a bug which hits the optimiser when trying to group keys
        for a seemingly impoosbile conds in WHERE....
      sql/opt_range.cc:
        A fix for a bug which hits the optimiser when trying to group keys
        for a seemingly impoosbile conds in WHERE....
      451a5e51
  28. 11 Jun, 2002 1 commit
    • unknown's avatar
      Big code cleanup/review before 4.0.2 release. · 70aa7424
      unknown authored
      (All commit emails since 4.0.1 checked)
      This had to be done now, before the 4.1 tree changes to much, to make it easy to propagate bug fixes to the 4.1 tree.
      
      
      BUILD/SETUP.sh:
        Added -DPEDANTIC_SAFEMALLOC as standard debug option
      Docs/manual.texi:
        Changes for new version.
      client/mysql.cc:
        Fixed default value for rehash
        cleanup
      client/mysqladmin.c:
        Cleanup
      client/mysqlbinlog.cc:
        cleanup
      client/mysqldump.c:
        Cleanup
      client/mysqlmanager-pwgen.c:
        Cleanup
      client/mysqlmanagerc.c:
        Cleanup
      client/mysqltest.c:
        Cleanup
      dbug/dbug.c:
        Cleanup
      extra/resolve_stack_dump.c:
        Cleanup & Simple optimizations
      include/ft_global.h:
        Cleanup
      include/my_alloc.h:
        Cleanup
      include/my_global.h:
        Cleanup
      include/my_sys.h:
        Cleanup
      include/myisam.h:
        Cleanup
      libmysql/libmysql.c:
        Cleanup
      libmysql/manager.c:
        Cleanup
      myisam/ft_boolean_search.c:
        Cleanup
      myisam/ft_dump.c:
        Change strcpy -> strmov
      myisam/ft_eval.c:
        Cleanup
      myisam/ft_nlq_search.c:
        Cleanup
      myisam/ft_test1.c:
        strncpy -> strnmov
      myisam/ft_update.c:
        Cleanup
      myisam/mi_static.c:
        Cleanup
      myisam/mi_test2.c:
        Cleanup
      myisam/mi_write.c:
        Cleanup
      mysys/mf_fn_ext.c:
        Cleanup
      mysys/mf_iocache.c:
        Cleanup
      mysys/mf_iocache2.c:
        Cleanup
      mysys/my_getopt.c:
        Cleanup
      mysys/my_read.c:
        Cleanup
      mysys/my_thr_init.c:
        Cleanup
      mysys/queues.c:
        Cleanup
      mysys/safemalloc.c:
        Cleanup
      sql/field.cc:
        Indentation cleanups
      sql/ha_berkeley.cc:
        Indentation cleanups
      sql/ha_myisam.cc:
        Cleanup
      sql/item.h:
        Indentation cleanups
      sql/item_cmpfunc.cc:
        Indentation cleanups
      sql/item_create.cc:
        cleanup
      sql/item_func.cc:
        Cleanup
      sql/item_func.h:
        Indentation cleanups
      sql/item_strfunc.cc:
        Indentation cleanups
      sql/item_sum.cc:
        Indentation cleanups
      sql/item_timefunc.cc:
        Indentation cleanups
      sql/lock.cc:
        Indentation cleanups
      sql/log.cc:
        Cleanup
        strnmov -> strmake
      sql/log_event.cc:
        Cleanup + optimizations
        Fixed memory leak
        Added missing pthread_mutex_unlock()  (On error condition)
      sql/log_event.h:
        Indentation and comment cleanup
        Merged #ifdef's into common blocks for better readability
      sql/mini_client.cc:
        Indentation cleanup
      sql/mysql_priv.h:
        Cleanup
        Changed int function to bool
      sql/mysqld.cc:
        Indentation and comment cleanup
      sql/net_pkg.cc:
        Indentation cleanup
      sql/net_serv.cc:
        Changed int function -> bool
      sql/nt_servc.cc:
        Cleanup
      sql/opt_range.cc:
        Indentation cleanup
      sql/repl_failsafe.cc:
        Cleanup + simple optimization
        strnmov -> strmake
      sql/slave.cc:
        strnmov -> strmake
        Cleanups
      sql/slave.h:
        Cleanup
      sql/sql_acl.cc:
        Indentation and DBUG_PRINT cleanup
        Changed WITH MAX... to not use =
      sql/sql_base.cc:
        Indentation cleanup
      sql/sql_cache.cc:
        Indentation cleanup
      sql/sql_class.cc:
        Indentation cleanup
      sql/sql_class.h:
        Renamed some struct slots
      sql/sql_delete.cc:
        Indentation cleanup
      sql/sql_handler.cc:
        Indentation cleanup
      sql/sql_insert.cc:
        Use new slot names.
      sql/sql_lex.cc:
        Indentation cleanup
      sql/sql_lex.h:
        Indentation cleanup
      sql/sql_load.cc:
        Indentation cleanup
      sql/sql_parse.cc:
        Indentation cleanup
        Removed not used check from LOCK TABLES
      sql/sql_repl.cc:
        strnmov -> strmake
      sql/sql_repl.h:
        Removed test if file is included (We want to know if it's included twice to avoid this)
      sql/sql_select.cc:
        Indentation cleanup
      sql/sql_show.cc:
        Indentation cleanup
      sql/sql_string.cc:
        Indentation cleanup
      sql/sql_table.cc:
        Indentation cleanup
      sql/sql_union.cc:
        Use renamed struct slot
      sql/sql_update.cc:
        Indentation cleanup
      sql/sql_yacc.yy:
        Removed = after GRANT ... MAX_  to make the syntax uniform
      sql/table.cc:
        Indentation cleanup
      sql/table.h:
        Indentation cleanup
      sql/time.cc:
        Indentation cleanup
      sql/udf_example.cc:
        Indentation cleanup
      sql/unireg.cc:
        strnmov -> strmake
      tests/grant.pl:
        Added test for LOCK TABLES
      tools/mysqlmanager.c:
        Cleanup
        fopen() -> my_fopen()
      vio/viosocket.c:
        DBUG_PRINT cleanups
      vio/viosslfactories.c:
        Indentation cleanup
        Checking of results from malloc()
        Fixed possible memory leak
      BitKeeper/etc/ignore:
        Added scripts/mysql_secure_installation to the ignore list
      BitKeeper/etc/logging_ok:
        Logging to logging@openlogging.org accepted
      70aa7424
  29. 12 Apr, 2002 1 commit
    • unknown's avatar
      Update for BTREE keys in HEAP tables · 6326ec99
      unknown authored
      Split handler->option_flag() to handler->table_flags() and handler->index_flags()
      
      
      Docs/manual.texi:
        Updated standard binary options
      include/my_base.h:
        Update for BTREE keys in HEAP tables
      libmysql/net.c:
        merge with net_serv.cc
      mysql-test/r/func_misc.result:
        Update for new behaviour of inet_ntoa
      sql/field.cc:
        Update for BTREE keys in HEAP tables
      sql/field.h:
        Update for BTREE keys in HEAP tables
      sql/filesort.cc:
        Update for BTREE keys in HEAP tables
      sql/ha_berkeley.h:
        Update for BTREE keys in HEAP tables
      sql/ha_heap.h:
        Update for BTREE keys in HEAP tables
      sql/ha_innodb.h:
        Update for BTREE keys in HEAP tables
      sql/ha_isam.cc:
        Update for BTREE keys in HEAP tables
      sql/ha_isam.h:
        Update for BTREE keys in HEAP tables
      sql/ha_isammrg.h:
        Update for BTREE keys in HEAP tables
      sql/ha_myisam.cc:
        Update for BTREE keys in HEAP tables
      sql/ha_myisam.h:
        Update for BTREE keys in HEAP tables
      sql/ha_myisammrg.h:
        Update for BTREE keys in HEAP tables
      sql/handler.cc:
        Update for BTREE keys in HEAP tables
      sql/handler.h:
        Update for BTREE keys in HEAP tables
      sql/log.cc:
        Update for BTREE keys in HEAP tables
      sql/net_serv.cc:
        Update for BTREE keys in HEAP tables
      sql/opt_range.cc:
        Update for BTREE keys in HEAP tables
      sql/opt_sum.cc:
        Update for BTREE keys in HEAP tables
      sql/records.cc:
        Update for BTREE keys in HEAP tables
      sql/sql_class.h:
        Update for BTREE keys in HEAP tables
      sql/sql_handler.cc:
        Update for BTREE keys in HEAP tables
      sql/sql_insert.cc:
        Update for BTREE keys in HEAP tables
      sql/sql_select.cc:
        Update for BTREE keys in HEAP tables
      sql/sql_show.cc:
        Update for BTREE keys in HEAP tables
      sql/sql_table.cc:
        Update for BTREE keys in HEAP tables
      sql/structs.h:
        Update for BTREE keys in HEAP tables
      sql/table.cc:
        Update for BTREE keys in HEAP tables
      sql/unireg.cc:
        Update for BTREE keys in HEAP tables
      6326ec99
  30. 02 Mar, 2002 1 commit
    • unknown's avatar
      Fix sorting of NULL values (Should always be first) · ad4fcb8a
      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.
      ad4fcb8a
  31. 23 Jan, 2002 1 commit
    • unknown's avatar
      Increase max package length to 512M for mysql and mysqldump. · 7b72c14b
      unknown authored
      Faster 'read_first_row' (Fixes slow 'preparing' state)
      Read constant tables earlier, which provides better optimzations when using tables with <=1 row.
      This also fixes a complicated bug involving const tables.
      
      
      Docs/manual.texi:
        Changelog
      client/mysql.cc:
        Increase max package length to 512M
      client/mysqldump.c:
        Increase max package length to 512M
      dbug/dbug.c:
        Fixed wrong printf() format string.
      mysql-test/t/innodb.test:
        Test for multi-table delete
      sql/handler.cc:
        Faster 'read_first_row' (Fixes slow 'preparing' state)
      sql/handler.h:
        Faster 'read_first_row' (Fixes slow 'preparing' state)
      sql/opt_range.cc:
        More debug info.
      sql/sql_select.cc:
        Read constant tables earlier, which provides better optimzations when using tables with <=1 row.
        This also fixes a complicated bug involving const tables.
      sql/sql_select.h:
        Read const tables earlier
      7b72c14b
  32. 28 Nov, 2001 1 commit
    • unknown's avatar
      New improved IO_CACHE · 06e1e275
      unknown authored
      include/my_global.h:
        Remove dbug_assert()  (One should use DBUG_ASSERT() instead)
      mysql-test/mysql-test-run.sh:
        Fixed that xterm works on Solaris 2.8.
        Fixed printing of errors
      mysql-test/r/isam.result:
        Removed MyISAM test from ISAM test
      mysql-test/t/isam.test:
        Removed MyISAM test from ISAM test
      mysys/my_alloc.c:
        Removed warnings
      mysys/my_bitmap.c:
        Use DBUG_ASSERT
      mysys/my_pthread.c:
        Use DBUG_ASSERT
      mysys/my_seek.c:
        More DBUG
      sql/ha_berkeley.cc:
        Use DBUG_ASSERT
      sql/ha_innobase.cc:
        Use DBUG_ASSERT
      sql/log.cc:
        Use DBUG_ASSERT
      sql/opt_range.cc:
        Use DBUG_ASSERT
      sql/sql_base.cc:
        Use DBUG_ASSERT
      sql/sql_handler.cc:
        Use DBUG_ASSERT
      sql/sql_load.cc:
        Cleanup
      sql/sql_parse.cc:
        Use DBUG_ASSERT
      sql/sql_repl.cc:
        Cleanup
      sql/sql_select.cc:
        Use DBUG_ASSERT
      tools/mysqlmanager.c:
        Cleanup
      06e1e275
  33. 22 Nov, 2001 1 commit
  34. 06 Nov, 2001 1 commit
    • unknown's avatar
      Portability fix · 8547d05c
      unknown authored
      Cleanup typos (like SKIPP -> SKIP)
      
      
      BUILD/compile-alpha-cxx:
        Fix when using InnoDB
      Docs/manual.texi:
        FreeBSD note
      client/mysqlmanager-pwgen.c:
        Portability fix
      include/my_base.h:
        Cleanup typos
      isam/_dynrec.c:
        Cleanup typos
      isam/_packrec.c:
        Cleanup typos
      isam/create.c:
        Cleanup typos
      isam/pack_isam.c:
        Cleanup typos
      isam/test1.c:
        Cleanup typos
      isam/test2.c:
        Cleanup typos
      libmysql/manager.c:
        Portability fix
      myisam/ft_eval.c:
        Cleanup typos
      myisam/ft_test1.c:
        Cleanup typos
      myisam/mi_create.c:
        Cleanup typos
      myisam/mi_dynrec.c:
        Cleanup typos
      myisam/mi_packrec.c:
        Cleanup typos
      myisam/mi_test1.c:
        Cleanup typos
      myisam/mi_test2.c:
        Cleanup typos
      myisam/myisampack.c:
        Cleanup typos
      sql/field.cc:
        Cleanup typos
      sql/field.h:
        Cleanup typos
      sql/filesort.cc:
        Cleanup typos
      sql/gen_lex_hash.cc:
        Cleanup typos
      sql/ha_isam.cc:
        Cleanup typos
      sql/ha_myisam.cc:
        Cleanup typos
      sql/handler.h:
        Cleanup typos
      sql/hash_filo.h:
        Cleanup typos
      sql/item.h:
        Cleanup typos
      sql/item_cmpfunc.cc:
        Cleanup typos
      sql/item_strfunc.cc:
        Cleanup typos
      sql/key.cc:
        Cleanup typos
      sql/mysqld.cc:
        Cleanup typos
      sql/opt_range.cc:
        Cleanup typos
      sql/opt_sum.cc:
        Cleanup typos
      sql/sql_acl.cc:
        Cleanup typos
      sql/sql_class.h:
        Cleanup typos
      sql/sql_insert.cc:
        Cleanup typos
      sql/sql_lex.cc:
        Cleanup typos
      sql/sql_list.h:
        Cleanup typos
      sql/sql_load.cc:
        Cleanup typos
      sql/sql_parse.cc:
        Cleanup typos
      sql/sql_rename.cc:
        Cleanup typos
      sql/sql_select.cc:
        Cleanup typos
      sql/sql_string.cc:
        Cleanup typos
      sql/sql_yacc.yy:
        Fix bug in last changeset
      sql/structs.h:
        Cleanup typos
      sql/table.cc:
        Cleanup typos
      sql/time.cc:
        Cleanup typos
      sql/unireg.h:
        Cleanup typos
      8547d05c
  35. 17 Oct, 2001 1 commit
    • unknown's avatar
      Don't do signal() on windows (Causes instability problems) · aeaf3fcf
      unknown authored
      Safer, a bit faster filesort.
      Code changes to avoid calls to current_thd() (faster code).
      Removed all compiler warnings from readline.
      
      
      BitKeeper/etc/ignore:
        Add my_global.h back.
      Docs/manual.texi:
        4.0.1 Changelog
      include/my_sys.h:
        Added strmake_root
      libmysql/libmysql.c:
        Don't do signal() on windows (Causes instability problems)
      mysys/my_alloc.c:
        Added strmake_root
      readline/bind.c:
        Remove warnings
      readline/complete.c:
        Remove warnings
      readline/display.c:
        Remove warnings
      readline/funmap.c:
        Remove warnings
      readline/histexpand.c:
        Remove warnings
      readline/histfile.c:
        Remove warnings
      readline/history.h:
        Remove warnings
      readline/histsearch.c:
        Remove warnings
      readline/isearch.c:
        Remove warnings
      readline/kill.c:
        Remove warnings
      readline/macro.c:
        Remove warnings
      readline/readline.c:
        Remove warnings
      readline/readline.h:
        Remove warnings
      readline/rltty.c:
        Remove warnings
      readline/search.c:
        Remove warnings
      readline/shell.c:
        Remove warnings
      readline/terminal.c:
        Remove warnings
      readline/tilde.c:
        Remove warnings
      readline/tilde.h:
        Remove warnings
      readline/undo.c:
        Remove warnings
      readline/util.c:
        Remove warnings
      readline/vi_mode.c:
        Remove warnings
      sql-bench/server-cfg.sh:
        Added use of truncate table
      sql-bench/test-insert.sh:
        Added use of truncate table
        Changed some tests to use keys instead of 'range'
      sql-bench/test-wisconsin.sh:
        Cleanup
      sql/field.cc:
        Add 'thd' to send() (To avoid usage of 'current_thd')
      sql/field.h:
        Add 'thd' to send() (To avoid usage of 'current_thd')
      sql/filesort.cc:
        Safer memory allocation;  Don't allocate pointer to buffers directly, but use an IO_CACHE instead.
        This will allow us to use more memory for keys and will also work better if the number of rows that is to be sorted is much larger than expected.
      sql/item.cc:
        Add 'thd' to send() (To avoid usage of 'current_thd')
      sql/item.h:
        Add 'thd' to send() (To avoid usage of 'current_thd')
      sql/item_func.h:
        Cleanup
      sql/opt_range.cc:
        Use mem_root instead of sql_alloc() to get more speed
      sql/sql_class.cc:
        Add 'thd' to send() (To avoid usage of 'current_thd')
      sql/sql_class.h:
        Added strmake()
      sql/sql_handler.cc:
        Add 'thd' to send() (To avoid usage of 'current_thd')
      sql/sql_lex.cc:
        Use mem_root instead of sql_alloc() to get more speed
      sql/sql_select.cc:
        Add 'thd' to send() (To avoid usage of 'current_thd')
      tests/fork2_test.pl:
        Fixed typos
      tests/fork_big.pl:
        Fixed typos
      tests/insert_and_repair.pl:
        Fixed typos
      tests/rename_test.pl:
        Fixed typos
      tests/test_delayed_insert.pl:
        Fixed typos
      aeaf3fcf
  36. 27 Sep, 2001 1 commit
    • unknown's avatar
      Final fixes for INSERT into MERGE tables. · 05794bca
      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
      05794bca
  37. 15 Sep, 2001 1 commit
  38. 14 Aug, 2001 1 commit
    • unknown's avatar
      Remove warnings and portability fixes · 410dd077
      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
      410dd077