An error occurred fetching the project authors.
  1. 28 Nov, 2003 1 commit
  2. 27 Nov, 2003 2 commits
  3. 31 Oct, 2003 1 commit
    • unknown's avatar
      4 small items in this: · b920ab26
      unknown authored
      - when we don't have in_addr_t, use uint32.
      - a forgotten initialization of slave_proxy_id in sql/log_event.cc (was not really "forgot", was
      "we needn't init it there", but there was one case where we needed...).
      - made slave_proxy_id always meaningful in THD and Log_event, so we can
      rely more on it (no need to test if it's meaningful). THD::slave_proxy_id
      is equal to THD::thread_id except for the slave SQL thread.
      - clean up the slave's temporary table (i.e. free their memory) when slave
      server shuts down.
      
      
      extra/resolveip.c:
        removed #define as it is simpler to put it in my_net.h
        (because we need the #define elsewhere)
      include/my_net.h:
        When in_addr_t is not defined, use uint32.
      libmysql/libmysql.c:
        using in_addr_t is more generic.
      libmysql/manager.c:
        using in_addr_t is more generic.
      mysql-test/t/rpl_chain_temp_table.test:
        comments
      sql/log_event.cc:
        * Had forgot to initialize slave_proxy_id in the event constructor (char* buf...).
        Initializing is in fact only needed for Create_file_log_event, because
        it uses slave_proxy_id even if it does not write an event to the binlog
        (it uses slave_proxy_id to write it to SQL-LOAD.info).
        * When we write events we now always write slave_proxy_id, which is now always
        meaningful (as thd->slave_proxy_id is now always meaningful, see change in
        sql_class.cc).
      sql/mini_client.cc:
        in_addr_t is more generic.
      sql/slave.cc:
        A RELAY_LOG_INFO method to free the slave's temporary tables from memory
        at slave's server shutdown.
        It is called by end_slave(), which is called by close_connections(),
        which is called when the server terminates
        (close_connections() is just before clean_up(); putting the call in 
        clean_up() was buggy, as active_mi is already deleted by close_connections().
      sql/slave.h:
        new method
      sql/sql_class.cc:
        By default we set THD::slave_proxy_id to THD::thread_id,
        so THD::slave_proxy_id is always meaningful (not 0).
        It's always the same as the thread id except for the slave
        SQL thread.
      b920ab26
  4. 15 Oct, 2003 1 commit
    • unknown's avatar
      Better fix for CREATE TABLE IF NOT EXISTS ... SELECT · b06eb4d8
      unknown authored
      Fixed chsize() problem on windows
      Extend default timeout on windows clients to 1 year (to avoid timeout problems)
      
      
      include/mysql.h:
        Added client timeouts (for TCP/IP)
      libmysql/libmysql.c:
        Added client timeouts (for TCP/IP)
      mysql-test/r/create.result:
        More tests for CREATE TABLE IF NOT EXISTS ... SELECT
      mysql-test/t/create.test:
        More tests for CREATE TABLE IF NOT EXISTS ... SELECT
      mysys/my_chsize.c:
        Fix for windows
      sql/handler.h:
        Remove not used field 'if_not_exists'
        Ordered fields to be more optimized for new CPU's
        Added field 'table_existed'
      sql/slave.cc:
        Cleanup temporary tables when slave ends
      sql/sql_class.h:
        Remove not used 'do_not_drop' field
      sql/sql_insert.cc:
        Better fix for CREATE TABLE IF NOT EXISTS ... SELECT
      sql/sql_table.cc:
        Better fix for CREATE TABLE IF NOT EXISTS ... SELECT
      b06eb4d8
  5. 23 Sep, 2003 1 commit
    • unknown's avatar
      Block SIGPIPE also for not threaded client programs. · a86e11ef
      unknown authored
      Added --include and --libs_r options to mysql_config.
      Added mysql_get_client_version() to client library
      Fixed some minor benchmark issues
      
      
      
      acinclude.m4:
        Fixed that 'no' is printed if openssl not used
      configure.in:
        Fixed error message
      extra/comp_err.c:
        Skip lines before first {
      include/mysql.h:
        Indentation cleanup
      libmysql/libmysql.c:
        Block SIGPIPE also for not threaded programs.
        This is now done once in mysql_server_init() and not for every call to mysql_init().
        Added mysql_get_client_version()
      libmysql/libmysql.def:
        added mysql_get_client_version
      scripts/Makefile.am:
        Add openssl libraries to mysql_config
      scripts/mysql_config.sh:
        Added options --include and --libs_r
        Added C compiler options to 'cflags'
      scripts/mysql_install_db.sh:
        Fixed tests with IN_RPM to not give warnings
      sql-bench/bench-init.pl.sh:
        Updated version number
      sql-bench/server-cfg.sh:
        Remove duplicate line
      sql-bench/test-alter-table.sh:
        Increase loops for more relevant test
      sql-bench/test-select.sh:
        Fix wrong test for count_distinct_2
      tests/mail_to_db.pl:
        Default db and table for easier usage
      a86e11ef
  6. 22 Aug, 2003 1 commit
    • unknown's avatar
      Move test that uses many tables (in query_cache.test) to separate test so that... · 64393d7e
      unknown authored
      Move test that uses many tables (in query_cache.test) to separate test so that we can get it 'skipped' instead of 'failed' on system where we can't open many files.
      
      
      client/mysqltest.c:
        Fix that LET can be used with queries that return multiple columns
      libmysql/errmsg.c:
        Extend socket name to 100 characters in error messages
      libmysql/libmysql.c:
        Reset some variables to make ensure that we can call mysql_server_init()/mysql_server_end() many times
      mysql-test/mysql-test-run.sh:
        Set open-files-limit to 1024
      mysql-test/r/loaddata.result:
        Add test case for LOAD DATA bug report (was not a bug)
      mysql-test/r/query_cache.result:
        Move test with many tables to separate test
      mysql-test/r/select_safe.result:
        Make test repeatable
      mysql-test/t/loaddata.test:
        Add test case for LOAD DATA bug report (was not a bug)
      mysql-test/t/query_cache.test:
        Move test with many tables to separate test
      mysql-test/t/select_safe.test:
        Make test repeatable
      sql/field.cc:
        Portability fix for gcc 3.3
      sql/mysqld.cc:
        Store in open_files_limit the true number of files we can open (if system supports it)
      sql/sql_load.cc:
        Safety fix
      64393d7e
  7. 03 Jul, 2003 1 commit
    • unknown's avatar
      Fix for UNIXWARE 7 · abe124e7
      unknown authored
      Remove unaligned warnings on Ia64 from client library when using --host
      Fix for replication when using many file descriptors 
      
      
      include/my_global.h:
        Fix for UNIXWARE 7
      libmysql/libmysql.c:
        Portability fix (removes unaligned warnings on Ia64)
      mysql-test/r/symlink.result:
        Updated results
      sql/mini_client.cc:
        Ported connect timeout code from libmysql.c
      abe124e7
  8. 23 Jun, 2003 1 commit
  9. 04 Jun, 2003 1 commit
  10. 10 Mar, 2003 1 commit
  11. 08 Mar, 2003 2 commits
  12. 17 Feb, 2003 1 commit
    • unknown's avatar
      Fixed multi-table-delete for InnoDB tables · 300b3fb6
      unknown authored
      Novell patches
      
      
      Makefile.am:
        Novell patch
      client/mysql.cc:
        Novell patch
      configure.in:
        Novell patch
      extra/mysql_waitpid.c:
        Novell patch
      include/my_pthread.h:
        Novell patch
      include/mysql.h:
        Novell patch
      libmysql/libmysql.c:
        Novell patch
      libmysqld/libmysqld.c:
        Novell patch
      mysql-test/mysql-test-run.sh:
        Don't use running server with --valgrind
      mysql-test/r/innodb.result:
        Updated results
      mysql-test/r/rpl000001.result:
        Updated results
      mysql-test/r/rpl000004.result:
        Updated results
      mysql-test/r/rpl_log.result:
        Updated results
      mysql-test/r/type_blob.result:
        Updated results
      mysql-test/std_data/words.dat:
        Added more words to make type_blob test relevant
      mysql-test/t/innodb.test:
        test of multi-table-delete
      mysql-test/t/rpl000001.test:
        Update for new word file
      mysql-test/t/type_blob.test:
        Test if BLOB IS NULL on NOT NULL column
      mysys/my_init.c:
        Novell patch
      mysys/my_netware.c:
        Novell patch
      netware/Makefile.am:
        Novell patch
      netware/init_db.sql:
        Novell patch
      netware/isamchk.def:
        Novell patch
      netware/isamlog.def:
        Novell patch
      netware/libmysql.def:
        Novell patch
      netware/my_print_defaults.def:
        Novell patch
      netware/myisamchk.def:
        Novell patch
      netware/myisamlog.def:
        Novell patch
      netware/myisampack.def:
        Novell patch
      netware/mysql.def:
        Novell patch
      netware/mysql_install_db.c:
        Novell patch
      netware/mysql_install_db.def:
        Novell patch
      netware/mysql_test_run.def:
        Novell patch
      netware/mysqladmin.def:
        Novell patch
      netware/mysqlbinlog.def:
        Novell patch
      netware/mysqlcheck.def:
        Novell patch
      netware/mysqld_safe.c:
        Novell patch
      netware/mysqldump.def:
        Novell patch
      netware/mysqlimport.def:
        Novell patch
      netware/mysqlshow.def:
        Novell patch
      netware/mysqltest.def:
        Novell patch
      netware/pack_isam.def:
        Novell patch
      netware/perror.def:
        Novell patch
      netware/replace.def:
        Novell patch
      netware/resolveip.def:
        Novell patch
      netware/test_db.sql:
        Novell patch
      scripts/make_binary_distribution.sh:
        Novell patch
      sql/item_cmpfunc.h:
        Optimization of 'IS NULL'
      sql/mysql_priv.h:
        Code cleanup
      sql/mysqld.cc:
        Novell patch
      sql/net_pkg.cc:
        Code cleanup
      sql/records.cc:
        Fixed multi-table-delete for InnoDB tables
      sql/sql_delete.cc:
        Fixed multi-table-delete for InnoDB tables
      sql/sql_handler.cc:
        Code cleanup
      sql/sql_table.cc:
        Code cleanup
      sql/structs.h:
        Fixed multi-table-delete for InnoDB tables
      300b3fb6
  13. 10 Feb, 2003 1 commit
    • unknown's avatar
      connect timeout bug fix · f67fe80e
      unknown authored
      libmysql/libmysql.c:
        This is a fix for a bug in connect_timeout.
        
        This bug manifested itself on operating systems that do support poll() 
        system call, which resulted in a timeout twice the value specified.
        
        That is because timeout executed on both select() and poll().
      f67fe80e
  14. 28 Jan, 2003 2 commits
    • unknown's avatar
      Fixes for Netware · 84f81dc5
      unknown authored
      Call pthread_mutex_destroy() on not used mutex.
      Changed comments in .h and .c files from // -> /* */
      Added detection of mutex on which one didn't call pthread_mutex_destroy()
      Fixed bug in create_tmp_field() which causes a memory overrun in queries that uses "ORDER BY constant_expression"
      Added optimisation for ORDER BY NULL
      
      
      BitKeeper/deleted/.del-ChangeLog~dfc92e15bee6fc75:
        Delete: sql/ChangeLog
      BUILD/compile-pentium-valgrind-max:
        Don't use valgrind with safemalloc as this can hide some bugs
      Makefile.am:
        Added platform dirs
      bdb/os/os_handle.c:
        Portability fix
      client/mysql.cc:
        Fixes for Netware.
        Fixed duplicate output when using 'tee'
        Simple optimisations
      client/mysqldump.c:
        Portability fix
      client/mysqltest.c:
        Portability fix
      configure.in:
        Fixes for Netware
      extra/resolveip.c:
        Fixes for Netware
      include/Makefile.am:
        Fixes for Netware
      include/config-win.h:
        Portability fix
      include/my_global.h:
        Fixes for Netware
      include/my_net.h:
        Fixes for Netware
      include/my_pthread.h:
        Fixes for Netware
        Added detection of mutexes that was not destroyed
      include/my_sys.h:
        Fixes for Netware
        Added 'extern' before external functions
      include/mysql.h:
        Fixes for Netware
      innobase/configure.in:
        Fixes for Netware
      innobase/include/os0thread.h:
        Fixes for Netware
      innobase/os/os0sync.c:
        Fixes for Netware
      innobase/os/os0thread.c:
        Fixes for Netware
      innobase/srv/srv0srv.c:
        Fixes for Netware
      innobase/srv/srv0start.c:
        Fixes for Netware
      innobase/sync/sync0sync.c:
        Fixes for Netware
      isam/test3.c:
        Disable test on Netware
      libmysql/Makefile.shared:
        Added my_sleep
      libmysql/get_password.c:
        Fixes for Netware
      libmysql/libmysql.c:
        Fixes for Netware
        Made mysql_once_init() global
      libmysql/manager.c:
        Fixes for Netware
      myisam/mi_test3.c:
        Disable test for netware
      mysql-test/mysql-test-run.sh:
        Give warning if output file contains errors
      mysql-test/r/count_distinct.result:
        More tests
      mysql-test/r/group_by.result:
        Test of ORDER BY NULL
      mysql-test/t/backup.test:
        Fixes for Netware
      mysql-test/t/count_distinct.test:
        More tests
      mysql-test/t/func_crypt.test:
        Fixes for Netware
      mysql-test/t/grant_cache.test:
        Fixes for Netware
      mysql-test/t/group_by.test:
        Tests of ORDER BY NULL
      mysql-test/t/rpl000015.test:
        Fixes for Netware
      mysql-test/t/rpl000017.test:
        Fixes for Netware
      mysql-test/t/rpl_rotate_logs.test:
        Fixes for Netware
      mysys/Makefile.am:
        Added my_sleep.c and my_netware.c
      mysys/charset.c:
        Fixes for Netware
      mysys/default.c:
        Fixes for Netware
      mysys/mf_tempfile.c:
        Fixes for Netware
      mysys/my_clock.c:
        Fixes for Netware
      mysys/my_copy.c:
        Fixes for Netware
      mysys/my_getwd.c:
        Changed function comment from // -> /* */
      mysys/my_init.c:
        Fixes for Netware
      mysys/my_lock.c:
        Fixes for Netware
      mysys/my_messnc.c:
        Fixes for Netware
      mysys/my_os2cond.c:
        Removed comment
      mysys/my_os2dirsrch.c:
        Changed function comment from // -> /* */
        Fixed indentation
      mysys/my_os2dirsrch.h:
        Changed function comment from // -> /* */
        Fixed indentation
      mysys/my_os2file64.c:
        Changed function comment from // -> /* */
        Fixed indentation
      mysys/my_os2mutex.c:
        Changed function comment from // -> /* */
        Fixed indentation
      mysys/my_os2thread.c:
        Changed function comment from // -> /* */
        Fixed indentation
      mysys/my_os2tls.c:
        Changed function comment from // -> /* */
        Fixed indentation
      mysys/my_pthread.c:
        Fixes for Netware
      mysys/my_redel.c:
        Fixes for Netware
      mysys/my_tempnam.c:
        Fixes for Netware
      mysys/my_thr_init.c:
        Remove created mutexes when program ends.
      mysys/mysys_priv.h:
        Cleanup
      mysys/safemalloc.c:
        Prefix error messages with "Error:"
      mysys/thr_alarm.c:
        Destroy internal mutex on end_thr_alarm.
      mysys/thr_mutex.c:
        Added detection of mutex on which one didn't call pthread_mutex_destroy()
      scripts/make_binary_distribution.sh:
        Fixes for Netware
      sql/des_key_file.cc:
        Free mutex at end
      sql/ha_innodb.cc:
        Free mutex at end
      sql/ha_myisam.cc:
        Changed warnings from REPAIR Note:
        (For mysql-test-run)
      sql/hostname.cc:
        Fixes for Netware
      sql/item.h:
        Fixed bug in create_tmp_field() which causes a memory overrun
      sql/item_func.cc:
        Free used mutexes
      sql/item_sum.cc:
        Fixed bug in create_tmp_field() which causes a memory overrun
      sql/log.cc:
        Free used mutexes
      sql/my_lock.c:
        Fixes for Netware
      sql/mysql_priv.h:
        Fixes for Netware
      sql/mysqld.cc:
        Fixes for Netware
        Added Have_crypt
        Properly free mutexes from MYSQL_LOG by calling cleanup
        Free mutex before exit
      sql/repl_failsafe.cc:
        Fixes for Netware
      sql/set_var.cc:
        Added have_crypt
      sql/share/english/errmsg.txt:
        Added version socket and port to stderr log
      sql/slave.cc:
        Remove global MASTER_INFO variable and use instead an allocated variable.
        This allows us to correctly free used mutex.
      sql/slave.h:
        Move constructors and destuctors to slave.cc
        (To make it easier to clear all needed variables)
      sql/sql_base.cc:
        Safety fix
      sql/sql_class.h:
        Portability fixes.
        Added 'cleanup' to log handling to be able to free mutexes.
      sql/sql_insert.cc:
        Fixes for Netware
      mysys/my_sleep.c:
        E
      sql/sql_parse.cc:
        Fixes for Netware
      sql/sql_select.cc:
        Added optimisation for ORDER BY NULL
      sql/sql_select.h:
        Fixed bug in create_tmp_field() which causes a memory overrun
      sql/sql_table.cc:
        Fixed bug in create_tmp_field() which causes a memory overrun
      sql/sql_udf.cc:
        Free mutex on end
      vio/test-ssl.c:
        Simple code cleanup
      vio/test-sslclient.c:
        Simple code cleanup
      vio/test-sslserver.c:
        Simple code cleanup
      vio/viotest-ssl.c:
        Simple code cleanup
      84f81dc5
    • unknown's avatar
      Make PACKET_TOO_LARGE error handling safer in client · c46c1258
      unknown authored
      libmysql/libmysql.c:
        Make PACKET_TOO_LARGE error handling safer
      c46c1258
  15. 04 Jan, 2003 2 commits
    • unknown's avatar
      Fixing that 3.23 API / clients do not disconnect if a large · b2c904ec
      unknown authored
      packet is issued.
      
      
      
      BitKeeper/deleted/.del-net.c~ef21d6402bb882f9:
        Delete: libmysql/net.c
      sql/sql_select.cc:
        reversing a fix, but we shall yet see about this one ...
      b2c904ec
    • unknown's avatar
      Added support for max_allowed_packet in option files read by mysql_option() · 2d898610
      unknown authored
      Extended max_allowed_packet for clients to 1G
      Fixed bug in sending compressed rows >= 16M
      Fix bug in skiping too long packets from clients.
      Added checking of wrong command number sent by client.
      
      
      include/mysql.h:
        Added max_allowed_packet as option parameter.
      include/mysql_com.h:
        Added COM_END to be able to check for wrong commands.
      libmysql/libmysql.c:
        Extended max_allowed_packet for clients to 1G
        Added support for max_allowed_packet in option files read by mysql_option()
      mysys/my_compress.c:
        Debugging output
      sql/net_pkg.cc:
        Fixed wrong handling of blobs >= 16M
      sql/net_serv.cc:
        Changed MAX_THREE_BYTES -> MAX_PACKET_LENGTH
        More DEBUG output and more comments
        Fixed bug in sending compressed rows >= 16M
        Optimized sending of big packets (fewer memcpy and compress data in bigger blocks)
        Fix bug in skiping too long packets from clients.
        (old code didn't always work for big packets)
      sql/sql_class.h:
        Changed type of variable
      sql/sql_parse.cc:
        Added checking of wrong command number sent by client.
        Changed handling of too big packets to make code safer
      tests/big_record.pl:
        E
      2d898610
  16. 11 Dec, 2002 1 commit
  17. 05 Dec, 2002 1 commit
  18. 04 Dec, 2002 2 commits
  19. 16 Nov, 2002 1 commit
    • unknown's avatar
      Small improvement to alloc_root · bd1c2d65
      unknown authored
      Add support for LIMIT # OFFSET #
      Changed lock handling:  Now all locks should be stored in TABLE_LIST instead of passed to functions.
      Don't call query_cache_invalidate() twice in some cases
      mysql_change_user() now clears states to be equal to close + connect.
      Fixed a bug with multi-table-update and multi-table-delete when used with LOCK TABLES
      Fixed a bug with replicate-do and UPDATE
      
      
      BitKeeper/etc/ignore:
        added autom4te.cache/* bdb/dist/autom4te.cache/* innobase/autom4te.cache/*
      include/my_alloc.h:
        Small improvement to alloc_root
      libmysql/libmysql.c:
        Removed compiler warning
      myisam/mi_page.c:
        Better DBUG message
      mysql-test/r/multi_update.result:
        Added test with lock tables
      mysql-test/r/rpl_replicate_do.result:
        Update results
      mysql-test/r/rpl_rotate_logs.result:
        Make test independent of if t1 exists
      mysql-test/t/multi_update.test:
        Added test with lock tables
      mysql-test/t/rpl_rotate_logs.test:
        Make test independent of if t1 exists
      mysys/my_alloc.c:
        Small imprevement to alloc_root
        (Don't free blocks less than ALLOC_MAX_BLOCK_ROOT (4K)
      sql/ha_innodb.cc:
        More debug messages
      sql/ha_myisam.cc:
        Safety change
      sql/lex.h:
        Add support for LIMIT # OFFSET #
      sql/lock.cc:
        Added assertion
      sql/mysql_priv.h:
        Change of lock handling
      sql/mysqld.cc:
        Added function clear_error_messages()
      sql/sql_base.cc:
        Change lock handling by open_ltable() and open_and_lock_tables()
      sql/sql_class.cc:
        Split THD::THD to two functions
        Move some code from cleanup() to ~THD:THD
        Add THD::change_user()
      sql/sql_class.h:
        Prototype changes in class THD
      sql/sql_delete.cc:
        Remove locking argument from mysql_delete()
        Locking type is now stored in TABLE_LIST
        Small code change to not call query_cache_invalidate() twice for transactional tables.
      sql/sql_insert.cc:
        Remove locking argument from mysql_insert()
        Locking type is now stored in TABLE_LIST
        Small code change to not call query_cache_invalidate() twice for transactional tables.
        Don't use bulk insert if bulk_insert_buff_size is 0
      sql/sql_parse.cc:
        Changes to make mysql_change_user() work as close+connect
        Changed command statistics to use statstics_increment to get more speed
        Update code to handle that locks is now stored in TABLE_LIST
      sql/sql_update.cc:
        Remove locking argument from mysql_update()
        Locking type is now stored in TABLE_LIST
        Small code change to not call query_cache_invalidate() twice for transactional tables.
      sql/sql_yacc.yy:
        Locking type is now stored in TABLE_LIST
        Added support for LIMIT # OFFSET # syntax
        Removed some wrong (never true) checks for SQLCOM_MULTI_UPDATE
      mysql-test/t/rpl_replicate_do-slave.opt:
        Changed tables to use t1,t2,...
      mysql-test/t/rpl_replicate_do.test:
        Changed tables to use t1,t2,...
      bd1c2d65
  20. 05 Nov, 2002 1 commit
    • unknown's avatar
      Error code for ssl connection · 69a5dd19
      unknown authored
      Fix bug when server hang(with SSL, with modified libmysql)
      Add options master-ssl-capath and master-ssl-cipher
      Add some error checking(SSL) 
      
      
      include/errmsg.h:
        Error code for SSL connection
      include/violite.h:
        Change return value in sslaccept
        Remove unused variable open_
      libmysql/errmsg.c:
        Add client side descriptive message when ssl handshake fail
      libmysql/libmysql.c:
        Add ssl error code
        Add proper error checking
      sql/mysqld.cc:
        Add options master-ssl-capath and master-ssl-cipher
      sql/sql_parse.cc:
        Add error checking after sslaccept
      vio/viossl.c:
        Add ssl handshake error cheking
      vio/viosslfactories.c:
        Change error description when using wrong key or certificate
      69a5dd19
  21. 24 Oct, 2002 1 commit
    • unknown's avatar
      - replaced all occurences of HPUX with HPUX10 (to be prepared for eventual · 6f043c35
      unknown authored
         differences in HPUX11)
      
      
      acconfig.h:
         - fixed typo
      configure.in:
         - replaced HPUX -> HPUX10
         - added -DHPUX11 (not being used yet) to hpux11 workarounds
      include/my_global.h:
         - replaced HPUX -> HPUX10
      include/my_net.h:
         - replaced HPUX -> HPUX10
      include/my_pthread.h:
         - replaced HPUX -> HPUX10
      libmysql/libmysql.c:
         - replaced HPUX -> HPUX10
      mysys/my_append.c:
         - replaced HPUX -> HPUX10
      mysys/my_copy.c:
         - replaced HPUX -> HPUX10
      mysys/my_pthread.c:
         - replaced HPUX -> HPUX10
      mysys/my_redel.c:
         - replaced HPUX -> HPUX10
      mysys/thr_alarm.c:
         - replaced HPUX -> HPUX10
      sql/mini_client.cc:
         - replaced HPUX -> HPUX10
      sql/mysqld.cc:
         - replaced HPUX -> HPUX10
      strings/do_ctype.c:
         - replaced HPUX -> HPUX10
      6f043c35
  22. 11 Sep, 2002 1 commit
    • unknown's avatar
      Portability fixes. · 8f232cb7
      unknown authored
      Improve mysql-test to be more robust.
      Fix that GRANT doesn't delete SSL options
      Change innobase_flush_log_at_trx_commit to uint.
      Don't rotate logs if we read a rotate log entry from the master.
      
      
      Docs/manual.texi:
        Changelog
      client/mysqlbinlog.cc:
        Handle empty binlogfiles gracefully
      client/mysqltest.c:
        Do a sleep after 'sync_with_master'
        Cleaned up sleep() handling.
        Free all memory on exit
      configure.in:
        Fix for Mac OS 10.2
      include/my_sys.h:
        Added my_strdup_with_length()
      innobase/btr/btr0cur.c:
        Fixed wrong printf()
      libmysql/libmysql.c:
        Added DBUG_PRINT statements.
        Assume that mysql_...send() functions has correct query length.
      mysql-test/mysql-test-run.sh:
        Properly remove log files before starting new tests.
      mysql-test/r/grant.result:
        Update for new test results
      mysql-test/r/innodb.result:
        Update for new test results
      mysql-test/r/myisam.result:
        Update for new test results
      mysql-test/r/rpl_log.result:
        Update for new test results
      mysql-test/r/rpl_rotate_logs.result:
        Update for new test results
      mysql-test/r/variables.result:
        Update for new test results
      mysql-test/t/grant.test:
        Test that GRANT doesn't delete SSL options
      mysql-test/t/myisam.test:
        Test long key usage
      mysql-test/t/rpl_log.test:
        Disable 'show new master'
      mysql-test/t/rpl_mystery22.test:
        Longer sleep for more safety.
      mysql-test/t/rpl_rotate_logs.test:
        More comments
      mysys/my_malloc.c:
        Added my_strdup_with_length()
      mysys/safemalloc.c:
        Added my_strdup_with_length()
      mysys/thr_alarm.c:
        Fix of alarms for windows.
      sql/ha_innodb.cc:
        Change innobase_flush_log_at_trx_commit to uint
      mysql-test/r/rpl_redirect.result:
        Updated test results
      mysql-test/t/rpl_redirect.test:
        Added more tests to improve code coverage.
      sql/ha_innodb.h:
        Change innobase_flush_log_at_trx_commit to uint
      sql/item_func.cc:
        Return GLOBAL and SESSION as part of column names
      sql/log.cc:
        Only write STOP events when server goes down.
      sql/log_event.cc:
        Don't rotate logs if we read a rotate log entry from the master.
      sql/log_event.h:
        Change ident_len to uint (more efficient)
      sql/mysqld.cc:
        Change innobase_flush_log_at_trx_commit to uint
      sql/net_serv.cc:
        More debug output
      sql/repl_failsafe.cc:
        More DEBUG
        Search until we find next position in binary log (and not only =)
      sql/slave.cc:
        More DBUG & comments
        Don't rotate the binary log on master flush logs
      sql/slave.h:
        indentation change
      sql/sql_acl.cc:
        Test that GRANT doesn't delete SSL options
      sql/sql_parse.cc:
        Disable show_new_master.
      sql/sql_repl.cc:
        Chamger show_binlog_events() to use my_error()
      sql/sql_table.cc:
        Fixed check for too long keys in MyISAM
      sql/sql_udf.cc:
        Fix udf handling
      8f232cb7
  23. 03 Sep, 2002 1 commit
    • unknown's avatar
      Some trivial optimzations · 0f2ab68c
      unknown authored
      Check if AND/OR expression can be NULL; Fixed bug in GROUP BY and-or-expression where expression could be NULL
      Bug fix for SHOW OPEN TABLES when user didn't have privilege to access all open tables.
      Better fix for ALTER TABLE on BDB tables.
      
      
      Docs/manual.texi:
        Changelog
      client/mysql.cc:
        Simple optimization
      libmysql/libmysql.c:
        Removed initialization of varibles that are already set to zero
      myisam/myisamchk.c:
        Fixed comment for extend-check
      mysql-test/r/bdb-alter-table-1.result:
        Updated results
      mysql-test/r/bdb-alter-table-2.result:
        Updated results
      mysql-test/r/distinct.result:
        Updated results after bug fix
      mysql-test/r/handler.result:
        Updated results
      mysql-test/r/innodb_handler.result:
        Updated results
      mysql-test/r/select.result:
        Updated results
      mysql-test/r/varbinary.result:
        Updated results
      mysql-test/t/bdb-alter-table-1.test:
        Added comments
      mysql-test/t/bdb-alter-table-2.test:
        Added comments
      mysql-test/t/select.test:
        Remove OPTION in SET OPTION
        Added tests for ORDER BY key LIMIT
      sql/item_cmpfunc.cc:
        Check if AND/OR expression can be NULL
      sql/mysqld.cc:
        mysqld --help now shows value of datadir
      sql/share/english/errmsg.txt:
        Better error message for syntax error
      sql/sql_base.cc:
        Bug fix for SHOW OPEN TABLES
      sql/sql_class.cc:
        Moved virtual function to .cc file to avoid that we have to include assert.h everywhere.
      sql/sql_class.h:
        Moved virtual function to .cc file to avoid that we have to include assert.h everywhere.
      sql/sql_parse.cc:
        Removed old dead code from 3.23
      sql/sql_select.cc:
        Improved optimization of ORDER BY key LIMIT
      sql/sql_table.cc:
        More comments,
        Better fix for ALTER TABLE on BDB tables.
      0f2ab68c
  24. 25 Aug, 2002 1 commit
  25. 24 Aug, 2002 1 commit
    • unknown's avatar
      Give better error from reconnect() · 02f8c163
      unknown authored
      Fixed hang in start_slave_threads() when thread dies quickly.
      
      
      Docs/manual.texi:
        Changelog
      client/mysqltest.c:
        Indentation cleanup
        More DBUG info
      libmysql/libmysql.c:
        More DBUG info
        Give better error from reconnect()
      mysql-test/r/rpl_rotate_logs.result:
        Update results
      mysql-test/t/rpl_log_pos.test:
        Fix for fast machines
      mysql-test/t/rpl_rotate_logs.test:
        Updated test to be more portable
      scripts/mysql_zap.sh:
        Update for MacOSX
      sql/mini_client.cc:
        Better error messages from reconnect.
        Indentation cleanups
      sql/slave.cc:
        Fixed hang in start_slave_threads() when thread dies quickly.
      sql/slave.h:
        Fixed hang in start_slave_threads() when thread dies quickly.
      02f8c163
  26. 21 Aug, 2002 1 commit
    • unknown's avatar
      Use our version of RWLOCKS on UNIXWARE 7 · 87f9ad37
      unknown authored
      More DBUG info for replication
      Better error messages from replication
      Fixed bug in replication code when connecting to 'localhost' (time was not released properly)
      Block ALARM signal on Linux for signal handler thread (Fixes problem with running mysqld with --debug)
      Removed warning when setting an AUTO_INCREMENT field to NULL
      
      
      Build-tools/Do-compile:
        Always run test with --warnings during build
      Docs/manual.texi:
        Changelog
      configure.in:
        Use our version of RWLOCKS on UNIXWARE 7
      include/my_pthread.h:
        Use our version of RWLOCKS on UNIXWARE 7
      include/mysql_version.h.in:
        Fixed warning when compiling embedded server
      include/mysqld_error.h:
        New error messages
      libmysql/libmysql.c:
        Give connect error message on reconnect if it fails.
        Fixed possible buffer overflow in expand_error()
        Added error messages for some error conditions.
      mysql-test/mysql-test-run.sh:
        Portability fixes:
        - Search after 'time' in path.
        - Search after mysqld in libexec
        - Remove end / when doing rm -r (fix for BSD)
        Clean up skip_test handling.
      mysql-test/r/rpl_empty_master_crash.result:
        New results
      mysql-test/t/rpl_empty_master_crash.test:
        Extended test
      mysys/mf_iocache.c:
        Remember file position on failed read.
      mysys/mf_iocache2.c:
        Fixed bug in filelength() call.
      mysys/thr_alarm.c:
        Made alarm handling more threadsafe when use with DBUG.
      mysys/thr_mutex.c:
        More debug info
      sql/log_event.cc:
        More DBUG_PRINT statements.
      sql/mini_client.cc:
        Better error reporting on failures.
        Return connect error on reconnect failure (instead of SERVER_GONE_ERROR)
        Fixed critical bug in alarm handling on connect (could leave an alarm event on indefinitely)
      sql/mysql_priv.h:
        Fixed arguments to mysql_binlog_send()
      sql/mysqld.cc:
        Block ALARM signal on Linux for signal handler thread (Fixes problem with running mysqld with --debug)
      sql/net_pkg.cc:
        Removed dead code
      sql/net_serv.cc:
        Ensure that last_errno is set in net_real_write()
      sql/repl_failsafe.cc:
        Code cleanup.
        Better error handling.
      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.
      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.
      mysql-test/r/rpl_log_pos.result:
        Updated results
      mysql-test/t/rpl_log_pos.test:
        Added 'sleep' commands to make tests repeatable.
      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/slave.cc:
        Code optimization and cleanup.
        More DBUG statements.
        Better cleanup if start slave fails.
        Better error messages from 'fetch_master_table'
        Thread safer handling of 'wait_for_pos'
      sql/slave.h:
        Better handling of wait_for_pos
      sql/sql_load.cc:
        Removed warning when setting an AUTO_INCREMENT field to NULL
      sql/sql_parse.cc:
        Fixed calling of function that has changed.
      sql/sql_repl.cc:
        More DBUG statements
        Give a proper error number from mysql_binlog_send() so that we know when we have to abort slaves.
      87f9ad37
  27. 18 Aug, 2002 1 commit
    • unknown's avatar
      Fixed timing problem with rpl000001 replication test. · 457172d9
      unknown authored
      Fixed configure problems with HPUX and openbsd
      SHOW SLAVE STATUS returns empty set if slave is not initialized
      SHOW MASTER STATUS returns empty set if binary logging is not enabled.
      Fixed shutdown problem on Solaris.
      
      
      BitKeeper/deleted/.del-set_var.cc~5374527de1955359:
        Delete: libmysqld/set_var.cc
      BitKeeper/etc/ignore:
        added libmysqld/set_var.cc
      Build-tools/Do-compile:
        Remove warnings from touch during compilation
      Docs/manual.texi:
        Changelog
      client/mysqltest.c:
        Added real_sleep command
      configure.in:
        Fixed type for HPUX10
      innobase/configure.in:
        Fixed type for openbsd
      libmysql/libmysql.c:
        Fix for new SHOW SLAVE STATUS
      myisam/mi_update.c:
        Update key file if using external locking
      mysql-test/mysql-test-run.sh:
        Safety fix
      mysql-test/r/rpl000015.result:
        Update for new SHOW SLAVE STATUS
      mysql-test/r/rpl_empty_master_crash.result:
        Update for new SHOW SLAVE STATUS
      mysql-test/t/rpl000001.test:
        sleep -> real_sleep to avoid timing problem
      sql/mysqld.cc:
        Fixed bug with SIGTERM on Solaris
      sql/slave.cc:
        SHOW SLAVE STATUS returns empty sets if slave is not initialized.
      sql/sql_repl.cc:
        SHOW MASTER STAT returns empty set if no binary logging.
      457172d9
  28. 09 Aug, 2002 1 commit
    • unknown's avatar
      Fix for SSL and new my_getopt · 6974c3d0
      unknown authored
      Fix for syntax error bug in SET TRANSACTION ISOLATION
      
      
      
      BitKeeper/deleted/.del-sslopt-case.h~224c80e75dad4997:
        Delete: include/sslopt-case.h
      client/mysql.cc:
        Fix for SSL and new my_getopt
      client/mysqladmin.c:
        Fix for SSL and new my_getopt
      client/mysqlcheck.c:
        Fix for SSL and new my_getopt
      client/mysqldump.c:
        Fix for SSL and new my_getopt
      client/mysqlimport.c:
        Fix for SSL and new my_getopt
      client/mysqlshow.c:
        Fix for SSL and new my_getopt
      include/Makefile.am:
        Fix for SSL and new my_getopt
      include/sslopt-longopts.h:
        Fix for SSL and new my_getopt
      libmysql/libmysql.c:
        Fix for SSL and new my_getopt
      mysql-test/r/innodb.result:
        Simple test of transaction isolations
      mysql-test/t/innodb.test:
        Simple test of transaction isolations
      sql/mini_client.cc:
        Merge of mysql_real_connect() with libmysql.c
      sql/mysqld.cc:
        Simple test of transaction isolations
        Remove use of current_thd in get_options()
      sql/slave.cc:
        Indentation cleanup
      sql/sql_yacc.yy:
        Fix for SET TRANSACTION ...
      6974c3d0
  29. 08 Aug, 2002 1 commit
    • unknown's avatar
      Added nety_retry_count as a changeable variable · 33dab613
      unknown authored
      Make safe_mysqld a symlink to mysqld_safe in binary distribution
      Fixed problem with CTRL-C when using mysqld --bootstrap
      
      
      Docs/manual.texi:
        Added nety_retry_count as a changeable variables
      include/mysql_com.h:
        Added nety_retry_count as a changeable variables
      libmysql/libmysql.c:
        Added nety_retry_count as a changeable variables
      mysql-test/r/olap.result:
        Fixed wrong error message
      mysql-test/r/variables.result:
        Update for freebsd
      mysql-test/t/variables.test:
        Update for freebsd
      scripts/make_binary_distribution.sh:
        Make safe_mysqld a symlink to mysqld_safe in binary distribution.
      sql/item_func.cc:
        Cleaned up tmp_table_field() handling.
      sql/item_func.h:
        Cleaned up tmp_table_field() handling.
      sql/item_strfunc.h:
        Cleaned up tmp_table_field() handling.
      sql/item_timefunc.h:
        Cleaned up tmp_table_field() handling.
      sql/mysql_priv.h:
        Added nety_retry_count as a changeable variables
      sql/mysqld.cc:
        Added nety_retry_count as a changeable variables
        Allow one to specify a defaults file to be read when installing MySQL as a service.
      sql/net_pkg.cc:
        Added nety_retry_count as a changeable variables
      sql/net_serv.cc:
        Added nety_retry_count as a changeable variables
      sql/set_var.cc:
        Added nety_retry_count as a changeable variables
      sql/share/czech/errmsg.txt:
        Fixed wrong error message
      sql/share/danish/errmsg.txt:
        Fixed wrong error message
      sql/share/english/errmsg.txt:
        Fixed wrong error message
      sql/share/estonian/errmsg.txt:
        Fixed wrong error message
      sql/share/french/errmsg.txt:
        Fixed wrong error message
      sql/share/german/errmsg.txt:
        Fixed wrong error message
      sql/share/greek/errmsg.txt:
        Fixed wrong error message
      sql/share/hungarian/errmsg.txt:
        Fixed wrong error message
      sql/share/italian/errmsg.txt:
        Fixed wrong error message
      sql/share/japanese/errmsg.txt:
        Fixed wrong error message
      sql/share/korean/errmsg.txt:
        Fixed wrong error message
      sql/share/norwegian-ny/errmsg.txt:
        Fixed wrong error message
      sql/share/norwegian/errmsg.txt:
        Fixed wrong error message
      sql/share/polish/errmsg.txt:
        Fixed wrong error message
      sql/share/portuguese/errmsg.txt:
        Fixed wrong error message
      sql/share/romanian/errmsg.txt:
        Fixed wrong error message
      sql/share/russian/errmsg.txt:
        Fixed wrong error message
      sql/share/slovak/errmsg.txt:
        Fixed wrong error message
      sql/share/spanish/errmsg.txt:
        Fixed wrong error message
      sql/share/swedish/errmsg.txt:
        Fixed wrong error message
      sql/share/ukrainian/errmsg.txt:
        Fixed wrong error message
      sql/sql_class.cc:
        Indentaion cleanup
      sql/sql_class.h:
        Fixed wrong error message
      sql/sql_parse.cc:
        Fixed problem with CTRL-C when using mysqld --bootstrap
      sql/sql_select.cc:
        Ensure that select terminates if create_myisam_from_heap() fails.
      sql/sql_yacc.yy:
        Portability fix
      33dab613
  30. 23 Jul, 2002 1 commit
    • unknown's avatar
      New SET syntax & system variables. · a8caad31
      unknown authored
      Made a some new buffers thread specific and changeable.
      Resize of key_buffer.
      AUTO_COMMIT -> AUTOCOMMIT
      Fixed mutex bug in DROP DATABASE
      Fixed bug when using auto_increment as second part of a key where first part could include NULL.
      Split handler->extra() to extra() and extra_opt() to be able to support thread specific buffers.
      Don't write message to error log when slave reconnects becasue of timeout.
      Fixed possible update problem when using DELETE/UPDATE on small tables
      (In some cases we used index even if table scanning would be better)
      A lot of minior code cleanups
      
      
      BitKeeper/deleted/.del-net.c~ef21d6402bb882f9:
        Delete: libmysql/net.c
      BitKeeper/etc/ignore:
        added libmysql/net.c
      Docs/manual.texi:
        New SET syntax & system variables.
      client/client_priv.h:
        moved order of include files
      client/mysql.cc:
        Removed compiler warning
      client/mysqladmin.c:
        Use new SHOW GLOBAL syntax (if server supports it)
      configure.in:
        version change
      include/Makefile.am:
        indentation cleanup
      include/my_getopt.h:
        Made some helper functions global
      include/my_sys.h:
        Removed not used code
      include/myisam.h:
        Added extra argument to ..._extra()
      include/myisammrg.h:
        Added extra argument to ..._extra()
      include/mysql_com.h:
        changed NET to be able to support changeable system variables
      include/mysql_embed.h:
        Added MYSQL_SERVER_SUFFIX
      include/mysql_version.h.in:
        Added check of multiple including (needed for embedded library)
      include/mysqld_error.h:
        New error messages
      innobase/dict/dict0dict.c:
        Remove compiler warnings
      innobase/include/ut0mem.h:
        Remove compiler warnings
      innobase/include/ut0mem.ic:
        Remove compiler warnings
      isam/isamchk.c:
        new init_key_cache() arguments
      isam/isamlog.c:
        new init_key_cache() arguments
      isam/test2.c:
        new init_key_cache() arguments
      isam/test3.c:
        new init_key_cache() arguments
      libmysql/Makefile.am:
        Removed net.c (Automaticly make it from net_serv.cc)
      libmysql/Makefile.shared:
        Removed net.c (Automaticly make it from net_serv.cc)
      libmysql/libmysql.c:
        Changeable system variables
      libmysqld/Makefile.am:
        Added set_var.cc file
      libmysqld/embedded_priv.h:
        Changed order of include fiels
      libmysqld/lib_sql.cc:
        merge with mysqld.cc (for changeable variables)
      libmysqld/libmysqld.c:
        New changeable system variables
      myisam/mi_check.c:
        Added extra argument to ..._extra()
      myisam/mi_extra.c:
        Added extra argument to ..._extra()
      myisam/mi_open.c:
        Removed not used variable
      myisam/mi_test1.c:
        Changed call to init_key_cache
      myisam/mi_test2.c:
        Added extra argument to ..._extra()
      myisam/mi_test3.c:
        Added extra argument to ..._extra()
      myisam/mi_write.c:
        Add cache size argument to bulk-insert-init
      myisam/myisamchk.c:
        Use new key cache
      myisam/myisamdef.h:
        new mi_init_bulk_insert() arguments
      myisam/myisamlog.c:
        Added extra argument to ..._extra()
      myisam/myisampack.c:
        Added extra argument to ..._extra()
      myisammrg/myrg_extra.c:
        Added extra argument to ..._extra()
      myisammrg/myrg_rrnd.c:
        Added extra argument to ..._extra()
      mysql-test/r/insert_select.result:
        New changeable system variables
      mysql-test/r/key.result:
        Test of bug in auto_increment
      mysql-test/r/query_cache.result:
        New changeable system variables
      mysql-test/r/rpl000001.result:
        New changeable system variables
      mysql-test/r/rpl000016.result:
        New changeable system variables
      mysql-test/r/union.result:
        New changeable system variables
      mysql-test/r/user_var.result:
        New changeable system variables
      mysql-test/r/variables.result:
        New changeable system variables
      mysql-test/t/key.test:
        Test of bug in auto_increment
      mysql-test/t/query_cache.test:
        New changeable system variables
      mysql-test/t/rpl000001.test:
        New changeable system variables
      mysql-test/t/rpl000009.test:
        New changeable system variables
      mysql-test/t/rpl000016.test:
        New changeable system variables
      mysql-test/t/rpl_compat.test:
        New changeable system variables
      mysql-test/t/union.test:
        New changeable system variables
      mysql-test/t/user_var.test:
        New changeable system variables
      mysql-test/t/variables.test:
        New changeable system variables
      mysys/default.c:
        Bigger default memory allocation
      mysys/mf_iocache.c:
        Removed compiler warning
      mysys/mf_keycache.c:
        Made key cache resizable on the fly
        Removed not needed extra argument to init_key_cache()
      mysys/my_getopt.c:
        Made some helper functions global
      sql/Makefile.am:
        Aded set_var.cc
      sql/convert.cc:
        Comment cleanup
      sql/field.cc:
        new changeable system variables
      sql/filesort.cc:
        new changeable system variables
      sql/ha_berkeley.cc:
        AUTO_COMMIT -> AUTOCOMMIT
      sql/ha_innodb.cc:
        new changeable system variables
      sql/ha_myisam.cc:
        Added extra argument to ..._extra()
      sql/ha_myisam.h:
        Added extra argument to ..._extra()
      sql/ha_myisammrg.cc:
        Added extra argument to ..._extra()
      sql/ha_myisammrg.h:
        Added extra argument to ..._extra()
      sql/handler.cc:
        Added extra argument to ..._extra()
        Added resize of key cache
        Change ha_table_typelib for use with new system variables
      sql/handler.h:
        Added extra argument to ..._extra()
      sql/item.cc:
        new changeable system variables
      sql/item.h:
        Added better support of Item_uint
      sql/item_func.cc:
        Added support for SET @@[global | session] system_variable
      sql/item_strfunc.cc:
        new changeable system variables
      sql/key.cc:
        Fixed bug in auto_increment on second part keys
      sql/lex.h:
        Removed not needed keywords
      sql/log.cc:
        new changeable system variables
      sql/log_event.cc:
        new changeable system variables
      sql/log_event.h:
        Removed not needed var reference
      sql/mini_client.cc:
        new changeable system variables
        code cleanup
      sql/mini_client.h:
        Indentation cleanup
      sql/mysql_priv.h:
        Changed order of include files & variables to make file more readable
      sql/mysqld.cc:
        Changed order of variables to make file more readable.
        Support for changeable variables
        Rename of system variables
        Moved init_vars to set_var.cc
        Changed output of --help
      sql/net_pkg.cc:
        Added my_net_local_init() to make it possible to set different defaults for network connection depending if you are a client, embedded library or server.
      sql/net_serv.cc:
        new changeable system variables
        To support this, some global variables had to be move to the NET structure.
      sql/records.cc:
        new changeable system variables
        use extra_opt()
      sql/repl_failsafe.cc:
        new changeable system variables
        minior code cleanups
      sql/repl_failsafe.h:
        removed not needed external var reference
      sql/share/czech/errmsg.txt:
        new changeable system variables
      sql/share/danish/errmsg.txt:
        new changeable system variables
      sql/share/dutch/errmsg.txt:
        new changeable system variables
      sql/share/english/errmsg.txt:
        new changeable system variables
      sql/share/estonian/errmsg.txt:
        new changeable system variables
      sql/share/french/errmsg.txt:
        new changeable system variables
      sql/share/german/errmsg.txt:
        new changeable system variables
      sql/share/greek/errmsg.txt:
        new changeable system variables
      sql/share/hungarian/errmsg.txt:
        new changeable system variables
      sql/share/italian/errmsg.txt:
        new changeable system variables
      sql/share/japanese/errmsg.txt:
        new changeable system variables
      sql/share/korean/errmsg.txt:
        new changeable system variables
      sql/share/norwegian-ny/errmsg.txt:
        new changeable system variables
      sql/share/norwegian/errmsg.txt:
        new changeable system variables
      sql/share/polish/errmsg.txt:
        new changeable system variables
      sql/share/portuguese/errmsg.txt:
        new changeable system variables
      sql/share/romanian/errmsg.txt:
        new changeable system variables
      sql/share/russian/errmsg.txt:
        new changeable system variables
      sql/share/slovak/errmsg.txt:
        new changeable system variables
      sql/share/spanish/errmsg.txt:
        new changeable system variables
      sql/share/swedish/errmsg.txt:
        new changeable system variables
      sql/share/ukrainian/errmsg.txt:
        new changeable system variables
      sql/slave.cc:
        new changeable system variables
        Added some suppression of error messages
        Initialize current_thd for all slave threads.
      sql/sql_acl.cc:
        Added checking of arguments for SET PASSWORD (for new SET defintion)
      sql/sql_acl.h:
        new prototypes
      sql/sql_base.cc:
        new changeable system variables
      sql/sql_cache.cc:
        new changeable system variables
      sql/sql_cache.h:
        Renamed some arguments to make code more readable
      sql/sql_class.cc:
        new changeable system variables
      sql/sql_class.h:
        New changeable system variables
        Code cleanup
      sql/sql_db.cc:
        Fixed bug in DROP DATABASE
      sql/sql_delete.cc:
        Usage of wrong define in test (possible speed problem)
      sql/sql_insert.cc:
        use extra_opt()
        Code cleanup
      sql/sql_lex.cc:
        Added support for SET @@[global | session] system_variable
      sql/sql_lex.h:
        Added support for SET @@[global | session] system_variable
      sql/sql_load.cc:
        Cleanup for embedded library
        Use extra_opt()
      sql/sql_parse.cc:
        Cleanup for embedded library
        New changeable system variables
      sql/sql_repl.cc:
        new changeable system variables
      sql/sql_repl.h:
        Fixed variable definitions
      sql/sql_select.cc:
        new changeable system variables
      sql/sql_show.cc:
        New changeable system variables
      sql/sql_table.cc:
        Fixed bug in DROP DATABASE
      sql/sql_union.cc:
        New changeable system variables
      sql/sql_update.cc:
        Usage of wrong define in test (possible speed problem)
      sql/sql_yacc.yy:
        New changeable system variables
      sql/structs.h:
        Added typedef for SHOW_VAR
      sql/table.cc:
        Fixed bug in auto_increment on second part keys
      sql/uniques.cc:
        Comment fix
      sql/unireg.h:
        A
      a8caad31
  31. 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
  32. 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
  33. 31 May, 2002 1 commit
    • unknown's avatar
      Portability fixes for SCO and HPUX · 0ceaf6d2
      unknown authored
      Change TRUNCATE(number) to truncate towards zero for negative numbers
      Fix NULL handling for DESCRIBE table_name
      
      
      Docs/manual.texi:
        Update of TRUNCATE() information
      configure.in:
        Fix for HPUX
      extra/resolveip.c:
        Fix for SCO
      include/my_net.h:
        Fix for HPUX
      libmysql/libmysql.c:
        Removed warning on HPUX 10.20
      mysql-test/r/func_math.result:
        Test of new TRUNCATE handling
      mysql-test/t/func_math.test:
        Test of new TRUNCATE handling
      mysys/my_gethostbyname.c:
        Portability fix
      sql/item_func.cc:
        Change TRUNCATE(number) to truncate towards zero for negative numbers
      sql/sql_show.cc:
        Fix NULL handling for DESCRIBE table_name
      0ceaf6d2
  34. 16 May, 2002 1 commit
    • unknown's avatar
      New my_gethostbyname_r() handling · d2b95cd7
      unknown authored
      Changed some status variable names
      Fix bug in GRANT ... PASSWORD string
      
      
      Docs/manual.texi:
        Update of variable names
      include/my_net.h:
        New my_gethostbyname_r() handling
      include/my_pthread.h:
        New my_gethostbyname_r() handling
      libmysql/Makefile.shared:
        New my_gethostbyname_r() handling
      libmysql/libmysql.c:
        New my_gethostbyname_r() handling
      mysys/Makefile.am:
        New my_gethostbyname_r() handling
      mysys/my_pthread.c:
        New my_gethostbyname_r() handling
      mysys/my_thr_init.c:
        New my_gethostbyname_r() handling
      sql/hostname.cc:
        New my_gethostbyname_r() handling
      sql/mini_client.cc:
        New my_gethostbyname_r() handling
      sql/mysqld.cc:
        change some status variable names
      sql/sql_acl.cc:
        Fix bug in GRANT ... PASSWORD string
      d2b95cd7
  35. 15 May, 2002 1 commit