An error occurred fetching the project authors.
  1. 22 Jan, 2002 1 commit
    • unknown's avatar
      post-merge fixes, including slave-skip-errors backport · a7178989
      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
      a7178989
  2. 20 Jan, 2002 1 commit
    • unknown's avatar
      Here comes a nasty patch, although I am not ready to push it yet. I will · 6291b7b5
      unknown authored
      first pull, merge,test, and get it to work.
      
      The main change is the new replication code - now we have two slave threads
      SQL thread and I/O thread. I have also re-written a lot of the code to 
      prepare for multi-master implementation. 
      
      I also documented IO_CACHE quite extensively and to some extend, THD class.
      
      
      Makefile.am:
        moved tags target script into a separate file
      include/my_sys.h:
        fixes in IO_CACHE for SEQ_READ_APPEND + some documentation
      libmysqld/lib_sql.cc:
        updated replication locks, but now I see I did it wrong and it won't compile. Will fix
        before the push.
      mysql-test/r/rpl000014.result:
        test result update
      mysql-test/r/rpl000015.result:
        test result update
      mysql-test/r/rpl000016.result:
        test result update
      mysql-test/r/rpl_log.result:
        test result update
      mysql-test/t/rpl000016-slave.sh:
        remove relay logs
      mysql-test/t/rpl000017-slave.sh:
        remove relay logs
      mysql-test/t/rpl_log.test:
        updated test
      mysys/mf_iocache.c:
        IO_CACHE updates to make replication work
      mysys/mf_iocache2.c:
        IO_CACHE update to make replication work
      mysys/thr_mutex.c:
        cosmetic change
      sql/item_func.cc:
        new replication code
      sql/lex.h:
        new replication
      sql/log.cc:
        new replication
      sql/log_event.cc:
        new replication
      sql/log_event.h:
        new replication
      sql/mini_client.cc:
        new replication
      sql/mini_client.h:
        new replication
      sql/mysql_priv.h:
        new replication
      sql/mysqld.cc:
        new replication
      sql/repl_failsafe.cc:
        new replication
      sql/slave.cc:
        new replication
      sql/slave.h:
        new replication
      sql/sql_class.cc:
        new replication
      sql/sql_class.h:
        new replication
      sql/sql_lex.h:
        new replication
      sql/sql_parse.cc:
        new replication
      sql/sql_repl.cc:
        new replication
      sql/sql_repl.h:
        new replication
      sql/sql_show.cc:
        new replication
      sql/sql_yacc.yy:
        new replication
      sql/stacktrace.c:
        more robust stack tracing
      sql/structs.h:
        new replication code
      BitKeeper/etc/ignore:
        Added mysql-test/r/rpl000002.eval mysql-test/r/rpl000014.eval mysql-test/r/rpl000015.eval mysql-test/r/rpl000016.eval mysql-test/r/slave-running.eval mysql-test/r/slave-stopped.eval to the ignore list
      6291b7b5
  3. 13 Dec, 2001 1 commit
    • unknown's avatar
      slave-skip-errors · 9cbc19c8
      unknown authored
      added extra/mysql_install.c - will work on it in 4.0, but it does not hurt
      to have it sit in 3.23 tree for now since it will eventually be backported 
      to 3.23 anyway 
      
      
      Docs/manual.texi:
        documented slave-skip-errors
        updated change history
      extra/resolve_stack_dump.c:
        fixed wrong help message
      include/my_bitmap.h:
        bitmap code updates
      mysql-test/r/rpl_get_lock.result:
        test for a possible bug in release_lock() replication
      mysql-test/t/rpl_get_lock.test:
        test for possible bug in release_lock replication
      mysys/my_bitmap.c:
        bitmap code updates/clean-up
      sql/mysqld.cc:
        slave-skip-errors
      sql/slave.cc:
        slave-skip-errors
      sql/slave.h:
        slave skip errors
      9cbc19c8
  4. 06 Dec, 2001 1 commit
    • unknown's avatar
      Update copyright · 2306379e
      unknown authored
      Fixed memory leak on shutdown (Affects the embedded version & MyODBC)
      
      
      client/client_priv.h:
        Update copyright
      client/completion_hash.cc:
        Update copyright
      client/completion_hash.h:
        Update copyright
      client/connect_test.c:
        Update copyright
      client/errmsg.c:
        Update copyright
      client/get_password.c:
        Update copyright
      client/insert_test.c:
        Update copyright
      client/list_test.c:
        Update copyright
      client/my_readline.h:
        Update copyright
      client/mysql.cc:
        Update copyright
      client/mysqladmin.c:
        Update copyright
      client/mysqlbinlog.cc:
        Update copyright
      client/mysqlcheck.c:
        Update copyright
      client/mysqldump.c:
        Update copyright
      client/mysqlimport.c:
        Update copyright
      client/mysqlmanager-pwgen.c:
        Update copyright
      client/mysqlmanagerc.c:
        Update copyright
      client/mysqlshow.c:
        Update copyright
      client/mysqltest.c:
        Update copyright
      client/password.c:
        Update copyright
      client/readline.cc:
        Update copyright
      client/select_test.c:
        Update copyright
      client/showdb_test.c:
        Update copyright
      client/sql_string.cc:
        Update copyright
      client/sql_string.h:
        Update copyright
      client/ssl_test.c:
        Update copyright
      client/thimble.cc:
        Update copyright
      client/thread_test.c:
        Update copyright
      div/deadlock_test.c:
        Update copyright
      extra/comp_err.c:
        Update copyright
      extra/my_print_defaults.c:
        Update copyright
      extra/perror.c:
        Update copyright
      extra/replace.c:
        Update copyright
      extra/resolve_stack_dump.c:
        Update copyright
      extra/resolveip.c:
        Update copyright
      fs/database.c:
        Update copyright
      fs/libmysqlfs.c:
        Update copyright
      fs/mysqlcorbafs.c:
        Update copyright
      fs/mysqlcorbafs.h:
        Update copyright
      fs/mysqlcorbafs_test.c:
        Update copyright
      heap/_check.c:
        Update copyright
      heap/_rectest.c:
        Update copyright
      heap/heapdef.h:
        Update copyright
      heap/hp_block.c:
        Update copyright
      heap/hp_clear.c:
        Update copyright
      heap/hp_close.c:
        Update copyright
      heap/hp_create.c:
        Update copyright
      heap/hp_delete.c:
        Update copyright
      heap/hp_extra.c:
        Update copyright
      heap/hp_hash.c:
        Update copyright
      heap/hp_info.c:
        Update copyright
      heap/hp_open.c:
        Update copyright
      heap/hp_panic.c:
        Update copyright
      heap/hp_rename.c:
        Update copyright
      heap/hp_rfirst.c:
        Update copyright
      heap/hp_rkey.c:
        Update copyright
      heap/hp_rlast.c:
        Update copyright
      heap/hp_rnext.c:
        Update copyright
      heap/hp_rprev.c:
        Update copyright
      heap/hp_rrnd.c:
        Update copyright
      heap/hp_rsame.c:
        Update copyright
      heap/hp_scan.c:
        Update copyright
      heap/hp_static.c:
        Update copyright
      heap/hp_test1.c:
        Update copyright
      heap/hp_test2.c:
        Update copyright
      heap/hp_update.c:
        Update copyright
      heap/hp_write.c:
        Update copyright
      include/config-win.h:
        Update copyright
      include/dbug.h:
        Update copyright
      include/errmsg.h:
        Update copyright
      include/ft_global.h:
        Update copyright
      include/getopt.h:
        Update copyright
      include/hash.h:
        Update copyright
      include/heap.h:
        Update copyright
      include/m_ctype.h:
        Update copyright
      include/m_string.h:
        Update copyright
      include/md5.h:
        Update copyright
      include/merge.h:
        Update copyright
      include/my_alarm.h:
        Update copyright
      include/my_base.h:
        Update copyright
      include/my_bitmap.h:
        Update copyright
      include/my_dir.h:
        Update copyright
      include/my_global.h:
        Update copyright
      include/my_list.h:
        Update copyright
      include/my_net.h:
        Update copyright
      include/my_no_pthread.h:
        Update copyright
      include/my_nosys.h:
        Update copyright
      include/my_pthread.h:
        Update copyright
      include/my_sys.h:
        Update copyright
      include/my_tree.h:
        Update copyright
      include/myisam.h:
        Update copyright
      include/myisammrg.h:
        Update copyright
      include/myisampack.h:
        Update copyright
      include/mysql.h:
        Update copyright
      include/mysql_com.h:
        Update copyright
      include/mysql_embed.h:
        Update copyright
      include/mysqld_error.h:
        Update copyright
      include/mysys_err.h:
        Update copyright
      include/nisam.h:
        Update copyright
      include/queues.h:
        Update copyright
      include/raid.h:
        Update copyright
      include/sslopt-case.h:
        Update copyright
      include/sslopt-longopts.h:
        Update copyright
      include/sslopt-usage.h:
        Update copyright
      include/sslopt-vars.h:
        Update copyright
      include/t_ctype.h:
        Update copyright
      include/thr_alarm.h:
        Update copyright
      include/thr_lock.h:
        Update copyright
      include/violite.h:
        Update copyright
      isam/_cache.c:
        Update copyright
      isam/_dbug.c:
        Update copyright
      isam/_key.c:
        Update copyright
      isam/_locking.c:
        Update copyright
      isam/_packrec.c:
        Update copyright
      isam/_page.c:
        Update copyright
      isam/_search.c:
        Update copyright
      isam/_statrec.c:
        Update copyright
      isam/changed.c:
        Update copyright
      isam/close.c:
        Update copyright
      isam/create.c:
        Update copyright
      isam/delete.c:
        Update copyright
      isam/extra.c:
        Update copyright
      isam/info.c:
        Update copyright
      isam/isamchk.c:
        Update copyright
      isam/isamdef.h:
        Update copyright
      isam/log.c:
        Update copyright
      isam/open.c:
        Update copyright
      isam/panic.c:
        Update copyright
      isam/range.c:
        Update copyright
      isam/rfirst.c:
        Update copyright
      isam/rkey.c:
        Update copyright
      isam/rlast.c:
        Update copyright
      isam/rnext.c:
        Update copyright
      isam/rprev.c:
        Update copyright
      isam/rrnd.c:
        Update copyright
      isam/rsame.c:
        Update copyright
      isam/rsamepos.c:
        Update copyright
      isam/sort.c:
        Update copyright
      isam/static.c:
        Update copyright
      isam/test1.c:
        Update copyright
      isam/test2.c:
        Update copyright
      isam/test3.c:
        Update copyright
      isam/update.c:
        Update copyright
      isam/write.c:
        Update copyright
      libmysql/conf_to_src.c:
        Update copyright
      libmysql/dll.c:
        Update copyright
      libmysql/errmsg.c:
        Update copyright
      libmysql/get_password.c:
        Update copyright
      libmysql/libmysql.c:
        Update copyright
      libmysql/manager.c:
        Update copyright
      libmysql/net.c:
        Update copyright
      libmysql/password.c:
        Update copyright
      libmysqld/lib_sql.cc:
        Update copyright
      libmysqld/lib_vio.c:
        Update copyright
      libmysqld/libmysqld.c:
        Update copyright
      merge/mrg_close.c:
        Update copyright
      merge/mrg_create.c:
        Update copyright
      merge/mrg_def.h:
        Update copyright
      merge/mrg_delete.c:
        Update copyright
      merge/mrg_extra.c:
        Update copyright
      merge/mrg_info.c:
        Update copyright
      merge/mrg_locking.c:
        Update copyright
      merge/mrg_open.c:
        Update copyright
      merge/mrg_panic.c:
        Update copyright
      merge/mrg_rrnd.c:
        Update copyright
      merge/mrg_rsame.c:
        Update copyright
      merge/mrg_static.c:
        Update copyright
      merge/mrg_update.c:
        Update copyright
      myisam/ft_boolean_search.c:
        Update copyright
      myisam/ft_dump.c:
        Update copyright
      myisam/ft_eval.h:
        Update copyright
      myisam/ft_static.c:
        Update copyright
      myisam/ft_stem.c:
        Update copyright
      myisam/ft_stopwords.c:
        Update copyright
      myisam/ft_test1.h:
        Update copyright
      myisam/mi_cache.c:
        Update copyright
      myisam/mi_changed.c:
        Update copyright
      myisam/mi_check.c:
        Update copyright
      myisam/mi_checksum.c:
        Update copyright
      myisam/mi_close.c:
        Update copyright
      myisam/mi_create.c:
        Update copyright
      myisam/mi_dbug.c:
        Update copyright
      myisam/mi_delete.c:
        Update copyright
      myisam/mi_delete_all.c:
        Update copyright
      myisam/mi_delete_table.c:
        Update copyright
      myisam/mi_dynrec.c:
        Update copyright
      myisam/mi_extra.c:
        Update copyright
      myisam/mi_info.c:
        Update copyright
      myisam/mi_key.c:
        Update copyright
      myisam/mi_locking.c:
        Update copyright
      myisam/mi_log.c:
        Update copyright
      myisam/mi_open.c:
        Update copyright
      myisam/mi_packrec.c:
        Update copyright
      myisam/mi_page.c:
        Update copyright
      myisam/mi_panic.c:
        Update copyright
      myisam/mi_range.c:
        Update copyright
      myisam/mi_rename.c:
        Update copyright
      myisam/mi_rfirst.c:
        Update copyright
      myisam/mi_rlast.c:
        Update copyright
      myisam/mi_rnext_same.c:
        Update copyright
      myisam/mi_rrnd.c:
        Update copyright
      myisam/mi_rsame.c:
        Update copyright
      myisam/mi_rsamepos.c:
        Update copyright
      myisam/mi_scan.c:
        Update copyright
      myisam/mi_search.c:
        Update copyright
      myisam/mi_static.c:
        Update copyright
      myisam/mi_statrec.c:
        Update copyright
      myisam/mi_test1.c:
        Update copyright
      myisam/mi_test2.c:
        Update copyright
      myisam/mi_test3.c:
        Update copyright
      myisam/mi_unique.c:
        Update copyright
      myisam/mi_update.c:
        Update copyright
      myisam/mi_write.c:
        Update copyright
      myisam/myisamchk.c:
        Update copyright
      myisam/myisampack.c:
        Update copyright
      myisammrg/myrg_close.c:
        Update copyright
      myisammrg/myrg_create.c:
        Update copyright
      myisammrg/myrg_def.h:
        Update copyright
      myisammrg/myrg_delete.c:
        Update copyright
      myisammrg/myrg_locking.c:
        Update copyright
      myisammrg/myrg_open.c:
        Update copyright
      myisammrg/myrg_panic.c:
        Update copyright
      myisammrg/myrg_rsame.c:
        Update copyright
      myisammrg/myrg_static.c:
        Update copyright
      myisammrg/myrg_update.c:
        Update copyright
      myisammrg/myrg_write.c:
        Update copyright
      mysql-test/r/gcc296.result:
        Update of benchmark results
      mysql-test/r/innodb.result:
        Update of benchmark results
      mysql-test/r/join_outer.result:
        Update of benchmark results
      mysql-test/r/myisam.result:
        Update of benchmark results
      mysys/array.c:
        Update copyright
      mysys/charset.c:
        Fix for restart of character sets
      mysys/checksum.c:
        Update copyright
      mysys/default.c:
        Update copyright
      mysys/errors.c:
        Update copyright
      mysys/getopt.c:
        Cleanup
      mysys/getvar.c:
        Update copyright
      mysys/hash.c:
        Update copyright
      mysys/list.c:
        Update copyright
      mysys/make-conf.c:
        Update copyright
      mysys/md5.c:
        Update copyright
      mysys/mf_brkhant.c:
        Update copyright
      mysys/mf_cache.c:
        Update copyright
      mysys/mf_casecnv.c:
        Update copyright
      mysys/mf_dirname.c:
        Update copyright
      mysys/mf_fn_ext.c:
        Update copyright
      mysys/mf_format.c:
        Update copyright
      mysys/mf_getdate.c:
        Update copyright
      mysys/mf_iocache.c:
        Update copyright
      mysys/mf_iocache2.c:
        Update copyright
      mysys/mf_keycache.c:
        Update copyright
      mysys/mf_loadpath.c:
        Update copyright
      mysys/mf_pack.c:
        Update copyright
      mysys/mf_path.c:
        Update copyright
      mysys/mf_qsort.c:
        Update copyright
      mysys/mf_qsort2.c:
        Update copyright
      mysys/mf_radix.c:
        Update copyright
      mysys/mf_same.c:
        Update copyright
      mysys/mf_sleep.c:
        Update copyright
      mysys/mf_sort.c:
        Update copyright
      mysys/mf_soundex.c:
        Update copyright
      mysys/mf_stripp.c:
        Update copyright
      mysys/mf_tempfile.c:
        Update copyright
      mysys/mf_unixpath.c:
        Update copyright
      mysys/mf_util.c:
        Update copyright
      mysys/mf_wcomp.c:
        Update copyright
      mysys/mf_wfile.c:
        Update copyright
      mysys/mulalloc.c:
        Update copyright
      mysys/my_alarm.c:
        Update copyright
      mysys/my_alloc.c:
        Update copyright
      mysys/my_append.c:
        Update copyright
      mysys/my_bit.c:
        Update copyright
      mysys/my_bitmap.c:
        Update copyright
      mysys/my_chsize.c:
        Update copyright
      mysys/my_clock.c:
        Update copyright
      mysys/my_compress.c:
        Update copyright
      mysys/my_copy.c:
        Update copyright
      mysys/my_create.c:
        Update copyright
      mysys/my_delete.c:
        Update copyright
      mysys/my_div.c:
        Update copyright
      mysys/my_dup.c:
        Update copyright
      mysys/my_error.c:
        Update copyright
      mysys/my_fopen.c:
        Update copyright
      mysys/my_fstream.c:
        Update copyright
      mysys/my_getwd.c:
        Update copyright
      mysys/my_init.c:
        Free 'once_alloc' memory at shutdown.
      mysys/my_lib.c:
        Update copyright
      mysys/my_lock.c:
        Update copyright
      mysys/my_lockmem.c:
        Update copyright
      mysys/my_lread.c:
        Update copyright
      mysys/my_lwrite.c:
        Update copyright
      mysys/my_malloc.c:
        Update copyright
      mysys/my_messnc.c:
        Update copyright
      mysys/my_mkdir.c:
        Update copyright
      mysys/my_net.c:
        Update copyright
      mysys/my_once.c:
        Update copyright
      mysys/my_open.c:
        Update copyright
      mysys/my_pread.c:
        Update copyright
      mysys/my_pthread.c:
        Update copyright
      mysys/my_quick.c:
        Update copyright
      mysys/my_read.c:
        Update copyright
      mysys/my_realloc.c:
        Update copyright
      mysys/my_redel.c:
        Update copyright
      mysys/my_rename.c:
        Update copyright
      mysys/my_seek.c:
        Update copyright
      mysys/my_static.c:
        Update copyright
      mysys/my_static.h:
        Update copyright
      mysys/my_symlink.c:
        Update copyright
      mysys/my_symlink2.c:
        Update copyright
      mysys/my_tempnam.c:
        Update copyright
      mysys/my_thr_init.c:
        Update copyright
      mysys/my_vsnprintf.c:
        Update copyright
      mysys/my_wincond.c:
        Update copyright
      mysys/my_winthread.c:
        Update copyright
      mysys/my_write.c:
        Update copyright
      mysys/mysys_priv.h:
        Update copyright
      mysys/ptr_cmp.c:
        Update copyright
      mysys/queues.c:
        Update copyright
      mysys/raid.cc:
        Update copyright
      mysys/safemalloc.c:
        Update copyright
      mysys/string.c:
        Update copyright
      mysys/test_charset.c:
        Update copyright
      mysys/test_dir.c:
        Update copyright
      mysys/test_fn.c:
        Update copyright
      mysys/testhash.c:
        Update copyright
      mysys/thr_alarm.c:
        Update copyright
      mysys/thr_lock.c:
        Update copyright
      mysys/thr_mutex.c:
        Update copyright
      mysys/thr_rwlock.c:
        Update copyright
      mysys/tree.c:
        Update copyright
      mysys/typelib.c:
        Update copyright
      pstack/debug.c:
        Update copyright
      pstack/debug.h:
        Update copyright
      pstack/demangle.h:
        Update copyright
      pstack/ieee.c:
        Update copyright
      pstack/ieee.h:
        Update copyright
      pstack/pstack.c:
        Update copyright
      readline/bind.c:
        Cleanup empty lines
      readline/complete.c:
        Cleanup empty lines
      readline/display.c:
        Cleanup empty lines
      readline/funmap.c:
        Cleanup empty lines
      readline/histexpand.c:
        Cleanup empty lines
      readline/histfile.c:
        Cleanup empty lines
      readline/history.c:
        Cleanup empty lines
      readline/history.h:
        Cleanup empty lines
      readline/input.c:
        Cleanup empty lines
      readline/kill.c:
        Cleanup empty lines
      readline/readline.c:
        Cleanup empty lines
      readline/readline.h:
        Cleanup empty lines
      readline/vi_mode.c:
        Cleanup empty lines
      sql/cache_manager.cc:
        Update copyright
      sql/cache_manager.h:
        Update copyright
      sql/convert.cc:
        Update copyright
      sql/custom_conf.h:
        Update copyright
      sql/derror.cc:
        Update copyright
      sql/field.cc:
        Update copyright
      sql/field.h:
        Update copyright
      sql/field_conv.cc:
        Update copyright
      sql/filesort.cc:
        Update copyright
      sql/frm_crypt.cc:
        Update copyright
      sql/ha_berkeley.cc:
        Update copyright
      sql/ha_heap.cc:
        Update copyright
      sql/ha_heap.h:
        Update copyright
      sql/ha_innobase.cc:
        Update copyright
      sql/ha_isam.cc:
        Update copyright
      sql/ha_isam.h:
        Update copyright
      sql/ha_isammrg.cc:
        Update copyright
      sql/ha_isammrg.h:
        Update copyright
      sql/ha_myisam.cc:
        Update copyright
      sql/handler.cc:
        Update copyright
      sql/hash_filo.cc:
        Update copyright
      sql/hash_filo.h:
        Update copyright
      sql/hostname.cc:
        Update copyright
      sql/init.cc:
        Update copyright
      sql/item.cc:
        Update copyright
      sql/item.h:
        Update copyright
      sql/item_buff.cc:
        Update copyright
      sql/item_cmpfunc.cc:
        Update copyright
      sql/item_cmpfunc.h:
        Update copyright
      sql/item_create.cc:
        Update copyright
      sql/item_create.h:
        Update copyright
      sql/item_func.cc:
        Update copyright
      sql/item_strfunc.cc:
        Update copyright
      sql/item_sum.cc:
        Update copyright
      sql/item_sum.h:
        Update copyright
      sql/item_timefunc.cc:
        Update copyright
      sql/item_timefunc.h:
        Update copyright
      sql/item_uniq.cc:
        Update copyright
      sql/item_uniq.h:
        Update copyright
      sql/key.cc:
        Update copyright
      sql/lex_symbol.h:
        Update copyright
      sql/lock.cc:
        Update copyright
      sql/log.cc:
        Update copyright
      sql/log_event.cc:
        Update copyright
      sql/log_event.h:
        Update copyright
      sql/matherr.c:
        Update copyright
      sql/mf_iocache.cc:
        Update copyright
      sql/mini_client.cc:
        Update copyright
      sql/mini_client.h:
        Update copyright
      sql/my_lock.c:
        Update copyright
      sql/mysqld.cc:
        Update copyright
      sql/net_pkg.cc:
        Update copyright
      sql/net_serv.cc:
        Update copyright
      sql/opt_sum.cc:
        Update copyright
      sql/password.c:
        Update copyright
      sql/procedure.cc:
        Update copyright
      sql/procedure.h:
        Update copyright
      sql/records.cc:
        Update copyright
      sql/repl_failsafe.cc:
        Update copyright
      sql/slave.cc:
        Update copyright
      sql/slave.h:
        Update copyright
      sql/sql_acl.cc:
        Update copyright
      sql/sql_acl.h:
        Update copyright
      sql/sql_analyse.cc:
        Update copyright
      sql/sql_analyse.h:
        Update copyright
      sql/sql_base.cc:
        Update copyright
      sql/sql_cache.cc:
        Update copyright
      sql/sql_class.cc:
        Update copyright
      sql/sql_class.h:
        Update copyright
      sql/sql_crypt.cc:
        Update copyright
      sql/sql_crypt.h:
        Update copyright
      sql/sql_db.cc:
        Update copyright
      sql/sql_delete.cc:
        Update copyright
      sql/sql_handler.cc:
        Update copyright
      sql/sql_insert.cc:
        Update copyright
      sql/sql_lex.cc:
        Update copyright
      sql/sql_lex.h:
        Update copyright
      sql/sql_list.cc:
        Update copyright
      sql/sql_list.h:
        Update copyright
      sql/sql_load.cc:
        Update copyright
      sql/sql_map.cc:
        Update copyright
      sql/sql_map.h:
        Update copyright
      sql/sql_parse.cc:
        Update copyright
      sql/sql_rename.cc:
        Update copyright
      sql/sql_repl.cc:
        Update copyright
      sql/sql_select.h:
        Update copyright
      sql/sql_string.cc:
        Update copyright
      sql/sql_string.h:
        Update copyright
      sql/sql_table.cc:
        Update copyright
      sql/sql_test.cc:
        Update copyright
      sql/sql_udf.cc:
        Update copyright
      sql/sql_udf.h:
        Update copyright
      sql/stacktrace.c:
        Update copyright
      sql/structs.h:
        Update copyright
      sql/table.cc:
        Update copyright
      sql/table.h:
        Update copyright
      sql/thr_malloc.cc:
        Update copyright
      sql/time.cc:
        Update copyright
      sql/udf_example.cc:
        Update copyright
      sql/uniques.cc:
        Update copyright
      sql/unireg.cc:
        Update copyright
      sql/unireg.h:
        Update copyright
      strings/atof.c:
        Update copyright
      strings/bchange.c:
        Update copyright
      strings/bcmp.c:
        Update copyright
      strings/bcopy-duff.c:
        Update copyright
      strings/bfill.c:
        Update copyright
      strings/bmove.c:
        Update copyright
      strings/bmove512.c:
        Update copyright
      strings/bmove_upp.c:
        Update copyright
      strings/bzero.c:
        Update copyright
      strings/conf_to_src.c:
        Update copyright
      strings/ctype-big5.c:
        Update copyright
      strings/ctype-czech.c:
        Update copyright
      strings/ctype-euc_kr.c:
        Update copyright
      strings/ctype-gb2312.c:
        Update copyright
      strings/ctype-gbk.c:
        Update copyright
      strings/ctype-latin1_de.c:
        Update copyright
      strings/ctype-sjis.c:
        Update copyright
      strings/ctype-tis620.c:
        Update copyright
      strings/ctype-ujis.c:
        Update copyright
      strings/ctype.c:
        Update copyright
      strings/do_ctype.c:
        Update copyright
      strings/int2str.c:
        Update copyright
      strings/is_prefix.c:
        Update copyright
      strings/llstr.c:
        Update copyright
      strings/longlong2str.c:
        Update copyright
      strings/memcmp.c:
        Update copyright
      strings/memcpy.c:
        Update copyright
      strings/memset.c:
        Update copyright
      strings/r_strinstr.c:
        Update copyright
      strings/str2int.c:
        Update copyright
      strings/str_test.c:
        Update copyright
      strings/strappend.c:
        Update copyright
      strings/strcat.c:
        Update copyright
      strings/strcend.c:
        Update copyright
      strings/strchr.c:
        Update copyright
      strings/strcmp.c:
        Update copyright
      strings/strcont.c:
        Update copyright
      strings/strend.c:
        Update copyright
      strings/strfill.c:
        Update copyright
      strings/strings-not-used.h:
        Update copyright
      strings/strinstr.c:
        Update copyright
      strings/strlen.c:
        Update copyright
      strings/strmake.c:
        Update copyright
      strings/strmov.c:
        Update copyright
      strings/strnlen.c:
        Update copyright
      strings/strnmov.c:
        Update copyright
      strings/strrchr.c:
        Update copyright
      strings/strstr.c:
        Update copyright
      strings/strto.c:
        Update copyright
      strings/strtol.c:
        Update copyright
      strings/strtoll.c:
        Update copyright
      strings/strtoul.c:
        Update copyright
      strings/strtoull.c:
        Update copyright
      strings/strxmov.c:
        Update copyright
      strings/strxnmov.c:
        Update copyright
      strings/t_ctype.h:
        Update copyright
      strings/udiv.c:
        Update copyright
      tools/mysqlmanager.c:
        Update copyright
      vio/test-ssl.c:
        Update copyright
      vio/test-sslclient.c:
        Update copyright
      vio/test-sslserver.c:
        Update copyright
      vio/vio.c:
        Update copyright
      vio/viosocket.c:
        Update copyright
      vio/viossl.c:
        Update copyright
      vio/viosslfactories.c:
        Update copyright
      vio/viotest-ssl.c:
        Update copyright
      2306379e
  5. 11 Nov, 2001 1 commit
    • unknown's avatar
      work to enable reading 3.23 logs - not yet finished · 99c6f2fe
      unknown authored
      moved fail-safe replication routines from sql_repl.cc to repl_failsafe.cc
      write start event only in the first log
      
      
      client/mysqlbinlog.cc:
        work to enable reading 3.23 logs
      libmysql/Makefile.shared:
        added mf_iocache2 to libmysqlclient - needed for mysqlbinlog
      mysql-test/mysql-test-run.sh:
        added --start-and-exit
      mysql-test/r/rpl000002.result:
        result clean-up
      mysql-test/r/rpl000016.result:
        result update
      mysql-test/r/rpl_log.result:
        result update
      mysql-test/t/rpl000016.test:
        test cleanup
      mysys/mf_iocache.c:
        fixed new bug
      sql/log.cc:
        write start event only on server start or after reset master
      sql/log_event.cc:
        work to enable reading 3.23 log format
      sql/log_event.h:
        work to enable reading 3.23 format
      sql/repl_failsafe.cc:
        code restructuring
      sql/repl_failsafe.h:
        re-organized code
      sql/slave.cc:
        check master version
      sql/slave.h:
        old_format member
      sql/sql_class.h:
        allow user to specify io cache type
        need_start_event member to allow writing start event only in the first log
      sql/sql_parse.cc:
        code re-organization
      sql/sql_repl.cc:
        code reorganization
      sql/sql_repl.h:
        reorganized code
      99c6f2fe
  6. 03 Oct, 2001 1 commit
    • unknown's avatar
      Added usage of --master-retry-count to make mysql-test-run safer. · 8847cab9
      unknown authored
      Build-tools/Do-compile:
        Remove --no-delete
      Docs/manual.texi:
        Udated IA64 section
      mysql-test/mysql-test-run.sh:
        Added usage of --master-retry-count
        set LD_LIBRARY_PATH
      sql/mysqld.cc:
        Added master-retry-count (needed by mysql-test-run)
      sql/slave.cc:
        Added master-retry-count
        Don't write same error to log on retry
      sql/slave.h:
        Added master-retry-count (needed by mysql-test-run)
      8847cab9
  7. 03 Aug, 2001 1 commit
    • unknown's avatar
      LOAD DATA INFILE is now replicated properly, except for cleanup on · f4812c0f
      unknown authored
      Stop event and bugs the test suite could not catch
      Did some big restructuring of binlog event classes - most important
      change is that now each event class has exec_event method and one does
      not need to modify slave core code to add a new event. Slave code is
      now much smaller and easier to read
      
      
      
      include/my_sys.h:
        pre_code and arg in IO_CACHE
      mysql-test/r/rpl_log.result:
        updated result for LOAD DATA INFILE fix
      mysys/mf_iocache.c:
        pre_close routine and arg pointer for callback magic
      sql/log.cc:
        changed MYSQL_LOG so that write() method is for generic
        Log_event - removed redundant code
      sql/log_event.cc:
        added classes for file events
        added exec_event() method to all classes
        restructured/cleaned up event classes
      sql/log_event.h:
        added classes for file events
        added exec_event() method to all classes
        restructured/cleaned up event classes
      sql/mf_iocache.cc:
        pre_close/arg
      sql/mysqld.cc:
        added slave-load-tmpdir and old-rpl-compat options
      sql/slave.cc:
        changed exec_event() to use Log_event::exec_event()
        some routines are now needed in log_event.cc and cannot be static/inline
        general cleanup
      sql/slave.h:
        some routines are now extern because they are called from log_event.cc
      sql/sql_class.cc:
        added slave_net
      sql/sql_class.h:
        added slave_net to THD
        MYSQL_LOG::write now handles generic Log_event
      sql/sql_load.cc:
        changes for new handling of LOAD DATA INFILE replication
      sql/sql_repl.cc:
        added log_loaded_block() callback for IO_CACHE
      sql/sql_repl.h:
        added structure to pass args to IO_CACHE callback from mysql_load
      f4812c0f
  8. 17 Jul, 2001 1 commit
    • unknown's avatar
      added slave_net_timeout · c89e3746
      unknown authored
      sql/mysqld.cc:
        slave_net_timeout
      sql/slave.cc:
        slave_net_timeout
      sql/slave.h:
        slave_net_timeout
      c89e3746
  9. 11 Jul, 2001 1 commit
    • unknown's avatar
      mysql-test/t/rpl_sporadic_master.test · a37254bb
      unknown authored
          fixed test case to produce same results on txn-enabled binary. 
          temporary fix - permanent fix is it make mysqld behave the same with
          MyISAM on auto_increment insert after delete from tbl_name regardless
          of how the binary was compiled
      sql/slave.cc
          fixed concurrency bug with log_seq
      sql/slave.h
          last_log_seq needs to be updated atomically with pos
      sql/sql_repl.cc
          cleared up comment and fixed concurrency bug
      
      
      mysql-test/t/rpl_sporadic_master.test:
        fixed test case to produce same results on txn-enabled binary. 
        temporary fix - permanent fix is it make mysqld behave the same with
        MyISAM on auto_increment insert after delete from tbl_name regardless
        of how the binary was compiled
      sql/slave.cc:
        fixed concurrency bug with log_seq
      sql/slave.h:
        last_log_seq needs to be updated atomically with pos
      sql/sql_repl.cc:
        cleared up comment and fixed concurrency bug
      a37254bb
  10. 07 Jul, 2001 1 commit
    • unknown's avatar
      dded volatile to replication variable · e82834c7
      unknown authored
      Docs/manual.texi:
        Changelog
      sql/slave.cc:
        Added volatile to replication variable
      sql/slave.h:
        Added volatile to replication variable
      sql/sql_base.cc:
        Cleanup
      sql/sql_show.cc:
        Cleanup
      e82834c7
  11. 24 Jun, 2001 1 commit
    • unknown's avatar
      show master forced rotate info in SHOW BINLOG EVENTS · 16aefaaa
      unknown authored
      mark a master-forced rotate with a special flag
      
      
      mysql-test/r/rpl000014.result:
        updated result
      mysql-test/r/rpl000015.result:
        updated result
      mysql-test/r/rpl000016.result:
        updated result
      mysql-test/r/rpl_log.result:
        updated result
      mysql-test/t/rpl000017-slave.sh:
        fix for change in master.info format
      mysql-test/t/rpl_log.test:
        test for correct last_log_seq in show slave status
      sql/log.cc:
        mark a master-forced rotate with a special flag
      sql/log_event.cc:
        show master forced rotate info in SHOW BINLOG EVENTS
      sql/log_event.h:
        master forced rotation flag
      sql/slave.cc:
        keep trace of last log sequences in MASTER_INFO
        do not rotate on slave, if the rotation on master was forced by its master
      sql/slave.h:
        keep track of last log sequence number in MASTER_INFO
      16aefaaa
  12. 31 May, 2001 1 commit
    • unknown's avatar
      A slave now can optionally register with the master providing the · 5551b647
      unknown authored
      info on how to connect to the slave for the clients that connect to
      the master, but would like to know where the slaves are
      
      
      include/mysql_com.h:
        register slaves
      mysql-test/mysql-test-run.sh:
        parameters to test slave registration
      mysql-test/r/rpl000002.result:
        test of slave registration
      mysql-test/t/rpl000002.test:
        test slave registration
      sql/mysql_priv.h:
        slave registration
      sql/mysqld.cc:
        slave registration
      sql/slave.cc:
        slave registration
      sql/slave.h:
        slave registration
      sql/sql_lex.h:
        slave registration
      sql/sql_parse.cc:
        slave registration
      sql/sql_repl.cc:
        slave registration
      sql/sql_repl.h:
        slave registration
      sql/sql_yacc.yy:
        slave registration
      5551b647
  13. 29 May, 2001 1 commit
    • unknown's avatar
      updates for LOAD DATA FROM MASTER + some cleanup of replication code · bb56440e
      unknown authored
      include/mysqld_error.h:
        new errors
      mysql-test/r/rpl000009.result:
        test load data from master
      mysql-test/t/rpl000009.test:
        test load data from master
      sql/mini_client.cc:
        extra functionality needed for load data from master and other things
      sql/mini_client.h:
        addition to API
      sql/mysql_priv.h:
        mysql_create_db()/mysql_rm_db() now return a value
      sql/share/english/errmsg.txt:
        more error messages
      sql/slave.cc:
        cleanup of fetch_nx_table()
      sql/slave.h:
        cleanup of fetch_nx_table()
      sql/sql_base.cc:
        remove unused code originally written for retrieving a non-existent table in slave thread
      sql/sql_class.cc:
        remove unused replication variables
      sql/sql_class.h:
        remove unused replication variabled
      sql/sql_db.cc:
        make mysql_create_db()/mysql_rm_db() work with thd == 0 
        (do not write messages to the net) and instead return success/error
      sql/sql_lex.h:
        added SQLCOM_LOAD_MASTER_DATA
      sql/sql_parse.cc:
        LOAD MASTER DATA, cleanup of LOAD TABLE FROM MASTER
      sql/sql_repl.cc:
        LOAD DATA FROM MASTER
      sql/sql_repl.h:
        LOAD DATA FROM MASTER
      sql/sql_yacc.yy:
        LOAD DATA FROM MASTER
      bb56440e
  14. 03 May, 2001 1 commit
    • unknown's avatar
      reversed virtual master · 6cbc72ae
      unknown authored
      BitKeeper/deleted/.del-binlog-backup-restore.test~d5b0b9bd83738a9f:
        Delete: mysql-test/t/binlog-backup-restore.test
      BitKeeper/deleted/.del-binlog-backup-restore.result~605de78abda64d27:
        Delete: mysql-test/r/binlog-backup-restore.result
      6cbc72ae
  15. 24 Apr, 2001 1 commit
    • unknown's avatar
      fixed redundant repetition of use db in mysqlbinlog · fab8da32
      unknown authored
      added support for virtual master ( replicating from a directory with binlogs)
      test case for backup/restore with virtual master
      
      
      client/mysqltest.c:
        fix to accomodate for new test case
      mysql-test/mysql-test-run.sh:
        do not automagically start slave
      sql/log.cc:
        support for virtual master
      sql/log_event.cc:
        fix for mysqlbinlog
      sql/log_event.h:
        fix for mysqlbinlog
      sql/mysqlbinlog.cc:
        fix for mysqlbinlog
      sql/slave.cc:
        virtual master
      sql/slave.h:
        virtual master
      sql/sql_class.h:
        clean-up/fixes for virtual master
      sql/sql_repl.cc:
        cleanup/fixes for virtual master
      sql/sql_repl.h:
        virtual master
      fab8da32
  16. 25 Mar, 2001 1 commit
    • unknown's avatar
      Changed pthread_mutex_init() to use new MY_MUTEX_INIT.. macro · 7f25c8c0
      unknown authored
      (For glibc 2.2)
      
      
      client/thread_test.c:
        Changed pthread_mutex_init() to use new MY_MUTEX_INIT.. macro
      dbug/dbug.c:
        Changed pthread_mutex_init() to use new MY_MUTEX_INIT.. macro
      heap/hp_open.c:
        Changed pthread_mutex_init() to use new MY_MUTEX_INIT.. macro
      isam/open.c:
        Changed pthread_mutex_init() to use new MY_MUTEX_INIT.. macro
      myisam/mi_open.c:
        Changed pthread_mutex_init() to use new MY_MUTEX_INIT.. macro
      mysys/thr_alarm.c:
        Changed pthread_mutex_init() to use new MY_MUTEX_INIT.. macro
      mysys/thr_lock.c:
        Changed pthread_mutex_init() to use new MY_MUTEX_INIT.. macro
      mysys/thr_rwlock.c:
        Changed pthread_mutex_init() to use new MY_MUTEX_INIT.. macro
      sql/ha_berkeley.cc:
        Changed pthread_mutex_init() to use new MY_MUTEX_INIT.. macro
      sql/ha_innobase.cc:
        Changed pthread_mutex_init() to use new MY_MUTEX_INIT.. macro
      sql/hash_filo.h:
        Changed pthread_mutex_init() to use new MY_MUTEX_INIT.. macro
      sql/hostname.cc:
        Changed pthread_mutex_init() to use new MY_MUTEX_INIT.. macro
      sql/item_func.cc:
        Changed pthread_mutex_init() to use new MY_MUTEX_INIT.. macro
      sql/log.cc:
        Changed pthread_mutex_init() to use new MY_MUTEX_INIT.. macro
      sql/mysqld.cc:
        Changed pthread_mutex_init() to use new MY_MUTEX_INIT.. macro
      sql/slave.h:
        Changed pthread_mutex_init() to use new MY_MUTEX_INIT.. macro
      sql/sql_class.cc:
        Changed pthread_mutex_init() to use new MY_MUTEX_INIT.. macro
      sql/sql_class.h:
        Changed pthread_mutex_init() to use new MY_MUTEX_INIT.. macro
      sql/sql_insert.cc:
        Changed pthread_mutex_init() to use new MY_MUTEX_INIT.. macro
      sql/sql_udf.cc:
        Changed pthread_mutex_init() to use new MY_MUTEX_INIT.. macro
      7f25c8c0
  17. 13 Mar, 2001 1 commit
    • unknown's avatar
      untested changes to close socket on slave stop for OS's that do not · 0d70b929
      unknown authored
      interrupt I/O after thr_alarm_kill()
      
      test case for order by desc coredump
      
      
      mysql-test/t/order_by.test:
        added test case for order by desc bug
      sql/slave.cc:
        close socket on slave stop
      sql/slave.h:
        close socket on slave stop
      sql/sql_class.cc:
        close socket on slave stop
      sql/sql_class.h:
        close socket on slave stop
      sql/sql_parse.cc:
        changed kill_one_thread to use prepare_to_die()
      sql/sql_repl.cc:
        close socket on slave stop
      0d70b929
  18. 07 Mar, 2001 1 commit
    • unknown's avatar
      Fixed test cases for innobase · 080298cf
      unknown authored
      Fixed bug introduced with last ORDER BY optimization
      Changed log position to longlong to avoid warnings.
      
      
      Docs/manual.texi:
        Update for innobase
      mysql-test/r/innobase.result:
        Fixed test cases
      mysql-test/t/bdb.test:
        Removed not used tables
      mysql-test/t/innobase.test:
        Fixed test cases
      sql/field.h:
        Fixed bug introduced with last ORDER BY optimization
      sql/ha_berkeley.cc:
        Fixed bug when index_init() was called twice.
      sql/mysql_priv.h:
        Added option to not get stack trace (when using gdb)
      sql/mysqld.cc:
        Added option to not get stack trace (when using gdb)
      sql/slave.cc:
        Changed log position to longlong to avoid warnings.
      sql/slave.h:
        Changed log position to longlong to avoid warnings.
      sql/sql_parse.cc:
        Removed warnings
      sql/sql_select.cc:
        Cleanups
      080298cf
  19. 27 Feb, 2001 1 commit
    • unknown's avatar
      ulonglong -> uint32 for log offset · 0384f0c7
      unknown authored
      more verbose messages when slave thread exits
      
      
      sql/slave.cc:
        ulonglong -> uint32 for log offset
      sql/slave.h:
        ulonglong -> uint32 for log offset
      0384f0c7
  20. 24 Jan, 2001 1 commit
    • unknown's avatar
      Added last_errno and last_error to show slave status · 5a7405fd
      unknown authored
      slave will skip the first SQL_SLAVE_SKIP_COUNTER events on start - 
      this is needed to recover from broken replication when the next log
      event(s) should just be skipped.
      Rotate binlogs when max_binlog_size is reached
      
      
      include/my_sys.h:
        added my_snprintf()
      include/mysqld_error.h:
        more error messages
      mysql-test/r/rpl000014.result:
        updated results for new SHOW SLAVE STATUS format
      mysql-test/r/rpl000015.result:
        update for SHOW SLAVE STATUS
      mysql-test/r/rpl000016.result:
        update for additions to the test
      mysql-test/t/rpl000016.test:
        test max_binlog_size and slave_skip_counter
      mysys/my_vsnprintf.c:
        added my_snprintf()
      sql/gen_lex_hash.cc:
        old values could not do it
      sql/lex.h:
        updates for SQL_SLAVE_SKIP_COUNTER
      sql/log.cc:
        rotate binlogs when max_binlog_size is reached
      sql/mysqld.cc:
        added max_binlog_size
      sql/share/czech/errmsg.txt:
        new errors
      sql/share/danish/errmsg.txt:
        new errors
      sql/share/dutch/errmsg.txt:
        new errors
      sql/share/english/errmsg.txt:
        new errors
      sql/share/estonian/errmsg.txt:
        new errors
      sql/share/french/errmsg.txt:
        new errors
      sql/share/german/errmsg.txt:
        new errors
      sql/share/greek/errmsg.txt:
        new errors
      sql/share/hungarian/errmsg.txt:
        new errors
      sql/share/italian/errmsg.txt:
        new errors
      sql/share/japanese/errmsg.txt:
        new errors
      sql/share/korean/errmsg.txt:
        new errors
      sql/share/norwegian-ny/errmsg.txt:
        new errors
      sql/share/norwegian/errmsg.txt:
        new errors
      sql/share/polish/errmsg.txt:
        new errors
      sql/share/portuguese/errmsg.txt:
        new errors
      sql/share/romanian/errmsg.txt:
        new errors
      sql/share/russian/errmsg.txt:
        new errors, translated untranslated messages
      sql/share/slovak/errmsg.txt:
        new errors
      sql/share/spanish/errmsg.txt:
        new errors
      sql/share/swedish/errmsg.txt:
        new errors
      sql/slave.cc:
        updates for slave_skip_counter and extension to show slave status
      sql/slave.h:
        slave_skip_counter
      sql/sql_repl.cc:
        use error messages from errmsg.txt
      sql/sql_yacc.yy:
        skip_slave_counter
      5a7405fd
  21. 17 Jan, 2001 1 commit
    • unknown's avatar
      rpl000016.test sync · efe9c8b3
      unknown authored
      rpl000001.result	BitKeeper file /home/sasha/src/bk/mysql/mysql-test/r/rpl000001.result
      ignore  	Added BitKeeper/tmp/bkr3sAHD to the ignore list
      slave.h 	MASTER_POS_WAIT
      lex.h   	MASTER_POS_WAIT
      slave.cc	MASTER_POS_WAIT, do automagic restart on debugging abort, skip rotate events in 
      slave.cc	debug abort count
      sql_repl.cc	announce the log name at the start of the log with a fake rotate event
      item_create.h	MASTER_POS_WAIT
      item_func.cc	MASTER_POS_WAIT
      item_func.h	MASTER_POS_WAIT
      sql_class.h	enter_cond(), exit_cond() helper inliners
      item_create.cc	added MASTER_POS_WAIT
      mysql-test-run.sh	speed improvement fixes
      rpl000007.test	sync
      rpl000003.test	sleep -> sync
      rpl000004.test	sleep -> sync, fixed clean up bug
      rpl000014.test	sync
      rpl000009.test	sync
      rpl000013.test	sync
      rpl000001.test	sleep -> sync
      rpl000008.test	sync
      rpl000006.test	sync on cleanup
      rpl000011.test	sync
      rpl000012.test	sync
      rpl000005.test	sleep -> sync
      rpl000010.test	sync
      rpl000015.test	sync
      rpl000002.test	sleep -> sync
      rpl000014.result	we now know the master log name as soon as we connect
      mysql.cc	added optional agrument to --wait
      mysqltest.c	added save_master_pos and sync_with_master commands
      
      
      client/mysql.cc:
        added optional agrument to --wait
      client/mysqltest.c:
        added save_master_pos and sync_with_master commands
      mysql-test/mysql-test-run.sh:
        speed improvement fixes
      mysql-test/r/rpl000014.result:
        we now know the master log name as soon as we connect
      mysql-test/t/rpl000001.test:
        sleep -> sync
      mysql-test/t/rpl000002.test:
        sleep -> sync
      mysql-test/t/rpl000003.test:
        sleep -> sync
      mysql-test/t/rpl000004.test:
        sleep -> sync, fixed clean up bug
      mysql-test/t/rpl000005.test:
        sleep -> sync
      mysql-test/t/rpl000006.test:
        sync on cleanup
      mysql-test/t/rpl000007.test:
        sync
      mysql-test/t/rpl000008.test:
        sync
      mysql-test/t/rpl000009.test:
        sync
      mysql-test/t/rpl000010.test:
        sync
      mysql-test/t/rpl000011.test:
        sync
      mysql-test/t/rpl000012.test:
        sync
      mysql-test/t/rpl000013.test:
        sync
      mysql-test/t/rpl000014.test:
        sync
      mysql-test/t/rpl000015.test:
        sync
      BitKeeper/etc/ignore:
        Added BitKeeper/tmp/bkr3sAHD to the ignore list
      mysql-test/t/rpl000016.test:
        sync
      sql/item_create.cc:
        added MASTER_POS_WAIT
      sql/item_create.h:
        MASTER_POS_WAIT
      sql/item_func.cc:
        MASTER_POS_WAIT
      sql/item_func.h:
        MASTER_POS_WAIT
      sql/lex.h:
        MASTER_POS_WAIT
      sql/slave.cc:
        MASTER_POS_WAIT, do automagic restart on debugging abort, skip rotate events in 
        debug abort count
      sql/slave.h:
        MASTER_POS_WAIT
      sql/sql_class.h:
        enter_cond(), exit_cond() helper inliners
      sql/sql_repl.cc:
        announce the log name at the start of the log with a fake rotate event
      efe9c8b3
  22. 09 Dec, 2000 1 commit
    • unknown's avatar
      fixed up leaks found by --exit-info=256 · e3efb6ee
      unknown authored
      better error diagnostic in SLAVE START
      
      
      sql/mini_client.cc:
        if we fail to connect, we need to free the inited structure
      sql/mysqld.cc:
        added end_slave() for slave cleanup
      sql/slave.cc:
        fixed serveral memory leaks
      sql/slave.h:
        added end_master_info() for clean up
      sql/sql_class.cc:
        not changed
      sql/sql_repl.cc:
        initialize master info before creating slave thread in SLAVE START -
        this way we can easily send an error to the client if something is 
        wrong in init_master_info
      e3efb6ee
  23. 02 Dec, 2000 1 commit
    • unknown's avatar
      added loops and other cool stuff to mysqltest · c95e3cd2
      unknown authored
      fixed slave to preserve temp tables on slave stop; slave start
      added abort-slave-event-count option to mysqld to test the above
      added a test case for temp tables with a contantly aborting slave
      removed warning in sql_parse.cc
      fixed thimble.cc to compile
      
      
      BitKeeper/etc/ignore:
        Added client/thimble support-files/mysql-3.23.29-gamma.spec to the ignore list
      client/mysqltest.c:
        added while, let, and echo, added fractional sec sleep support
      client/thimble.cc:
        fixes to make it compile
      mysql-test/t/3.23/rpl000001.test:
        sleep less
      mysql-test/t/3.23/rpl000002.test:
        sleep less
      mysql-test/t/3.23/rpl000003.test:
        sleep less
      mysql-test/t/3.23/rpl000005.test:
        sleep less
      sql/mysqld.cc:
        --abort-slave-event count
      sql/slave.cc:
        remember temp tables when slave thread termintates and restore them on
        slave start
      sql/slave.h:
        --abort-slave-event-count
      sql/sql_parse.cc:
        remove warning
      c95e3cd2
  24. 25 Nov, 2000 1 commit
    • unknown's avatar
      slave master.info FILE -> IO_CACHE · e56c9536
      unknown authored
      send_file() is more stack-friendly - changed large static buffer to alloc_root()
      fixed my_b_seek() to work with WRITE_CACHE
      test case to make sure the slave starts correctly after being stopped
      truncated words file so the replication tests will take less time
      
      
      mysql-test/r/3.23/rpl000001.b.result:
        truncated words file
      mysql-test/r/3.23/rpl000004.b.result:
        truncated words file
      mysql-test/std_data/words:
        truncated words file
      BitKeeper/etc/ignore:
        Added mysql-test/rpl000011.test mysql-test/var/lib/mysql-bin.007 sql/share/norwegian/errmsg.sys sql/share/norwegian-ny/errmsg.sys to the ignore list
      mysys/mf_iocache2.c:
        got my_b_seek() to work with WRITE_CACHE, at least the one used by the slave
      sql/share/romanian/errmsg.sys:
        accidently touched the file
      sql/slave.cc:
        converted FILE to IO_CACHE for master.info
      sql/slave.h:
        FILE -> IO_CACHE for master.info
      sql/sql_repl.cc:
        be nice to the stack - change a large stack buffer to be alloced with
        alloc_root in send_file()
      e56c9536
  25. 22 Nov, 2000 1 commit
    • unknown's avatar
      mysql-test/mysql-test-run · 73adaadb
      unknown authored
          cleanup - remove unneeded daeamon restarts
      sql/log_event.cc
          fixed bug - do not confuse confused slaves even further if they try to 
          read less than LOG_EVENT_HEADER_LEN before the end of file
      sql/mysqlbinlog.cc
          give error if constructor fails
      sql/mysqld.cc
          --disconnect-slave-event-count for replication debugging
      sql/slave.cc
          --disconnect-slave-event-count
          cleanup to remove unneeded sleeps when things go wrong - sleep only 
          when we have to
      sql/slave.h
          --disconnect-slave-event-count
      
      test cases for ALTER TABLE ORDER BY and replication offset off by 22 
      confusion mystery bug (both pass)
      
      
      mysql-test/mysql-test-run:
        cleanup - remove unneeded daeamon restarts
      sql/log_event.cc:
        fixed bug - do not confuse confused slaves even further if they try to 
        read less than LOG_EVENT_HEADER_LEN before the end of file
      sql/mysqlbinlog.cc:
        give error if constructor fails
      sql/mysqld.cc:
        --disconnect-slave-event-count for replication debugging
      sql/slave.cc:
        --disconnect-slave-event-count
        cleanup to remove unneeded sleeps when things go wrong - sleep only 
        when we have to
      sql/slave.h:
        --disconnect-slave-event-count
      sql/sql_repl.cc:
        added unknown error
      73adaadb
  26. 21 Nov, 2000 1 commit
    • unknown's avatar
      fixed warning in sql_class.cc · 4222359a
      unknown authored
      added gdb support, mysqld options per test, and other cool stuff to mysql-test-run
      added --replicate-wild-do/ignore-table
      more test cases
      
      
      client/mysqltest.c:
        fixed a reject file bug
      mysql-test/mysql-test-run:
        support for gdb and running only one test case
      sql/mysql_priv.h:
        wild_compare needs to be global
      sql/mysqld.cc:
        --replicate-wild-do/ignore-table
      sql/slave.cc:
        wild,wild
      sql/slave.h:
        wild fixes
      sql/sql_class.cc:
        fixed compiler warning
      sql/sql_string.cc:
        wild stuff needs to be global
      BitKeeper/etc/ignore:
        Added BitKeeper/tmp/gone mysql-test/r/3.23/rpl mysql-test/r/3.23/rpl.reject mysql-test/var/lib/bar/bar.frm mysql-test/var/lib/bar/bar.MYD mysql-test/var/lib/bar/bar.MYI mysql-test/var/lib/foo/foo.frm mysql-test/var/lib/foo/foo.MYD mysql-test/var/lib/foo/foo.MYI mysql-test/var/lib/test/bar.frm mysql-test/var/lib/test/bar.MYD mysql-test/var/lib/test/bar.MYI mysql-test/var/lib/test/choo.frm mysql-test/var/lib/test/choo.MYD mysql-test/var/lib/test/choo.MYI mysql-test/var/slave-data/bar/bar.frm mysql-test/var/slave-data/bar/bar.MYD mysql-test/var/slave-data/bar/bar.MYI mysql-test/var/slave-data/foo/foo.frm mysql-test/var/slave-data/foo/foo.MYD mysql-test/var/slave-data/foo/foo.MYI mysql-test/var/slave-data/test/bar.frm mysql-test/var/slave-data/test/bar.MYD mysql-test/var/slave-data/test/bar.MYI mysql-test/var/slave-data/test/choo.frm mysql-test/var/slave-data/test/choo.MYD mysql-test/var/slave-data/test/choo.MYI mysql-test/var/tmp/README to the ignore list
      4222359a
  27. 14 Nov, 2000 1 commit
    • unknown's avatar
      repl-tests/test-repl-ts/repl-timestamp.master.reject · 9ae57b8c
      unknown authored
          this file needs to be deleted
      sql/log_event.cc
          fixed warnings
      sql/log_event.h
          fixed () #define bug
      sql/mysqlbinlog.cc
          fixed length argument - was supposed to be one less
      sql/mysqld.cc
          replicate-do/ignore-table now works, wild does not yet
      sql/mysql_priv.h
          updating argument to add_table_to_list() -- needed for replicate-do/ignore table
      sql/slave.cc
          changes fore replicate-do/ignore-table
          close the socket before going to sleep sleeping after error
          bad event was being freed too early
      sql/slave.h
          changes for replicate-do/ignore-table
      sql/sql_class.cc
          slave_thread variable to THD
      sql/sql_class.h
          added slave_thread to THD, fixed bug in end_time()
      sql/sql_parse.cc
          updating argument to add_tables_to_list()
      sql/sql_table.cc
          fixed bug in mysql_rm_table()
      sql/sql_yacc.yy
          fixed up add_table_to_list() calls to accept updating argument
      sql/table.h
          added updating to TABLE_LIST
      
      
      repl-tests/test-repl-ts/repl-timestamp.master.reject:
        this file needs to be deleted
      sql/log_event.cc:
        fixed warnings
      sql/log_event.h:
        fixed () #define bug
      sql/mysql_priv.h:
        updating argument to add_table_to_list() -- needed for replicate-do/ignore table
      sql/mysqlbinlog.cc:
        fixed length argument - was supposed to be one less
      sql/mysqld.cc:
        replicate-do/ignore-table now works, wild does not yet
      sql/slave.cc:
        changes fore replicate-do/ignore-table
        close the socket before going to sleep sleeping after error
        bad event was being freed too early
      sql/slave.h:
        changes for replicate-do/ignore-table
      sql/sql_class.cc:
        slave_thread variable to THD
      sql/sql_class.h:
        added slave_thread to THD, fixed bug in end_time()
      sql/sql_parse.cc:
        updating argument to add_tables_to_list()
      sql/sql_table.cc:
        fixed bug in mysql_rm_table()
      sql/sql_yacc.yy:
        fixed up add_table_to_list() calls to accept updating argument
      sql/table.h:
        added updating to TABLE_LIST
      9ae57b8c
  28. 11 Nov, 2000 1 commit
    • unknown's avatar
      laptop commit, syncing with the repostitory. Fixed some bad bugs in replication · d738500e
      unknown authored
      BUILD/compile-pentium-debug:
        added -DEXTRA_DEBUG
      sql/Makefile.am:
        added slave.h
      sql/log_event.h:
        max_buf -> event_len in read_log_event
      sql/mysql_priv.h:
        moved the slave part to slave.h
      sql/mysqld.cc:
        changes for replcate_do/ignore_table ( does not work yet)
      sql/slave.cc:
        removed the stuff covered by slave.h
      sql/sql_class.h:
        moved slave stuff to slave.h
      sql/sql_repl.h:
        removed stuff covered by slave.h
      BitKeeper/etc/logging_ok:
        Logging to logging@openlogging.org accepted
      d738500e