1. 29 Jun, 2001 3 commits
    • unknown's avatar
      post-merge fix · eb24d03b
      unknown authored
      fixed bug in LOAD DATA FROM MASTER
      
      
      BitKeeper/etc/ignore:
        Added scripts/mysqld_safe to the ignore list
      sql/mysqld.cc:
        post-merge fix
      eb24d03b
    • unknown's avatar
      fixed typo · 46e9df03
      unknown authored
      46e9df03
    • unknown's avatar
      fixed message in post-commit trigger · 7a6dc1da
      unknown authored
      added debugging options to master to behave sporadically, and a 
      test case to make sure the slave can deal with it
      
      
      BitKeeper/triggers/post-commit:
        fixed message
      sql/mysqld.cc:
        added debugging options to force the master to occasionally break
        replication
      sql/slave.cc:
        cosmetic change to improve readability
      sql/sql_repl.cc:
        support for --sporadic-binlog-dump-fail and --max-binlog-dump-events
      sql/sql_repl.h:
        support for --sporadic-binlog-dump-fail and --max-binlog-dump-events
      7a6dc1da
  2. 26 Jun, 2001 1 commit
    • unknown's avatar
      --do-test option in mysql-test-run - will do only tests that match the pattern · f21b39fd
      unknown authored
      updated rotate event to set new position along with the new log
      
      
      mysql-test/mysql-test-run.sh:
        added --do-test
      mysql-test/r/rpl_log.result:
        update for new rotate event format
      sql/log_event.cc:
        rotate event now supports forcing a new position, not just the log
      sql/log_event.h:
        clean-up of rotate event, support for position force with rotate event
      sql/slave.cc:
        accept position setting from rotate event
      sql/sql_repl.cc:
        updates to fake_rotate_event() for the new format
      f21b39fd
  3. 21 Jun, 2001 1 commit
    • unknown's avatar
      added SHOW BINLOG EVENTS · 818abea2
      unknown authored
      fixed log sequence bugs
      fixed bugs in handling Slave event
      added test case with SHOW BINLOG EVENTS
      have not fixed all the bugs - found some that are also in 3.23,
      will fix them there first, then do pull and cleanup
      
      will not push this changeset
      
      
      include/mysqld_error.h:
        new error
      mysql-test/mysql-test-run.sh:
        use quotes in expr
      sql/lex.h:
        SHOW BINLOG EVENTS
      sql/log.cc:
        fixed log sequence bugs
      sql/log_event.cc:
        SHOW BINLOG EVENTS
        fixed bugs Slave event handling
      sql/log_event.h:
        SHOW BINLOG EVENTS
      sql/share/english/errmsg.txt:
        SHOW BINLOG EVENTS
      sql/sql_lex.h:
        SHOW BINLOG EVENTS
      sql/sql_parse.cc:
        SHOW BINLOG EVENTS
      sql/sql_repl.cc:
        SHOW BINLOG EVENTS
      sql/sql_repl.h:
        SHOW BINLOG EVENTS
      sql/sql_yacc.yy:
        SHOW BINLOG EVENTS
      818abea2
  4. 19 Jun, 2001 1 commit
    • unknown's avatar
      Added event sequence number and flags to binlog · e1c4e900
      unknown authored
      Documented/cleaned up log event code
      Updated tests
      
      
      mysql-test/r/rpl000014.result:
        new binlog format
      mysql-test/r/rpl000015.result:
        new binlog format
      mysql-test/r/rpl000016.result:
        new binlog format
      mysql-test/std_data/master-bin.001:
        new binlog format
      mysql-test/t/rpl000014.test:
        new binlog format
      sql/log.cc:
        new binlog format
      sql/log_event.cc:
        new binlog format
      sql/log_event.h:
        new binlog format
      sql/sql_class.cc:
        new binlog format
      sql/sql_class.h:
        new binlog format
      sql/sql_repl.cc:
        new binlog format
      e1c4e900
  5. 02 Jun, 2001 1 commit
    • unknown's avatar
      do not show user/pass for slave unless running with show-slave-auth-info · 41757fce
      unknown authored
      cleanup of register_slave_on_master()
      
      
      mysql-test/r/rpl000002.result:
        new output of show slave hosts
      sql/mysqld.cc:
        user and password are shown in show slave hosts only if show-slave-auth-info option is on
      sql/slave.cc:
        cleanup of register_slave_on_master()
      sql/sql_repl.cc:
        do not show user/pass for slave unless running with show-slave-auth-info
      sql/sql_repl.h:
        show-slave-auth-info
      41757fce
  6. 01 Jun, 2001 1 commit
    • unknown's avatar
      worked around one bug in the new symlink code, but hit another · aa03d188
      unknown authored
      test case included ( drop) - currently fails, along with rpl000009
      
      
      mysql-test/r/drop.result:
        new test
      mysql-test/t/drop.test:
        expose a bug in the new symlink table code
      sql/slave.cc:
        turn off symlink bit to avoid a bug
      sql/sql_repl.cc:
        turn off symlink bit to avoid a bug
      aa03d188
  7. 31 May, 2001 2 commits
    • unknown's avatar
      fixed bug in CHANGE MASTER TO · 95e455c6
      unknown authored
      95e455c6
    • 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
  8. 29 May, 2001 2 commits
    • unknown's avatar
      Fixed problems with decimals withing IF() · 14122286
      unknown authored
      Force add of FN_LIBCHAR to symlinks on windows
      
      
      Docs/manual.texi:
        Cleanup & Changelog
      client/mysqladmin.c:
        Added quoting for 'drop database'
      client/mysqlcheck.c:
        Fixed wrong comment syntax
      libmysql/net.c:
        Cleanup
      mysql-test/mysql-test-run.sh:
        Better error message.
      mysql-test/r/func_test.result:
        test for if()
      mysql-test/t/func_test.test:
        test for if()
      mysys/mf_pack.c:
        Force add of FN_LIBCHAR to symlinks on windows.
      sql/item_cmpfunc.cc:
        Fixed problems with decimals withing IF()
      sql/mysqlbinlog.cc:
        Better error messages.
      sql/sql_repl.cc:
        Better error messages.
      14122286
    • 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
  9. 03 May, 2001 1 commit
    • unknown's avatar
      Docs/manual.texi · 4e55049b
      unknown authored
          fixed bug
      sql/sql_repl.cc
          undid virtual master change
      
      
      
      Docs/manual.texi:
        fixed bug
      sql/sql_repl.cc:
        undid virtual master change
      4e55049b
  10. 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
  11. 14 Mar, 2001 1 commit
    • unknown's avatar
      changed signal by fd close to signal by vio_close · df29fff2
      unknown authored
      added support for kill expr
      fixed coredump in set @A := foo;
      added testcase for user_var
      added testcase for kill
      
      
      sql/slave.cc:
        fd -> vio
      sql/sql_class.cc:
        fd->vio, fixed coredump on set @A := foo;
      sql/sql_class.h:
        fd -> vio
      sql/sql_repl.cc:
        fd -> vio
      sql/sql_yacc.yy:
        added support for kill expr - needed this for a clean test case of kill
      df29fff2
  12. 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
  13. 20 Feb, 2001 1 commit
    • unknown's avatar
      replication fixes · 6d02a77a
      unknown authored
      Docs/manual.texi:
        updates from Matthias Urlichs
      mysql-test/r/rpl000016.result:
        position sanity check - hope to catch the timing bug
      mysql-test/t/rpl000016.test:
        position sanity check - hope to catch timing bug
      sql/log_event.cc:
        limit event length by max_allowed_packet
      sql/log_event.h:
        abolish MAX_EVENT_LEN
      sql/sql_repl.cc:
        error for events larger than max_allowed_packet
      6d02a77a
  14. 27 Jan, 2001 1 commit
    • unknown's avatar
      fixed up lock counting code - Monty's suggestions · e3ad443d
      unknown authored
      updated manual about table lock counter
      fixed coredump in DROP DATABASE with long bogus name by non-root user
      fixed bug in handling STOP immediately after ROTATE
      added test case for buffer overrun on DROP DATABASE by non-root user
      added test case for the STOP bug in replication
      
      
      Docs/manual.texi:
        updates for Table_locks_immediate and Table_locks_waited
      include/thr_lock.h:
        fixes suggested by Monty to lock counts
      mysql-test/r/status.result:
        clean up of result for changes in the test case
      mysql-test/t/status.test:
        make it produce the same results if the had been some activity on the server already
      mysys/thr_lock.c:
        fixes suggested by Monty
      sql/mysqld.cc:
        fixes suggested by Monty
      sql/slave.cc:
        fixed bug in processing STOP event after rotate
      sql/sql_base.cc:
        fixes suggested by Monty
      sql/sql_parse.cc:
        fixed coredump in drop database with long name by a non-root user
      sql/sql_repl.cc:
        better status message
      e3ad443d
  15. 26 Jan, 2001 1 commit
    • unknown's avatar
      Portability fixes for OPENBSD, OS2 and Windows · f0e673cc
      unknown authored
      Docs/manual.texi:
        Changed TCX -> MySQL AB
      configure.in:
        New version
      include/my_sys.h:
        Fixes for OS2
      ltconfig:
        Fixes for OS2
      ltmain.sh:
        Fixes for OS2
      mit-pthreads/net/net_internal.h:
        Fixes for OPENBSD
      mit-pthreads/net/proto_internal.h:
        Fixes for OPENBSD
      mit-pthreads/net/res_internal.h:
        Fixes for OPENBSD
      mit-pthreads/net/serv_internal.h:
        Fixes for OPENBSD
      myisammrg/myrg_open.c:
        MERGE didn't work on Windows
      mysys/my_getwd.c:
        Fixes for OS2
      sql/field.cc:
        cleanup
      sql/field.h:
        Fix for new SCO compiler
      sql/ha_berkeley.cc:
        Cleanup
      sql/ha_berkeley.h:
        Portability fix
      sql/item_sum.h:
        Fix for new SCO compiler
      sql/log.cc:
        Fixes for OS2
      sql/log_event.h:
        Fixes for OS2
      sql/mysqld.cc:
        Fixes for OS2
      sql/net_serv.cc:
        Fixes for OS2
      sql/sql_analyse.h:
        Fix for new SCO compiler
      sql/sql_class.h:
        Fix for new SCO compiler
      sql/sql_map.h:
        Fix for new SCO compiler
      sql/sql_repl.cc:
        cleanup
      sql/sql_string.h:
        Fix for new SCO compiler
      sql/sql_table.cc:
        cleanup
      strings/longlong2str-x86.s:
        Fixes for openbsd
      f0e673cc
  16. 25 Jan, 2001 1 commit
    • unknown's avatar
      Lots of manual changes · 8c2c633f
      unknown authored
      Changed 'static inline' to 'inline' for SCO new's compiler
      
      
      Docs/manual.texi:
        Lots of changes in "Debugging a MySQL server" and in Log files handling
      mysys/hash.c:
        Changed 'static inline' to 'inline'
      sql/hostname.cc:
        Changed 'static inline' to 'inline'
      sql/item.cc:
        Changed 'static inline' to 'inline'
      sql/net_serv.cc:
        Changed 'static inline' to 'inline'
      sql/password.c:
        Changed 'static inline' to 'inline'
      sql/slave.cc:
        Changed 'static inline' to 'inline'
      sql/sql_acl.cc:
        Changed 'static inline' to 'inline'
      sql/sql_base.cc:
        Changed mysql_list_field() to convert field names again
      sql/sql_parse.cc:
        Changed 'static inline' to 'inline'
      sql/sql_repl.cc:
        fixed typo
      8c2c633f
  17. 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/eng...
      5a7405fd
  18. 22 Jan, 2001 2 commits
    • unknown's avatar
      Fixes for OSF1 · eaa3f586
      unknown authored
      Made test more reliable on slow machines
      
      
      Docs/manual.texi:
        Changelog
      client/mysqladmin.c:
        Made --silent more silent
      include/my_pthread.h:
        Removed warning on OSF1
      mysql-test/install_test_db.sh:
        Allow connections from 127.0.0.1
      mysql-test/mysql-test-run.sh:
        Use mysqladmin ping to test if server is up
      mysql-test/r/rpl000015.result:
        Added sleep to make results repeatable
      mysql-test/t/rpl000015.test:
        Added sleep to make results repeatable
      mysql-test/t/rpl000016.test:
        Added sleep to make results repeatable
      sql/sql_repl.cc:
        added DBUG entry
      sql/sql_table.cc:
        Removed comparison of virtual functions as this didn't work on
        Compaq C++ on OSF1
      eaa3f586
    • unknown's avatar
      keep bk happy · b80ead72
      unknown authored
      Docs/manual.texi:
        Changelog
      mysql-test/mysql-test-run.sh:
        Added missing --user
      sql/ha_berkeley.cc:
        Fixed bug in SHOW LOGS
      sql/item_func.cc:
        Cleanup; Fixed possible problem with NULL
      sql/mini_client.cc:
        cleanup
      sql/slave.cc:
        Cleanup
      sql/sql_repl.cc:
        Fixed timing problem where we could miss a broadcast
      sql/sql_show.cc:
        Fixed bug in SHOW LOGS when there wasn't any log files
      b80ead72
  19. 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.r...
      efe9c8b3
  20. 15 Dec, 2000 2 commits
    • unknown's avatar
      client/mysqltest.c · c6200353
      unknown authored
          fixed bug that created empty result files in no-record mode
      mysql-test/t/rpl000007.test
          testing non-replication of load data infile when the table is excluded from replication
      mysql-test/t/rpl000016.test
          test purge master logs
      sql/slave.cc
          fix memory leaks found by  purge master logs test
      sql/sql_repl.cc
          fixed race condition and delete before close bug in reset_slave()
      
      Overall comments - coverage testing is a very good thing!
      
      
      client/mysqltest.c:
        fixed bug that created empty result files in no-record mode
      mysql-test/t/rpl000007.test:
        testing non-replication of load data infile when the table is excluded from replication
      mysql-test/t/rpl000016.test:
        test purge master logs
      sql/slave.cc:
        fix memory leaks found by  purge master logs test
      sql/sql_repl.cc:
        fixed race condition and delete before close bug in reset_slave()
      c6200353
    • unknown's avatar
      client/mysqltest.c · 9acffc82
      unknown authored
          added system command
      myisammrg/myrg_open.c
          fixed coredump when opening an empty union table
      sql/sql_repl.cc
          fixed warnings, remove confusing comment, fixed coredump in
          change master to when master.info was corrupted
      
      added new replication test case
      
      
      client/mysqltest.c:
        added system command
      myisammrg/myrg_open.c:
        fixed coredump when opening an empty union table
      sql/sql_repl.cc:
        fixed warnings, remove confusing comment, fixed coredump in
        change master to when master.info was corrupted
      9acffc82
  21. 13 Dec, 2000 1 commit
    • unknown's avatar
      fixed · 0f36cca2
      unknown authored
      mysql-test/mysql-test-run:
        fixed bug that unconditionally restarted both servers before each test
        added support for slave-master-info.opt to specify master info 
        options and override defaults for an individual test
        fixed race conditions in slave start/slave stop
        added a new rpl test case
      sql/sql_repl.cc:
        fixed race conditions in slave start/slave stop
      0f36cca2
  22. 11 Dec, 2000 2 commits
    • unknown's avatar
      sql/sql_repl.cc · f63b1499
      unknown authored
          last fix in send_file() was wrong
      
      
      sql/sql_repl.cc:
        last fix in send_file() was wrong
      f63b1499
    • unknown's avatar
      I hope I've fixed all the bugs by now, let's test it · 1581aae5
      unknown authored
      sql/log_event.h:
        changed new/delete for Log_event to use my_malloc/my_free
      sql/mysql_priv.h:
        wait for slave to get going
      sql/mysqld.cc:
        wait for slave to get going in SLAVE START
      sql/slave.cc:
        fixed more memory leaks
      sql/sql_repl.cc:
        file name was not being \0 terminated in send_file
      1581aae5
  23. 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
  24. 08 Dec, 2000 1 commit
    • unknown's avatar
      sql/mysqld.cc · 9aaf054f
      unknown authored
          fixed auto set of server id
      sql/sql_repl.cc
          do not allow slave to replicate if master id was not supplied
      sql/sql_repl.h
          fix for server_id
      
      
      sql/mysqld.cc:
        fixed auto set of server id
      sql/sql_repl.cc:
        do not allow slave to replicate if master id was not supplied
      sql/sql_repl.h:
        fix for server_id
      9aaf054f
  25. 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
  26. 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
  27. 17 Nov, 2000 1 commit
    • unknown's avatar
      sql/log.cc · 09a8c608
      unknown authored
          fixed bug in find_first_log
      sql/mysqlbinlog.cc
          flose file only if we opened it
      sql/slave.cc
          changed spacing
      sql/sql_repl.cc
          fixed error message
      
      
      sql/log.cc:
        fixed bug in find_first_log
      sql/mysqlbinlog.cc:
        flose file only if we opened it
      sql/slave.cc:
        changed spacing
      sql/sql_repl.cc:
        fixed error message
      BitKeeper/etc/ignore:
        Added repl-tests/test-repl/foo-dump-slave.master. repl-tests/test-repl/sum-wlen-slave.master. repl-tests/test-repl/sum-wlen-slave.master.re to the ignore list
      09a8c608
  28. 16 Nov, 2000 1 commit
    • unknown's avatar
      changed to use IO_CACHE instead of FILE · f44cc23c
      unknown authored
      Docs/manual.texi:
        Type fixes
      myisam/mi_create.c:
        Fixed bug in update from different processes
      myisam/mi_locking.c:
        Fixed bug in update from different processes
      myisam/mi_open.c:
        Fixed bug in update from different processes
      myisam/mi_search.c:
        Fixed bug in update from different processes
      myisam/myisamdef.h:
        Fixed bug in update from different processes
      mysys/Makefile.am:
        Added mf_iocache2.c
      sql/log.cc:
        Changed to use IO_CACHE instead of FILE
      sql/sql_class.h:
        Changed to use IO_CACHE instead of FILE
      sql/sql_repl.cc:
        Changed to use IO_CACHE instead of FILE
      BitKeeper/etc/logging_ok:
        Logging to logging@openlogging.org accepted
      f44cc23c
  29. 15 Nov, 2000 1 commit
    • unknown's avatar
      changed to use IO_CACHE instead of FILE · 415381f6
      unknown authored
      BitKeeper/deleted/.del-mf_reccache.c:
        ***MISSING WEAVE***
      Docs/manual.texi:
        Fix licence information + update changelog
      client/mysqlimport.c:
        Fixed typo
      client/sql_string.cc:
        Added support for IO_CACHE
      client/sql_string.h:
        Added support for IO_CACHE
      include/my_sys.h:
        More options for IO_CACHE
      mysql.proj:
        Update
      mysys/Makefile.am:
        Remoced mf_reccache.c
      mysys/mf_cache.c:
        Fixed return value on error and optimzed used of write cache files
      mysys/mf_iocache.c:
        More options for IO_CACHE
      mysys/my_vsnprintf.c:
        Optimized code
      sql/mf_iocache.cc:
        merge with mf_iocache.c
      sql/net_pkg.cc:
        cleanup
      sql/sql_class.cc:
        Support for transaction safe log files
      sql/sql_string.cc:
        Added support for IO_CACHE
      sql/sql_string.h:
        Added support for IO_CACHE
      sql/time.cc:
        cleanup
      BitKeeper/etc/logging_ok:
        Logging to logging@openlogging.org accepted
      415381f6
  30. 11 Nov, 2000 1 commit
    • unknown's avatar
      laptop commit · 0ce690e7
      unknown authored
      BUILD/compile-pentium-debug-no-bdb:
        forgot to install BDB on my laptop, needed to have this
      sql/log.cc:
        fixed initialization warning
      sql/sql_insert.cc:
        delayed insert was getting logged on failure. To make things worse,
        all delayed inserts were being logged with query_length=0
      sql/sql_repl.cc:
        fixed compiler warnings
      0ce690e7
  31. 07 Nov, 2000 1 commit
    • unknown's avatar
      sql/item_strfunc.cc · a17b923d
      unknown authored
          fixed coredump in concat_ws
      sql/item_strfunc.h
          fixed coredump in concat_ws
      sql/mini_client.cc
          added mc_mysql_error()
      sql/mini_client.h
          added mc_mysql_errno()
      sql/mysqlbinlog.cc
          fixed bug in --postion for local files
      sql/slave.cc
          more verbose message on bad net reads
      sql/sql_repl.cc
          send errno on error in mysql_binlog_send
      
      
      sql/item_strfunc.cc:
        fixed coredump in concat_ws
      sql/item_strfunc.h:
        fixed coredump in concat_ws
      sql/mini_client.cc:
        added mc_mysql_error()
      sql/mini_client.h:
        added mc_mysql_errno()
      sql/mysqlbinlog.cc:
        fixed bug in --postion for local files
      BitKeeper/etc/ignore:
        Added client/.mysqladmin.c.swp to the ignore list
      sql/slave.cc:
        more verbose message on bad net reads
      sql/sql_repl.cc:
        send errno on error in mysql_binlog_send
      a17b923d
  32. 04 Nov, 2000 1 commit
    • unknown's avatar
      sql/slave.cc · ae85f5f2
      unknown authored
          mutex now initialized in the constructor
      sql/sql_class.h
          intialize MASTER_INFO mutex in the constructor
      sql/sql_repl.cc
          fixed typo in error message
          if the user does not specify offset in CHANGE MASTER TO, set it to skip magic number
      repl-tests/test-repl-ts/repl-timestamp.master.reject
          New BitKeeper file ``repl-tests/test-repl-ts/repl-timestamp.master.reject''
      
      
      BitKeeper/etc/ignore:
        Added repl-tests/test-repl-ts/repl-timestamp.master.reject to the ignore list
      sql/slave.cc:
        mutex now initialized in the constructor
      sql/sql_class.h:
        intialize MASTER_INFO mutex in the constructor
      sql/sql_repl.cc:
        fixed typo in error message
        if the user does not specify offset in CHANGE MASTER TO, set it to skip magic number
      ae85f5f2
  33. 27 Oct, 2000 1 commit
    • unknown's avatar
      fixed --skip-slave-thread bug · 265bfc17
      unknown authored
      added PURGE MASTER LOGS TO and SHOW MASTER LOGS
      fixed the output of SHOW MASTER STATUS
      updated docs
      
      
      Docs/manual.texi:
        Update for PURGE MASTER LOGS TO, SHOW MASTER LOGS
      sql/lex.h:
        added PURGE
      sql/log.cc:
        update for PURGE
      BitKeeper/etc/ignore:
        Added include/.my_sys.h.swp PENDING/2000-10-25.01 PENDING/2000-10-25.02 support-files/mysql-3.23.27-beta.spec to the ignore list
      sql/mysqld.cc:
        fixed bug in --skip-slave-start
      sql/sql_class.cc:
        added linfo to THD
      sql/sql_class.h:
        updates for PURGE
      sql/sql_lex.h:
        updates for PURGE
      sql/sql_parse.cc:
        updates for PURGE
      sql/sql_repl.cc:
        updates for PURGE
      sql/sql_repl.h:
        updates for PURGE
      sql/sql_yacc.yy:
        updates for PURGE
      265bfc17