An error occurred fetching the project authors.
  1. 11 Mar, 2003 1 commit
    • unknown's avatar
      Simple fixes (nothing notable) · fa4f6e89
      unknown authored
      dbug/dbug.c:
        Remove duplicate va_end() call
      mysql-test/mysql-test-run.sh:
        Longer stack trace from valgrind
      mysys/my_lib.c:
        Fixed wrong dbug printf
      sql/slave.cc:
        Simple optimization
      sql/sql_class.cc:
        Added DBUG info
      fa4f6e89
  2. 10 Mar, 2003 1 commit
    • unknown's avatar
      Don't allow BACKUP TABLE to overwrite files · 68ae3653
      unknown authored
      Fixed memory leak when replication restarts in debug mode
      
      
      include/my_sys.h:
        Added option to not overwrite files to my_copy()
      mysql-test/mysql-test-run.sh:
        Fixed --ddd option
        Fixed that mysqld is restarted if there is a testname-master.sh file
      mysql-test/r/backup.result:
        Update for security fix in BACKUP TABLE
      mysql-test/t/backup.test:
        Update for security fix in BACKUP TABLE
      mysys/my_copy.c:
        Added option to not overwrite files to my_copy()
      sql/ha_myisam.cc:
        Don't allow BACKUP TABLE to overwrite files
      sql/slave.cc:
        Fixed problem with --debug output from 'handle_slave'
        Fixed memory leak when replication restarts in debug mode
      68ae3653
  3. 09 Mar, 2003 1 commit
  4. 04 Mar, 2003 1 commit
    • unknown's avatar
      Fixed bug in LOCK TABLE + DROP TABLE when other thread was waiting for a table... · 3446199d
      unknown authored
      Fixed bug in LOCK TABLE + DROP TABLE when other thread was waiting for a table that was locked bug not droped
      
      
      client/mysqltest.c:
        Fixed bug that comments did a ping
      include/thr_lock.h:
        Added function to abort a lock for a specific thread
      mysql-test/mysql-test-run.sh:
        Fixed where mysqltest traces are put
      mysql-test/r/lock_multi.result:
        Test for LOCK TABLE + DROP TABLE bug
      mysql-test/t/lock_multi.test:
        Test for LOCK TABLE + DROP TABLE bug
      mysys/thr_lock.c:
        Added function to abort a lock for a specific thread
      sql/handler.cc:
        Indentation cleanup
      sql/lock.cc:
        Added function to abort a lock for a specific thread
      sql/mysql_priv.h:
        Added function to abort a lock for a specific thread
      sql/mysqld.cc:
        Use automatic recover even with --safe
      3446199d
  5. 03 Mar, 2003 1 commit
    • unknown's avatar
      Replication: small bug fixes in mysql-test-run.sh and in replication code (more reinitializations) · 28554150
      unknown authored
      + fix for #70 
      + test result fix for LOAD DATA LOCAL bug #82
      
      
      client/mysqltest.c:
        Removed wrong comment and useless sleep
      mysql-test/mysql-test-run.sh:
        Fix $slave_datadir variable because this
          if [ -n "$1" ] ; 
           slave_datadir="var/$slave_ident-data/"
          else
            slave_datadir=$SLAVE_MYDDIR
        was not coherent and led to problems of master.info not being deleted.
        Delete relay-log.info too.
      mysql-test/r/rpl000001.result:
        SUM is 1022 (1021 was when we had the LOAD DATA LOCAL bug #82).
        It's logical to have an even number as we load the same file twice.
      sql/slave.cc:
        When we RESET SLAVE, clear rli->master_log_* to give a good display in SHOW SLAVE STATUS ;
        seeing the old values may confuse the user.
        When we START SLAVE, clear rli->master_log_name, not only rli->master_log_pos.
      sql/sql_repl.cc:
        When we RESET SLAVE, clear mi->master_log_* to give a good display in SHOW SLAVE STATUS (bug #70)
      28554150
  6. 25 Feb, 2003 1 commit
  7. 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
  8. 10 Feb, 2003 1 commit
    • unknown's avatar
      Better fix for count(distinct) bug · 03865c5f
      unknown authored
      include/my_sys.h:
        Remove compiler warning
      mysql-test/mysql-test-run.sh:
        Don't examine log files when you run with --extern
      03865c5f
  9. 28 Jan, 2003 1 commit
    • 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
  10. 09 Jan, 2003 1 commit
    • unknown's avatar
      Portability fix · afbd3fc5
      unknown authored
      BUILD/compile-alpha-cxx:
        Don't do depend files with Compaq compiler
      configure.in:
        Don't do depend files with Compaq compiler
      extra/mysql_waitpid.c:
        Portability fixes
      mysql-test/mysql-test-run.sh:
        Better timeout for valgrind
      afbd3fc5
  11. 07 Jan, 2003 1 commit
    • unknown's avatar
      Portability fixes · b3b66f64
      unknown authored
      Fixed test suite for HPUX 10.20 and MacOSX
      
      
      Build-tools/Do-compile:
        Added timeout to mysqladmin shutdown commands
        Kill old running mysqld started by earlier runs
        Removed run time warning from LD_LIBRARY_PATH
      client/mysqladmin.c:
        Return 1 if pid file isn't deleted on shutdown.
        Fix error message if pid file is not deleted
      client/mysqltest.c:
        Always allow --debug flag
        (Makes it easier to run mysql-test-run)
      mysql-test/mysql-test-run.sh:
        A lot of safety fixes. 
        This fixes some problems with test suite for HPUX 10.20 and MacOSX
      sql-bench/bench-init.pl.sh:
        Allow tests to change time limit.
      sql-bench/crash-me.sh:
        Indentation cleanups
        Added DROP for a created table
      sql-bench/test-alter-table.sh:
        Added default time limit
        Changed test to be estimated to get down run time.
        Fixed that add_multi_col is detected
      sql-bench/test-insert.sh:
        Comment cleanup
      sql/mysql_priv.h:
        Removed not needed prototype.
      sql/mysqld.cc:
        Removed DBUG warnings
        Removed default argument for clean_up() and made it static.
        More comments.
        Ignore SIGHUP during shutdown
      sql/net_pkg.cc:
        More comments
      sql/slave.cc:
        Added DBUG_PRINT messages
      b3b66f64
  12. 06 Dec, 2002 1 commit
  13. 05 Dec, 2002 1 commit
    • unknown's avatar
      Removed copying of parameters as this leads to memory leaks in embedded server. · 591b0585
      unknown authored
      Fixed 'not initialized' memory error.
      
      
      mysql-test/mysql-test-run.sh:
        Updates to be able to more easily use --valgrind
      mysql-test/r/alter_table.result:
        Added missing drop table
      mysql-test/t/alter_table.test:
        Added missing drop table
      sql/field.cc:
        Simple optimizations
      sql/ha_innodb.cc:
        Remove copying of parameters as this leads to memory leaks in MySQL.
        Should be instead fixed by, in embedded server, make a temporary copy of
        all parameters and free them on server-end
      sql/log.cc:
        Simple optimization
      sql/mysql_priv.h:
        Move external reference to struct to include file
      sql/mysqld.cc:
        Added safety asserts
      sql/sql_class.cc:
        Fixed non fatal 'not initialized memory reference error' in thread init
      sql/sql_udf.cc:
        Clear current_thd for global thread
      strings/strto.c:
        Simple optimization
      591b0585
  14. 22 Nov, 2002 1 commit
    • 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
  15. 05 Nov, 2002 1 commit
    • unknown's avatar
      Removed wrong patch to fix DATE BETWEEN TIMESTAMP1 AND TIMESTAMP2 · 841fa6f6
      unknown authored
      Some simple optimizations
      
      
      Docs/manual.texi:
        Updted how binary log works
      mysql-test/mysql-test-run.sh:
        Added usage of --port to mysqltest
      mysql-test/r/func_test.result:
        Moved test of datetime comparison to func_time
      mysql-test/r/func_time.result:
        New test
      mysql-test/t/func_test.test:
        Moved test of datetime comparison to func_time
      mysql-test/t/func_time.test:
        Test of DATE BETWEEN TIMESTAMPS
      sql/field.h:
        Removed wrong patch
      sql/item_cmpfunc.cc:
        Removed wrong patch
        (Need to be fixed by taking into account all arguments to between)
      sql/lock.cc:
        Removed call to current_thd
      sql/set_var.cc:
        Don't show 'socket' variable if sockets are not used
      sql/sql_base.cc:
        Simple optimisation
      841fa6f6
  16. 29 Oct, 2002 2 commits
    • unknown's avatar
      Added --skip-safemalloc to mysqltest · 31ba88c0
      unknown authored
      Added bug fix from 3.23 for AIX 4.3.3 and gcc 3.x
      Small change in EXCHANGE output
      Propagate open-files-limit from mysqld_safe -> mysqld
      Fixed speed bug in GROUP BY
      Added quotes around database name in CREATE DATABASE db_name (for binary log)
      
      
      BitKeeper/etc/ignore:
        added stamp-h1
      Docs/manual.texi:
        Added 4.1 manual section
        Updated changelog
      client/mysqltest.c:
        Added --skip-safemalloc
      include/my_global.h:
        Added bug fix from 3.23 for AIX 4.3.3 and gcc 3.x
      mysql-test/mysql-test-run.sh:
        Start mysqltest with --skip-safemalloc (To get it faster)
      mysql-test/r/bdb.result:
        Update for new EXPLAIN output
      mysql-test/r/compare.result:
        Update for new EXPLAIN output
      mysql-test/r/create.result:
        Update for new EXPLAIN output
      mysql-test/r/distinct.result:
        Update for new EXPLAIN output
      mysql-test/r/explain.result:
        Update for new EXPLAIN output
      mysql-test/r/group_by.result:
        Update for new EXPLAIN output
      mysql-test/r/heap.result:
        Update for new EXPLAIN output
      mysql-test/r/innodb.result:
        Update for new EXPLAIN output
      mysql-test/r/join_outer.result:
        Update for new EXPLAIN output
      mysql-test/r/key_diff.result:
        Update for new EXPLAIN output
      mysql-test/r/merge.result:
        Update for new EXPLAIN output
      mysql-test/r/null_key.result:
        Update for new EXPLAIN output
      mysql-test/r/order_by.result:
        Update for new EXPLAIN output
      mysql-test/r/select.result:
        Update for new EXPLAIN output
      mysql-test/r/temp_table.result:
        Fixed speed bug in GROUP BY
      mysql-test/r/type_datetime.result:
        Update for new EXPLAIN output
      mysql-test/r/user_var.result:
        Update for new EXPLAIN output
      mysql-test/r/variables.result:
        Removed variable safe_show_database
      mysql-test/t/temp_table.test:
        Fixed speed bug in GROUP BY
      mysql-test/t/variables.test:
        Removed not used variable safe_show_databases
      scripts/mysqld_safe.sh:
        Propagate open-files-limit from mysqld_safe -> mysqld
      sql/mysqld.cc:
        Removed variable safe_show_database
      sql/set_var.cc:
        Removed variable safe_show_database
      sql/slave.cc:
        Updated error message
      sql/sql_db.cc:
        Added quotes around database name in CREATE DATABASE db_name
      sql/sql_select.cc:
        Fixed speed bug in GROUP BY
      31ba88c0
    • unknown's avatar
      Added back old LARGEFILE handling · ea3ffb9b
      unknown authored
      Fixed reference to freed memory in acl_init()/grant_init()
      Fixed possible memory leak. (Could only happen in very strange circumstances)
      Fixed bug in ALTER TABLE with BDB tables
      Updated mysql-test for valgrind
      
      
      Docs/manual.texi:
        ChangeLog
      acinclude.m4:
        Added back old LARGEFILE handling.
        (Needed to get MySQL to compile on Solaris 2.9 with gcc 3.x)
      configure.in:
        Added back old LARGEFILE handling.
        (Needed to get MySQL to compile on Solaris 2.9 with gcc 3.x)
      libmysqld/lib_sql.cc:
        Fixed reference to freed memory
      mysql-test/mysql-test-run.sh:
        Added option --valgrind
      mysys/Makefile.am:
        Removed warning when doing make
      sql/mysqld.cc:
        Free regexp memory on shutdown.
        read 'des' key files from data directory
        Fixed reference to freed memory in grant_init()
      sql/slave.cc:
        Fixed wrong printf() argument
      sql/sql_acl.cc:
        Fixed reference to freed memory
      sql/sql_acl.h:
        Fixed reference to freed memory
      sql/sql_base.cc:
        Fixed possible memory leak. (Could only happen in very strange circumstances)
      sql/sql_parse.cc:
        Updated arguments to grant_reload()
      sql/sql_table.cc:
        Fixed bug in ALTER TABLE with BDB tables
      sql/sql_yacc.yy:
        memset -> bzero
      ea3ffb9b
  17. 23 Sep, 2002 1 commit
  18. 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
  19. 05 Sep, 2002 1 commit
    • unknown's avatar
      Fixed searching after ssl directories. · 8f2482d2
      unknown authored
      Fixed that GRANT ... REQUIRE options are not forgot when doing new GRANT
      Changed fn_ext to point at first '.' after directory.
      FLUSH LOGS removed numerical extension for all future update logs.
      Fixed the mysqld --help reports right values for --datadir and --bind-address
      --log-binary=a.b.c now properly strips of .b.c
      Fix that one can DROP UDF functions that was not loaded at startup
      Made AND optional in REQUIRE
      Added REQUIRE NONE
      
      
      BitKeeper/deleted/.del-CodingStyle~1ba7ff62d4cd0ea:
        Delete: vio/docs/CodingStyle
      BitKeeper/deleted/.del-COPYING.dbug~ca0c017a4d7e8609:
        Delete: vio/docs/COPYING.dbug
      BitKeeper/deleted/.del-COPYING.mysql~471498c82977cd3a:
        Delete: vio/docs/COPYING.mysql
      BitKeeper/deleted/.del-README~947354991dc882f8:
        Delete: vio/docs/README
      Docs/manual.texi:
        Changelog
      acinclude.m4:
        Fixed searching after ssl directories.
      client/Makefile.am:
        Moved openssl include to avoid problem with installed readline
      include/Makefile.am:
        Install my_global.h
      include/violite.h:
        Fixed that GRANT ... REQUIRE options are not forgot when doing new grant
      libmysqld/examples/Makefile.am:
        Moved openssl include to avoid problem with installed readline
      mysql-test/mysql-test-run.sh:
        Improved 'which' handling to give error if command is not found
      mysys/mf_fn_ext.c:
        Changed fn_ext to point at first '.' after directory.
      sql/Makefile.am:
        More comments
      sql/lex.h:
        Added NONE as keyword
      sql/log.cc:
        FLUSH LOGS removed numerical extension for all future update logs.
        Simple code cleanup
      sql/mysqld.cc:
        Fixed the --help reports right values for --datadir and --bind-address
        --log-binary=a.b.c now properly strips of .b.c
        Removed option --skip-external-locking (not needed as this is automatic)
      sql/repl_failsafe.cc:
        Moved some common THD initalization to store_globals()
      sql/slave.cc:
        Moved openssl include to avoid problem with installed readline
      sql/sql_acl.cc:
        Moved openssl include to avoid problem with installed readline
      sql/sql_acl.h:
        Updated function prototypes
      sql/sql_base.cc:
        Added comment
      sql/sql_class.cc:
        Moved openssl include to avoid problem with installed readline.
        Changed THD::thd to make things work for main thread.
      sql/sql_class.h:
        Fixed wrongly removed line (fixes compiler problem on MacOSX)
      sql/sql_insert.cc:
        Moved openssl include to avoid problem with installed readline
      sql/sql_lex.cc:
        Moved save_to_cache_query=0 to udf detection function to make sql_yacc.yy simpler
      sql/sql_lex.h:
        Indentation cleanup
      sql/sql_parse.cc:
        Moved openssl include to avoid problem with installed readline.
        Added THD argument to acl_reload()
      sql/sql_repl.h:
        Made opt_bin_logname static
      sql/sql_udf.cc:
        Fix that one can DROP UDF functions that was not loaded at startup
      sql/sql_yacc.yy:
        made AND optional in REQUIRE
        Added REQUIRE NONE
        Fixed that old SSL options are not forgotten when doing new GRANT.
      sql/udf_example.cc:
        Improved comments
      8f2482d2
  20. 22 Aug, 2002 1 commit
    • unknown's avatar
      Fixed bug in wait_for_update() that I had introduced. · e4d5597d
      unknown authored
      Changed option variables to my_bool (to avoid bugs in my_getopt())
      Added new thread specific mutex LOCK_delete to be able to free LOCK_thread_count early.
      Changed usage of LOCK_thread_count -> LOCK_status for statistics variables
      
      
      libmysqld/lib_sql.cc:
        Removed not needed LOCK
      mysql-test/mysql-test-run.sh:
        Log name of running test
      mysql-test/r/rpl_sporadic_master.result:
        Cleaned up test
      mysql-test/t/rpl_sporadic_master.test:
        cleaned up test
      sql/log.cc:
        Cleanup.
        Fixed bug in wait_for_update() that I had introduced.
      sql/mini_client.cc:
        Indentation changes.
      sql/mysql_priv.h:
        Changed option variables to my_bool.
      sql/mysqld.cc:
        Changed option variables to my_bool.
        Removed not used LOCK_server_id
        Minor code cleanups.
      sql/repl_failsafe.cc:
        Minor code cleanups
      sql/slave.cc:
        Minor code cleanups.
        Fixed usage of wait_for_update().
      sql/slave.h:
        Changed option variables to my_bool.
      sql/sql_class.cc:
        Added new thread specific mutex LOCK_delete to be able to free LOCK_thread_count early
      sql/sql_class.h:
        Added new thread specific mutex LOCK_delete to be able to free LOCK_thread_count early
      sql/sql_insert.cc:
        Do broadcast after unlock()
      sql/sql_parse.cc:
        Removed not needed LOCK
        Changed usage of LOCK_thread_count -> LOCK_status for statistics variables
        Changed killing of threads to not lock LOCK_thread_count for long.
      sql/sql_repl.cc:
        Changed options variables to my_bool
        Fixed usage of wait_for_update()
        Fixed loop to kill slaves to not lock LOCK_thread_count for long.
        Code optimization.
      sql/sql_repl.h:
        bool -> my_bool
        Fixed KICK_SLAVE to use LOCK_delete
      e4d5597d
  21. 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
  22. 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
  23. 12 Aug, 2002 1 commit
    • unknown's avatar
      Fixed problem with BIGINT and shutdown on AIX · b2e94613
      unknown authored
      Moved IF(test,column,NULL) code to 4.0
      Changed mysys_priv.h to include my_pthread.h or my_no_pthread.h.
      Removed some CR's in os2 files.
      
      
      Docs/manual.texi:
        Changelog
      include/global.h:
        Fix for BIGINT problem on AIX
      include/my_no_pthread.h:
        Fixed typo
      libmysql/Makefile.shared:
        Fix for BIGINT problem on AIX
      mysql-test/mysql-test-run.sh:
        Fix to find xterm on AIX 4.3
      mysql-test/r/bigint.result:
        Fix for BIGINT problem on AIX
      mysql-test/r/func_if.result:
        Change results for IF() after reverting change.
      mysql-test/t/bigint.test:
        Fix for BIGINT problem on AIX
      mysys/Makefile.am:
        Fix for BIGINT problem on AIX
      mysys/my_gethostbyname.c:
        Cleanup
      mysys/my_init.c:
        Cleanup
      mysys/my_net.c:
        Cleanup
      mysys/my_os2cond.c:
        Space & CRLF cleanup
      mysys/my_os2dirsrch.c:
        Space & CRLF cleanup
      mysys/my_os2dirsrch.h:
        Space & CRLF cleanup
      mysys/my_os2dlfcn.c:
        Space & CRLF cleanup
      mysys/my_os2file64.c:
        Space & CRLF cleanup
      mysys/my_os2mutex.c:
        Space & CRLF cleanup
      mysys/my_os2thread.c:
        Space & CRLF cleanup
      mysys/my_os2tls.c:
        Space & CRLF cleanup
      mysys/mysys_priv.h:
        cleanup
      mysys/thr_rwlock.c:
        cleanup
      sql/ha_innobase.cc:
        Removed usage of sprintf()
        Fixed missing end \0 which caused control characters to appear in SHOW INNODB STATUS
      sql/item_cmpfunc.cc:
        Reverted change for IF()
      sql/mysqld.cc:
        Fix for shutdown on AIX
      b2e94613
  24. 08 Aug, 2002 1 commit
    • unknown's avatar
      Lots of code fixes to the replication code (especially the binary logging and... · f01f4991
      unknown authored
      Lots of code fixes to the replication code (especially the binary logging and index log file handling)
      Fixed bugs in my last changeset that made MySQL hard to compile.
      Added mutex around some data that could cause table cache corruptions when using OPTIMIZE TABLE / REPAIR TABLE or automatic repair of MyISAM tables.
      Added mutex around some data in the slave start/stop code that could cause THD linked list corruptions
      Extended my_chsize() to allow one to specify a filler character.
      Extend vio_blocking to return the old state (This made some usage of this function much simpler)
      Added testing for some functions that they caller have got the required mutexes before calling the function.
      Use setrlimit() to ensure that we can write core file if one specifies --core-file.
      Added --slave-compressed-protocol
      Made 2 the minimum length for ft_min_word_len
      Added variables foreign_key_checks & unique_checks.
      Less logging from replication code (if not started with --log-warnings)
      Changed that SHOW INNODB STATUS requre the SUPER privilege
      More DBUG statements and a lot of new code comments
      
      
      BitKeeper/deleted/.del-rpl_compat.result~c950bc346b12c61a:
        Delete: mysql-test/r/rpl_compat.result
      BitKeeper/deleted/.del-rpl_compat.test~5f6ba955e02aa95f:
        Delete: mysql-test/t/rpl_compat.test
      Docs/manual.texi:
        Updated manual with fixes in this changeset
      client/mysqltest.c:
        Indentation cleanup
        Better error messages for some error conditions.
      include/my_pthread.h:
        Added 'safe_mutex_assert_owner()' to check that the thread really owns the mutex.
      include/my_sys.h:
        Extended my_chsize() to allow one to specify a filler character.
        (For MySQL index logs)
      include/raid.h:
        New my_chsize()
      include/violite.h:
        Extend vio_blocking to return the old state
      innobase/include/dyn0dyn.h:
        Merge with 3.23 (AIX DYN_ARRAY_DATA_SIZE)
      innobase/include/dyn0dyn.ic:
        Merge with 3.23
      isam/create.c:
        Fix for new my_chsize()
      isam/isamchk.c:
        Fix for new my_chsize()
      isam/pack_isam.c:
        Fix for new my_chsize()
      libmysql/manager.c:
        Fix for new vio_blocking()
      libmysqld/lib_sql.cc:
        Fix for new open_log()
      myisam/mi_cache.c:
        Fix typo from previous checking
      myisam/mi_check.c:
        Fix for new my_chsize()
      myisam/mi_create.c:
        Fix for new my_chsize()
      myisam/mi_delete_all.c:
        Fix for new my_chsize()
      myisam/myisampack.c:
        Fix for new my_chsize()
      mysql-test/include/master-slave.inc:
        Better initialization for replication tests
      mysql-test/mysql-test-run.sh:
        Added option --log-warnings
      mysql-test/r/insert.result:
        More tests if INSERT ...(DEFAULT)
      mysql-test/r/rpl000001.result:
        Clean up tests for new master-slave.inc
        Remove 'use database'
      mysql-test/r/rpl000002.result:
        Clean up tests for new master-slave.inc
        Remove 'use database'
      mysql-test/r/rpl000003.result:
        Clean up tests for new master-slave.inc
        Remove 'use database'
      mysql-test/r/rpl000004.result:
        Clean up tests for new master-slave.inc
        Remove 'use database'
      mysql-test/r/rpl000005.result:
        Clean up tests for new master-slave.inc
        Remove 'use database'
      mysql-test/r/rpl000006.result:
        Clean up tests for new master-slave.inc
        Remove 'use database'
      mysql-test/r/rpl000007.result:
        Clean up tests for new master-slave.inc
        Remove 'use database'
      mysql-test/r/rpl000008.result:
        Clean up tests for new master-slave.inc
        Remove 'use database'
      mysql-test/r/rpl000009.result:
        Clean up tests for new master-slave.inc
        Remove 'use database'
      mysql-test/r/rpl000010.result:
        Clean up tests for new master-slave.inc
        Remove 'use database'
      mysql-test/r/rpl000011.result:
        Clean up tests for new master-slave.inc
        Remove 'use database'
      mysql-test/r/rpl000012.result:
        Clean up tests for new master-slave.inc
        Remove 'use database'
      mysql-test/r/rpl000013.result:
        Clean up tests for new master-slave.inc
        Remove 'use database'
      mysql-test/r/rpl000014.result:
        Clean up tests for new master-slave.inc
        Remove 'use database'
      mysql-test/r/rpl_alter.result:
        Clean up tests for new master-slave.inc
        Remove 'use database'
      mysql-test/r/rpl_empty_master_crash.result:
        Clean up tests for new master-slave.inc
        Remove 'use database'
      mysql-test/r/rpl_get_lock.result:
        Clean up tests for new master-slave.inc
        Remove 'use database'
      mysql-test/r/rpl_log.result:
        Clean up tests for new master-slave.inc
        Remove 'use database'
      mysql-test/r/rpl_magic.result:
        Clean up tests for new master-slave.inc
        Remove 'use database'
      mysql-test/r/rpl_mystery22.result:
        Clean up tests for new master-slave.inc
        Remove 'use database'
      mysql-test/r/rpl_skip_error.result:
        Clean up tests for new master-slave.inc
        Remove 'use database'
      mysql-test/r/rpl_sporadic_master.result:
        Clean up tests for new master-slave.inc
        Remove 'use database'
      mysql-test/t/insert.test:
        More tests if INSERT ...(DEFAULT)
      mysql-test/t/rpl000001.test:
        Clean up tests for new master-slave.inc
        Remove 'use database'
      mysql-test/t/rpl000002.test:
        Clean up tests for new master-slave.inc
        Remove 'use database'
      mysql-test/t/rpl000003.test:
        Clean up tests for new master-slave.inc
        Remove 'use database'
      mysql-test/t/rpl000004.test:
        Clean up tests for new master-slave.inc
        Remove 'use database'
      mysql-test/t/rpl000005.test:
        Clean up tests for new master-slave.inc
        Remove 'use database'
      mysql-test/t/rpl000006.test:
        Clean up tests for new master-slave.inc
        Remove 'use database'
      mysql-test/t/rpl000007.test:
        Clean up tests for new master-slave.inc
        Remove 'use database'
      mysql-test/t/rpl000009.test:
        Clean up tests for new master-slave.inc
        Remove 'use database'
      mysql-test/t/rpl000011.test:
        Clean up tests for new master-slave.inc
        Remove 'use database'
      mysql-test/t/rpl000013.test:
        Clean up tests for new master-slave.inc
        Remove 'use database'
      mysql-test/t/rpl000014.test:
        Clean up tests for new master-slave.inc
        Remove 'use database'
      mysql-test/t/rpl_alter.test:
        Clean up tests for new master-slave.inc
        Remove 'use database'
      mysql-test/t/rpl_empty_master_crash.test:
        Clean up tests for new master-slave.inc
        Remove 'use database'
      mysql-test/t/rpl_get_lock.test:
        Clean up tests for new master-slave.inc
        Remove 'use database'
      mysql-test/t/rpl_magic.test:
        Clean up tests for new master-slave.inc
        Remove 'use database'
      mysql-test/t/rpl_mystery22.test:
        Clean up tests for new master-slave.inc
        Remove 'use database'
      mysql-test/t/rpl_skip_error.test:
        Clean up tests for new master-slave.inc
        Remove 'use database'
      mysql-test/t/rpl_sporadic_master.test:
        Clean up tests for new master-slave.inc
        Remove 'use database'
      mysys/mf_iocache.c:
        More debug info
        Force seek after reinit_io_cache()
      mysys/mf_iocache2.c:
        Added my_b_filelength()
      mysys/my_chsize.c:
        Extended my_chsize() to allow one to specify a filler character.
        (For MySQL index logs)
      mysys/raid.cc:
        Extended my_chsize() to allow one to specify a filler character.
        (For MySQL index logs)
      sql/field.h:
        Fix for INSERT ... (DEFAULT)
      sql/ha_berkeley.h:
        Fix for dynamic variables
      sql/ha_innodb.cc:
        Change sprintf() to my_sprintf() to make code portable.
        Fix after sync with 3.23
        (We still need to fix the storage of the replication position in innodb)
      sql/ha_innodb.h:
        Fix for dynamic variables
      sql/handler.cc:
        Remove writting of COMMIT to the binary log.
        (Now done in MYSQL_LOG::write())
      sql/item_func.cc:
        Query_log_event() now always takes query length.
      sql/item_func.h:
        Indentation cleanup
      sql/item_strfunc.h:
        Indentation cleanup
      sql/item_timefunc.h:
        Indentation cleanup
      sql/lock.cc:
        Check that we own critical mutexes.
      sql/log.cc:
        Big code cleanup / rewrite / optimize.
        - The index log file has its own IO_CACHE object.
        - Many functions totally rewritten to make them smaller and faster.
        - New handling of index log files
        - Lots of new comments
      sql/log_event.cc:
        Code cleanup
        New comments
      sql/log_event.h:
        Query_log_event() now always takes query length.
      sql/mini_client.cc:
        Better error messages on reconnect.
        Fixed wrong variable usage from last commit.
      sql/mysql_priv.h:
        New arguments to open_log()
      sql/mysqld.cc:
        Use setrlimit() to ensure that we can write core file if one specifies --core-file
        Added index file name as parameter to openlog().
        Added --slave-compressed-protocol
        Made 2 the minimum length for ft_min_word_len
      sql/net_serv.cc:
        Use new vio_blocking()
        (The vio_blocking() change was done to make this code more readable)
      sql/repl_failsafe.cc:
        Minor code cleanup
      sql/set_var.cc:
        Added variables slave_compressed_protocol, foreign_key_checks & unique_checks.
      sql/set_var.h:
        Generalization
      sql/slave.cc:
        Code cleanup & rewrite.
        Dont call SELECT VERSION() on check_master_version()
        New init_slave() code.
        Ensure that all threads create a THD early.
        Add locks around manipulation of critical structures
        Don't retry a command more than master_retry_count times.
        Write less warnings to the log file (if not started with --log-warnings)
        Faster flush_relay_log_info()
      sql/slave.h:
        More comments
        Added new arguments to some functions.
      sql/sql_acl.cc:
        More DBUG info
        New parameter to Query_log_event()
      sql/sql_base.cc:
        Added some mutex checking.
      sql/sql_cache.cc:
        Less not critical debug info
      sql/sql_class.h:
        Fix for new log handling.
      sql/sql_db.cc:
        Added mutex around remove_db_from_cache()
      sql/sql_delete.cc:
        Added missing parameters to changed functions
      sql/sql_insert.cc:
        Added missing parameters to changed functions
      sql/sql_parse.cc:
        Do an 'end_active_trans()' before 'load_master_data'
        Changed that SHOW INNODB STATUS requre the SUPER privilege
        Added new function parameters to new functions
      sql/sql_rename.cc:
        Added missing parameters to changed functions
      sql/sql_repl.cc:
        Code cleanups / new comments
        Fix for new find_first_log() calling standard.
        More DBUG statements.
        Show binlogs updated to use new IO_CACHE:d index log file.
      sql/sql_repl.h:
        New function arguments
      sql/sql_select.cc:
        Indentation changes
      sql/sql_table.cc:
        Added missing parameters to changed functions
        Added checking of mutex
        Added mutex around critical regions.
      sql/sql_test.cc:
        Don't use THR_ALARM if the configuration doesn't support it.
      sql/sql_update.cc:
        Added missing parameters to changed functions
      sql/table.cc:
        Added missing parameters to changed functions
      vio/vio.c:
        Extend vio_blocking to return the old state
      vio/viosocket.c:
        Extend vio_blocking to return the old state
      vio/viossl.c:
        Extend vio_blocking to return the old state
      f01f4991
  25. 06 Aug, 2002 1 commit
    • unknown's avatar
      Better error messages for mysql-test-run · 72345f2b
      unknown authored
      Added option --host to mysqlhotcopy
      
      
      mysql-test/mysql-test-run.sh:
        Added error message if the server doesn't start.
        Increase connect timeout a bit (for running under purify).
      mysql-test/t/rpl000001.test:
        Longer sleep time (for running under purify)
      scripts/mysqlhotcopy.sh:
        Added option --host for usage with TCP/IP connections
      sql/gen_lex_hash.cc:
        Fixed typo
      72345f2b
  26. 05 Jun, 2002 1 commit
    • unknown's avatar
      removed init_count from IO_CACHE. · 03728196
      unknown authored
      Added missing mutex_unlock to slave replication code.
      
      
      include/my_sys.h:
        removed init_count from IO_CACHE.
        General cleanup.
      innobase/srv/srv0srv.c:
        Initailize slots to avoid purify warnings.
        Removed some compiler warnings.
      mysql-test/mysql-test-run.sh:
        Automatic start of slave under gdb
      mysys/mf_iocache.c:
        removed init_count
      sql/field.cc:
        Cleanup
      sql/log.cc:
        Cleanup
        added open_count variable.
      sql/log_event.cc:
        cleanup
        use is_prefix instead of memcmp()
      sql/repl_failsafe.cc:
        cleanup
      sql/slave.cc:
        cleanup
        use MYSQL_LOG->open_count instead of IO_CACHE->init_count
        Added missing mutex_unlock()
      sql/slave.h:
        cleanup
      sql/sql_class.h:
        cleanup
        Added open_count to MYSQL_LOGL
      sql/sql_parse.cc:
        removed compiler warning
      sql/sql_repl.cc:
        added DBUG_xxx
      sql/unireg.h:
        Added BIN_LOG_HEADER_SIZE
      03728196
  27. 26 Apr, 2002 1 commit
    • unknown's avatar
      Portability fixes · cacfcb64
      unknown authored
      myisam/ft_boolean_search.c:
        Portability fix
      mysql-test/mysql-test-run.sh:
        Added slave_net_timeout
      mysql-test/r/func_if.result:
        Updated results after merge from 3.23
      mysql-test/r/func_test.result:
        Updated results after merge from 3.23
      mysql-test/r/innodb.result:
        Updated results after merge from 3.23
      mysql-test/r/show_check.result:
        Updated results after merge from 3.23
      mysql-test/r/variables.result:
        Updated results after merge from 3.23
      cacfcb64
  28. 05 Mar, 2002 2 commits
    • unknown's avatar
      Update scripts for new POSIX spec · 326d80ea
      unknown authored
      Fix for --enable-local-infile
      Portability fix for bison
      
      
      bdb/dist/s_recover:
        Update for new POSIX spec
      configure.in:
        Fix for --enable-local-infile
      libmysql/libmysql.c:
        Cleanup
      mysql-test/mysql-test-run.sh:
        Update for new POSIX spec
      scripts/safe_mysqld.sh:
        Update for new POSIX spec
      sql-bench/server-cfg.sh:
        Update for new POSIX spec
      sql/sql_yacc.yy:
        Portability fix for bison
      326d80ea
    • unknown's avatar
      several bug fixes and tests · a02a98c4
      unknown authored
      mysql-test/mysql-test-run.sh:
        Fix for LOAD DATA LOCAL ...
      mysql-test/r/select_found.result:
        Added result for a new test of combo of options for FOUND_ROWS and
        BUFFER_RESULT
      mysql-test/t/select_found.test:
        Added test for combo of options for BUFFER_RESULT and FOUND_ROWS
      sql/sql_select.cc:
        Added fix for combo of options for BUFFER_RESULT and FOUND_ROWS
      a02a98c4
  29. 02 Mar, 2002 1 commit
    • unknown's avatar
      post-merge fixup · 3eb9c0be
      unknown authored
      BitKeeper/etc/ignore:
        Added mysys/test_vsnprintf to the ignore list
      mysql-test/mysql-test-run.sh:
        post-merge fix
      mysys/my_vsnprintf.c:
        fixed newly introduced bug
      3eb9c0be
  30. 15 Feb, 2002 1 commit
    • unknown's avatar
      updates for the new build · 1e94643c
      unknown authored
      configure.in:
        support for static nss on Linux when compiling --with-other-libc
      mysql-test/mysql-test-run.sh:
        --user-test option
      1e94643c
  31. 10 Feb, 2002 1 commit
  32. 09 Feb, 2002 1 commit
    • unknown's avatar
      updated test suite to be able to run 3.23 master and 4.0 slave · ff3b98e6
      unknown authored
      got LOAD DATA INFILE replication from 3.23 master to 4.0 slave to work
      for some reason query_cache now fails - will push anyway and document the
      failure if I can repeat it.
      
      
      client/mysqltest.c:
        added require_version
      mysql-test/mysql-test-run.sh:
        added --master-binary=,--slave-binary=,--old-master options
        sleep_until_file_exists -> sleep_until_file_created
      sql/slave.cc:
        fixed bug in LOAD DATA INFILE replication from 3.23 master
      ff3b98e6
  33. 27 Jan, 2002 1 commit
    • unknown's avatar
      misc replication bugfixes including some needed modifications in IO_CACHE · 83666b3e
      unknown authored
      likely() and unlikely() branch prediction compiler hint macros
      clean-up of comments
      
      
      include/my_global.h:
        added likely() and unlikely() macros to help some compilers optimize
        the code for architecture-specific branch prediction policies
      include/my_sys.h:
        coverted my_b_append_tell() from macro to a function as it needed to be more
        complex to avoid a potential race condition
      mysql-test/mysql-test-run.sh:
        hostname-independent relay log name to have consistent SHOW SLAVE STATUS
        output
      mysql-test/r/rpl000014.result:
        result update
      mysql-test/r/rpl000015.result:
        result update
      mysql-test/r/rpl000016.result:
        result update
      mysql-test/r/rpl_log.result:
        result update
      mysql-test/t/rpl000017-slave.sh:
        proper cleanup of old logs
      mysys/mf_iocache.c:
        cosmetic changes + more debugging asserts
      mysys/mf_iocache2.c:
        my_b_append_tell()
        cleanup of comments
      sql/log.cc:
        fix potential bug - do not rotate log in the middle of event
      sql/slave.cc:
        do not write stop events when the server does not actually stop but just 
        rotates the log
        fixed race between queue_event() and show_slave_status()
        clean-up of comments
      sql/slave.h:
        added ignore_stop_event flag to SLAVE_LOG_INFO
      83666b3e
  34. 22 Jan, 2002 1 commit
    • unknown's avatar
      post-merge fixes, including slave-skip-errors backport · 11f04648
      unknown authored
      fixed too quick timeout in mysql-test-run which caused a race with the
       new server getting started before the old one completely finished 
       shutdown. This should fix the pid warning we've been getting as well as
       inconsistent results when running tests with the manager
      
      
      libmysqld/lib_sql.cc:
        post-merge fix
      mysql-test/mysql-test-run.sh:
        fixed start/stop timeout and cleanup of log directory
      mysql-test/r/rpl000014.result:
        post-merge fix
      mysql-test/r/rpl000015.result:
        post-merge fix
      mysql-test/r/rpl000016.result:
        post-merge fix
      mysql-test/r/rpl_log.result:
        post-merge fix
      sql/log_event.cc:
        post-merge fix
      sql/slave.cc:
        post-merge fix
      sql/slave.h:
        post-merge fix
      sql/sql_class.h:
        post-merge fix
      tools/mysqlmanager.c:
        added debug message
      11f04648
  35. 23 Dec, 2001 2 commits
    • unknown's avatar
      Fixed test case after HANDLER CLOSE fix · 27f652ef
      unknown authored
      mysql-test/mysql-test-run.sh:
        Safety fix
      27f652ef
    • unknown's avatar
      Limit created keys to MAX_KEY_LENGTH. · 953ac1a5
      unknown authored
      Fix problem with query cache and database names
      
      
      mysql-test/mysql-test-run.sh:
        Portability fixes
      mysql-test/r/query_cache.result:
        More tests when using different databases
      mysql-test/t/query_cache.test:
        More tests when using different databases
      sql-bench/test-wisconsin.sh:
        Portability fix
      sql/sql_cache.cc:
        Fix problem with query cache and database names
      sql/sql_parse.cc:
        Remove pre and end space in query.
      sql/sql_table.cc:
        Limit created keys to MAX_KEY_LENGTH.
      953ac1a5
  36. 20 Dec, 2001 1 commit
    • unknown's avatar
      Fix insert delated + query cache. · c23e5a83
      unknown authored
      Fix pthread_mutex_trylock on HPUX (needed for query cache).
      
      
      include/my_pthread.h:
        Fixed mutex problem with pthread_mutex_trylock on HPUX.
      mysql-test/mysql-test-run.sh:
        Wait for .pid file instead of .sock, because .pid is created later.
      mysql-test/r/query_cache.result:
        Test insert delated + query cache
      mysql-test/t/query_cache.test:
        Test insert delated + query cache
      mysys/my_pthread.c:
        Fixed mutex problem with pthread_mutex_trylock on HPUX.
      sql/repl_failsafe.cc:
        Safety
      sql/sql_insert.cc:
        Fix insert delated + query cache
      c23e5a83
  37. 19 Dec, 2001 1 commit
    • unknown's avatar
      Fixed bug in FLUSH QUERY CACHE · 9f57d97f
      unknown authored
      Changed 'send_file_to_server' to use less stack (Fixed replication problem on OSF1).
      
      
      Docs/manual.texi:
        Changelog
      libmysql/libmysql.c:
        Changed 'send_file_to_server' to use less stack (Fixed some problems in threaded applications)
      mysql-test/mysql-test-run.sh:
        Fixed --sleep option
      sql/mini_client.cc:
        Changed 'send_file_to_server' to use less stack (Fixed replication problem on OSF1).
      sql/mysqld.cc:
        Destroy query cache properly
      sql/sql_cache.cc:
        Fixed bug in FLUSH QUERY CACHE
      9f57d97f