An error occurred fetching the project authors.
  1. 16 Nov, 2002 1 commit
    • unknown's avatar
      Small improvement to alloc_root · bd1c2d65
      unknown authored
      Add support for LIMIT # OFFSET #
      Changed lock handling:  Now all locks should be stored in TABLE_LIST instead of passed to functions.
      Don't call query_cache_invalidate() twice in some cases
      mysql_change_user() now clears states to be equal to close + connect.
      Fixed a bug with multi-table-update and multi-table-delete when used with LOCK TABLES
      Fixed a bug with replicate-do and UPDATE
      
      
      BitKeeper/etc/ignore:
        added autom4te.cache/* bdb/dist/autom4te.cache/* innobase/autom4te.cache/*
      include/my_alloc.h:
        Small improvement to alloc_root
      libmysql/libmysql.c:
        Removed compiler warning
      myisam/mi_page.c:
        Better DBUG message
      mysql-test/r/multi_update.result:
        Added test with lock tables
      mysql-test/r/rpl_replicate_do.result:
        Update results
      mysql-test/r/rpl_rotate_logs.result:
        Make test independent of if t1 exists
      mysql-test/t/multi_update.test:
        Added test with lock tables
      mysql-test/t/rpl_rotate_logs.test:
        Make test independent of if t1 exists
      mysys/my_alloc.c:
        Small imprevement to alloc_root
        (Don't free blocks less than ALLOC_MAX_BLOCK_ROOT (4K)
      sql/ha_innodb.cc:
        More debug messages
      sql/ha_myisam.cc:
        Safety change
      sql/lex.h:
        Add support for LIMIT # OFFSET #
      sql/lock.cc:
        Added assertion
      sql/mysql_priv.h:
        Change of lock handling
      sql/mysqld.cc:
        Added function clear_error_messages()
      sql/sql_base.cc:
        Change lock handling by open_ltable() and open_and_lock_tables()
      sql/sql_class.cc:
        Split THD::THD to two functions
        Move some code from cleanup() to ~THD:THD
        Add THD::change_user()
      sql/sql_class.h:
        Prototype changes in class THD
      sql/sql_delete.cc:
        Remove locking argument from mysql_delete()
        Locking type is now stored in TABLE_LIST
        Small code change to not call query_cache_invalidate() twice for transactional tables.
      sql/sql_insert.cc:
        Remove locking argument from mysql_insert()
        Locking type is now stored in TABLE_LIST
        Small code change to not call query_cache_invalidate() twice for transactional tables.
        Don't use bulk insert if bulk_insert_buff_size is 0
      sql/sql_parse.cc:
        Changes to make mysql_change_user() work as close+connect
        Changed command statistics to use statstics_increment to get more speed
        Update code to handle that locks is now stored in TABLE_LIST
      sql/sql_update.cc:
        Remove locking argument from mysql_update()
        Locking type is now stored in TABLE_LIST
        Small code change to not call query_cache_invalidate() twice for transactional tables.
      sql/sql_yacc.yy:
        Locking type is now stored in TABLE_LIST
        Added support for LIMIT # OFFSET # syntax
        Removed some wrong (never true) checks for SQLCOM_MULTI_UPDATE
      mysql-test/t/rpl_replicate_do-slave.opt:
        Changed tables to use t1,t2,...
      mysql-test/t/rpl_replicate_do.test:
        Changed tables to use t1,t2,...
      bd1c2d65
  2. 29 Oct, 2002 1 commit
    • unknown's avatar
      Changed binlog name padding from binlog.001 to binlog.000001 · 46cd8ff4
      unknown authored
      mysql-test/Makefile.am:
        Changed binlog.001 to be binlog.000001
      mysql-test/r/rpl000015.result:
        Changed binlog.001 to be binlog.000001
      mysql-test/r/rpl000018.result:
        Changed binlog.001 to be binlog.000001
      mysql-test/r/rpl_flush_log_loop.result:
        Changed binlog.001 to be binlog.000001
      mysql-test/r/rpl_log.result:
        Changed binlog.001 to be binlog.000001
      mysql-test/r/rpl_log_pos.result:
        Changed binlog.001 to be binlog.000001
      mysql-test/r/rpl_rotate_logs.result:
        Changed binlog.001 to be binlog.000001
      mysql-test/t/rpl000017-slave.sh:
        Changed binlog.001 to be binlog.000001
      mysql-test/t/rpl_log.test:
        Changed binlog.001 to be binlog.000001
      mysql-test/t/rpl_rotate_logs.test:
        Changed binlog.001 to be binlog.000001
      sql/log.cc:
        Changed binlog.001 to be binlog.000001
      46cd8ff4
  3. 25 Oct, 2002 1 commit
  4. 24 Oct, 2002 1 commit
  5. 22 Sep, 2002 1 commit
    • unknown's avatar
      Don't give the anonymous user create temp table or lock tables privileges. · 92dd0393
      unknown authored
      SET PASSWORD=... closed connection on error.
      
      
      Docs/manual.texi:
        Changelog
      mysql-test/r/rpl_rotate_logs.result:
        Fixed test
      scripts/mysql_fix_privilege_tables.sh:
        Don't give the anonymous user create temp table or lock tables privileges.
      sql/set_var.cc:
        SET PASSWORD=... closed connection on error, because MySQL sent the error message twice.
      sql/set_var.h:
        SET PASSWORD=... closed connection on error, because MySQL sent the error message twice.
      sql/sql_acl.cc:
        Added function comment
      sql/sql_db.cc:
        Change type of variable
      sql/sql_parse.cc:
        SET PASSWORD=... closed connection on error, because MySQL sent the error message twice.
      tests/grant.pl:
        Updated grant test case to work with latest MySQL version
      tests/grant.res:
        updated test results
      92dd0393
  6. 11 Sep, 2002 1 commit
    • unknown's avatar
      Portability fixes. · 8f232cb7
      unknown authored
      Improve mysql-test to be more robust.
      Fix that GRANT doesn't delete SSL options
      Change innobase_flush_log_at_trx_commit to uint.
      Don't rotate logs if we read a rotate log entry from the master.
      
      
      Docs/manual.texi:
        Changelog
      client/mysqlbinlog.cc:
        Handle empty binlogfiles gracefully
      client/mysqltest.c:
        Do a sleep after 'sync_with_master'
        Cleaned up sleep() handling.
        Free all memory on exit
      configure.in:
        Fix for Mac OS 10.2
      include/my_sys.h:
        Added my_strdup_with_length()
      innobase/btr/btr0cur.c:
        Fixed wrong printf()
      libmysql/libmysql.c:
        Added DBUG_PRINT statements.
        Assume that mysql_...send() functions has correct query length.
      mysql-test/mysql-test-run.sh:
        Properly remove log files before starting new tests.
      mysql-test/r/grant.result:
        Update for new test results
      mysql-test/r/innodb.result:
        Update for new test results
      mysql-test/r/myisam.result:
        Update for new test results
      mysql-test/r/rpl_log.result:
        Update for new test results
      mysql-test/r/rpl_rotate_logs.result:
        Update for new test results
      mysql-test/r/variables.result:
        Update for new test results
      mysql-test/t/grant.test:
        Test that GRANT doesn't delete SSL options
      mysql-test/t/myisam.test:
        Test long key usage
      mysql-test/t/rpl_log.test:
        Disable 'show new master'
      mysql-test/t/rpl_mystery22.test:
        Longer sleep for more safety.
      mysql-test/t/rpl_rotate_logs.test:
        More comments
      mysys/my_malloc.c:
        Added my_strdup_with_length()
      mysys/safemalloc.c:
        Added my_strdup_with_length()
      mysys/thr_alarm.c:
        Fix of alarms for windows.
      sql/ha_innodb.cc:
        Change innobase_flush_log_at_trx_commit to uint
      mysql-test/r/rpl_redirect.result:
        Updated test results
      mysql-test/t/rpl_redirect.test:
        Added more tests to improve code coverage.
      sql/ha_innodb.h:
        Change innobase_flush_log_at_trx_commit to uint
      sql/item_func.cc:
        Return GLOBAL and SESSION as part of column names
      sql/log.cc:
        Only write STOP events when server goes down.
      sql/log_event.cc:
        Don't rotate logs if we read a rotate log entry from the master.
      sql/log_event.h:
        Change ident_len to uint (more efficient)
      sql/mysqld.cc:
        Change innobase_flush_log_at_trx_commit to uint
      sql/net_serv.cc:
        More debug output
      sql/repl_failsafe.cc:
        More DEBUG
        Search until we find next position in binary log (and not only =)
      sql/slave.cc:
        More DBUG & comments
        Don't rotate the binary log on master flush logs
      sql/slave.h:
        indentation change
      sql/sql_acl.cc:
        Test that GRANT doesn't delete SSL options
      sql/sql_parse.cc:
        Disable show_new_master.
      sql/sql_repl.cc:
        Chamger show_binlog_events() to use my_error()
      sql/sql_table.cc:
        Fixed check for too long keys in MyISAM
      sql/sql_udf.cc:
        Fix udf handling
      8f232cb7
  7. 24 Aug, 2002 1 commit
    • unknown's avatar
      Give better error from reconnect() · 02f8c163
      unknown authored
      Fixed hang in start_slave_threads() when thread dies quickly.
      
      
      Docs/manual.texi:
        Changelog
      client/mysqltest.c:
        Indentation cleanup
        More DBUG info
      libmysql/libmysql.c:
        More DBUG info
        Give better error from reconnect()
      mysql-test/r/rpl_rotate_logs.result:
        Update results
      mysql-test/t/rpl_log_pos.test:
        Fix for fast machines
      mysql-test/t/rpl_rotate_logs.test:
        Updated test to be more portable
      scripts/mysql_zap.sh:
        Update for MacOSX
      sql/mini_client.cc:
        Better error messages from reconnect.
        Indentation cleanups
      sql/slave.cc:
        Fixed hang in start_slave_threads() when thread dies quickly.
      sql/slave.h:
        Fixed hang in start_slave_threads() when thread dies quickly.
      02f8c163
  8. 23 Aug, 2002 1 commit
    • unknown's avatar
      Added testing of temporary tables with replication · e089fcce
      unknown authored
      mysql-test/t/rpl_rotate_logs-master.opt:
        Rename: mysql-test/t/rpl000016-master.opt -> mysql-test/t/rpl_rotate_logs-master.opt
      mysql-test/t/rpl_rotate_logs-slave.sh:
        Rename: mysql-test/t/rpl000016-slave.sh -> mysql-test/t/rpl_rotate_logs-slave.sh
      mysql-test/t/rpl_rotate_logs-slave-master-info.opt:
        Rename: mysql-test/t/rpl000016-slave-master-info.opt -> mysql-test/t/rpl_rotate_logs-slave-master-info.opt
      BitKeeper/etc/ignore:
        Added mit-pthreads/include/bits mit-pthreads/include/pthread/machdep.h mit-pthreads/include/pthread/posix.h mit-pthreads/include/sys mit-pthreads/machdep.c mit-pthreads/pg++ mit-pthreads/pgcc sql-bench/innotest1 sql-bench/innotest1a sql-bench/innotest1b sql-bench/innotest2 sql-bench/innotest2a sql-bench/innotest2b to the ignore list
      mysql-test/r/rpl_rotate_logs.result:
        Added testing of temporary tables
      mysql-test/t/rpl000018.test:
        Commented test
      mysql-test/t/rpl_rotate_logs.test:
        Added testing of temporary tables
      e089fcce
  9. 23 Jul, 2002 1 commit
    • unknown's avatar
      New SET syntax & system variables. · a8caad31
      unknown authored
      Made a some new buffers thread specific and changeable.
      Resize of key_buffer.
      AUTO_COMMIT -> AUTOCOMMIT
      Fixed mutex bug in DROP DATABASE
      Fixed bug when using auto_increment as second part of a key where first part could include NULL.
      Split handler->extra() to extra() and extra_opt() to be able to support thread specific buffers.
      Don't write message to error log when slave reconnects becasue of timeout.
      Fixed possible update problem when using DELETE/UPDATE on small tables
      (In some cases we used index even if table scanning would be better)
      A lot of minior code cleanups
      
      
      BitKeeper/deleted/.del-net.c~ef21d6402bb882f9:
        Delete: libmysql/net.c
      BitKeeper/etc/ignore:
        added libmysql/net.c
      Docs/manual.texi:
        New SET syntax & system variables.
      client/client_priv.h:
        moved order of include files
      client/mysql.cc:
        Removed compiler warning
      client/mysqladmin.c:
        Use new SHOW GLOBAL syntax (if server supports it)
      configure.in:
        version change
      include/Makefile.am:
        indentation cleanup
      include/my_getopt.h:
        Made some helper functions global
      include/my_sys.h:
        Removed not used code
      include/myisam.h:
        Added extra argument to ..._extra()
      include/myisammrg.h:
        Added extra argument to ..._extra()
      include/mysql_com.h:
        changed NET to be able to support changeable system variables
      include/mysql_embed.h:
        Added MYSQL_SERVER_SUFFIX
      include/mysql_version.h.in:
        Added check of multiple including (needed for embedded library)
      include/mysqld_error.h:
        New error messages
      innobase/dict/dict0dict.c:
        Remove compiler warnings
      innobase/include/ut0mem.h:
        Remove compiler warnings
      innobase/include/ut0mem.ic:
        Remove compiler warnings
      isam/isamchk.c:
        new init_key_cache() arguments
      isam/isamlog.c:
        new init_key_cache() arguments
      isam/test2.c:
        new init_key_cache() arguments
      isam/test3.c:
        new init_key_cache() arguments
      libmysql/Makefile.am:
        Removed net.c (Automaticly make it from net_serv.cc)
      libmysql/Makefile.shared:
        Removed net.c (Automaticly make it from net_serv.cc)
      libmysql/libmysql.c:
        Changeable system variables
      libmysqld/Makefile.am:
        Added set_var.cc file
      libmysqld/embedded_priv.h:
        Changed order of include fiels
      libmysqld/lib_sql.cc:
        merge with mysqld.cc (for changeable variables)
      libmysqld/libmysqld.c:
        New changeable system variables
      myisam/mi_check.c:
        Added extra argument to ..._extra()
      myisam/mi_extra.c:
        Added extra argument to ..._extra()
      myisam/mi_open.c:
        Removed not used variable
      myisam/mi_test1.c:
        Changed call to init_key_cache
      myisam/mi_test2.c:
        Added extra argument to ..._extra()
      myisam/mi_test3.c:
        Added extra argument to ..._extra()
      myisam/mi_write.c:
        Add cache size argument to bulk-insert-init
      myisam/myisamchk.c:
        Use new key cache
      myisam/myisamdef.h:
        new mi_init_bulk_insert() arguments
      myisam/myisamlog.c:
        Added extra argument to ..._extra()
      myisam/myisampack.c:
        Added extra argument to ..._extra()
      myisammrg/myrg_extra.c:
        Added extra argument to ..._extra()
      myisammrg/myrg_rrnd.c:
        Added extra argument to ..._extra()
      mysql-test/r/insert_select.result:
        New changeable system variables
      mysql-test/r/key.result:
        Test of bug in auto_increment
      mysql-test/r/query_cache.result:
        New changeable system variables
      mysql-test/r/rpl000001.result:
        New changeable system variables
      mysql-test/r/rpl000016.result:
        New changeable system variables
      mysql-test/r/union.result:
        New changeable system variables
      mysql-test/r/user_var.result:
        New changeable system variables
      mysql-test/r/variables.result:
        New changeable system variables
      mysql-test/t/key.test:
        Test of bug in auto_increment
      mysql-test/t/query_cache.test:
        New changeable system variables
      mysql-test/t/rpl000001.test:
        New changeable system variables
      mysql-test/t/rpl000009.test:
        New changeable system variables
      mysql-test/t/rpl000016.test:
        New changeable system variables
      mysql-test/t/rpl_compat.test:
        New changeable system variables
      mysql-test/t/union.test:
        New changeable system variables
      mysql-test/t/user_var.test:
        New changeable system variables
      mysql-test/t/variables.test:
        New changeable system variables
      mysys/default.c:
        Bigger default memory allocation
      mysys/mf_iocache.c:
        Removed compiler warning
      mysys/mf_keycache.c:
        Made key cache resizable on the fly
        Removed not needed extra argument to init_key_cache()
      mysys/my_getopt.c:
        Made some helper functions global
      sql/Makefile.am:
        Aded set_var.cc
      sql/convert.cc:
        Comment cleanup
      sql/field.cc:
        new changeable system variables
      sql/filesort.cc:
        new changeable system variables
      sql/ha_berkeley.cc:
        AUTO_COMMIT -> AUTOCOMMIT
      sql/ha_innodb.cc:
        new changeable system variables
      sql/ha_myisam.cc:
        Added extra argument to ..._extra()
      sql/ha_myisam.h:
        Added extra argument to ..._extra()
      sql/ha_myisammrg.cc:
        Added extra argument to ..._extra()
      sql/ha_myisammrg.h:
        Added extra argument to ..._extra()
      sql/handler.cc:
        Added extra argument to ..._extra()
        Added resize of key cache
        Change ha_table_typelib for use with new system variables
      sql/handler.h:
        Added extra argument to ..._extra()
      sql/item.cc:
        new changeable system variables
      sql/item.h:
        Added better support of Item_uint
      sql/item_func.cc:
        Added support for SET @@[global | session] system_variable
      sql/item_strfunc.cc:
        new changeable system variables
      sql/key.cc:
        Fixed bug in auto_increment on second part keys
      sql/lex.h:
        Removed not needed keywords
      sql/log.cc:
        new changeable system variables
      sql/log_event.cc:
        new changeable system variables
      sql/log_event.h:
        Removed not needed var reference
      sql/mini_client.cc:
        new changeable system variables
        code cleanup
      sql/mini_client.h:
        Indentation cleanup
      sql/mysql_priv.h:
        Changed order of include files & variables to make file more readable
      sql/mysqld.cc:
        Changed order of variables to make file more readable.
        Support for changeable variables
        Rename of system variables
        Moved init_vars to set_var.cc
        Changed output of --help
      sql/net_pkg.cc:
        Added my_net_local_init() to make it possible to set different defaults for network connection depending if you are a client, embedded library or server.
      sql/net_serv.cc:
        new changeable system variables
        To support this, some global variables had to be move to the NET structure.
      sql/records.cc:
        new changeable system variables
        use extra_opt()
      sql/repl_failsafe.cc:
        new changeable system variables
        minior code cleanups
      sql/repl_failsafe.h:
        removed not needed external var reference
      sql/share/czech/errmsg.txt:
        new changeable system variables
      sql/share/danish/errmsg.txt:
        new changeable system variables
      sql/share/dutch/errmsg.txt:
        new changeable system variables
      sql/share/english/errmsg.txt:
        new changeable system variables
      sql/share/estonian/errmsg.txt:
        new changeable system variables
      sql/share/french/errmsg.txt:
        new changeable system variables
      sql/share/german/errmsg.txt:
        new changeable system variables
      sql/share/greek/errmsg.txt:
        new changeable system variables
      sql/share/hungarian/errmsg.txt:
        new changeable system variables
      sql/share/italian/errmsg.txt:
        new changeable system variables
      sql/share/japanese/errmsg.txt:
        new changeable system variables
      sql/share/korean/errmsg.txt:
        new changeable system variables
      sql/share/norwegian-ny/errmsg.txt:
        new changeable system variables
      sql/share/norwegian/errmsg.txt:
        new changeable system variables
      sql/share/polish/errmsg.txt:
        new changeable system variables
      sql/share/portuguese/errmsg.txt:
        new changeable system variables
      sql/share/romanian/errmsg.txt:
        new changeable system variables
      sql/share/russian/errmsg.txt:
        new changeable system variables
      sql/share/slovak/errmsg.txt:
        new changeable system variables
      sql/share/spanish/errmsg.txt:
        new changeable system variables
      sql/share/swedish/errmsg.txt:
        new changeable system variables
      sql/share/ukrainian/errmsg.txt:
        new changeable system variables
      sql/slave.cc:
        new changeable system variables
        Added some suppression of error messages
        Initialize current_thd for all slave threads.
      sql/sql_acl.cc:
        Added checking of arguments for SET PASSWORD (for new SET defintion)
      sql/sql_acl.h:
        new prototypes
      sql/sql_base.cc:
        new changeable system variables
      sql/sql_cache.cc:
        new changeable system variables
      sql/sql_cache.h:
        Renamed some arguments to make code more readable
      sql/sql_class.cc:
        new changeable system variables
      sql/sql_class.h:
        New changeable system variables
        Code cleanup
      sql/sql_db.cc:
        Fixed bug in DROP DATABASE
      sql/sql_delete.cc:
        Usage of wrong define in test (possible speed problem)
      sql/sql_insert.cc:
        use extra_opt()
        Code cleanup
      sql/sql_lex.cc:
        Added support for SET @@[global | session] system_variable
      sql/sql_lex.h:
        Added support for SET @@[global | session] system_variable
      sql/sql_load.cc:
        Cleanup for embedded library
        Use extra_opt()
      sql/sql_parse.cc:
        Cleanup for embedded library
        New changeable system variables
      sql/sql_repl.cc:
        new changeable system variables
      sql/sql_repl.h:
        Fixed variable definitions
      sql/sql_select.cc:
        new changeable system variables
      sql/sql_show.cc:
        New changeable system variables
      sql/sql_table.cc:
        Fixed bug in DROP DATABASE
      sql/sql_union.cc:
        New changeable system variables
      sql/sql_update.cc:
        Usage of wrong define in test (possible speed problem)
      sql/sql_yacc.yy:
        New changeable system variables
      sql/structs.h:
        Added typedef for SHOW_VAR
      sql/table.cc:
        Fixed bug in auto_increment on second part keys
      sql/uniques.cc:
        Comment fix
      sql/unireg.h:
        A
      a8caad31
  10. 02 Apr, 2002 1 commit
    • unknown's avatar
      relay_log_space_limit · d7cfbff5
      unknown authored
      DBUG_ macro cleanup
      buffer boundary cleanup
      This changeset, although not fully tested, works for me better than 
      anything I've had so far, including what is in the repository. I will 
      push it unless something crashes while I am writing this :-)
      
      
      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:
        new result
      mysys/mf_iocache.c:
        DBUG_ cleanup
      mysys/mf_iocache2.c:
        DBUG_ fix
      sql/log.cc:
        added relay_log_space_limit
      sql/mysqld.cc:
        relay_log_space_limit
      sql/slave.cc:
        relay_log_space_limit
      sql/slave.h:
        relay_log_space_limit
      sql/sql_class.h:
        relay_log_space_limit
      sql/sql_repl.cc:
        fixed buffer overrun bug
      d7cfbff5
  11. 27 Jan, 2002 1 commit
    • unknown's avatar
      misc replication bugfixes including some needed modifications in IO_CACHE · 83666b3e
      unknown authored
      likely() and unlikely() branch prediction compiler hint macros
      clean-up of comments
      
      
      include/my_global.h:
        added likely() and unlikely() macros to help some compilers optimize
        the code for architecture-specific branch prediction policies
      include/my_sys.h:
        coverted my_b_append_tell() from macro to a function as it needed to be more
        complex to avoid a potential race condition
      mysql-test/mysql-test-run.sh:
        hostname-independent relay log name to have consistent SHOW SLAVE STATUS
        output
      mysql-test/r/rpl000014.result:
        result update
      mysql-test/r/rpl000015.result:
        result update
      mysql-test/r/rpl000016.result:
        result update
      mysql-test/r/rpl_log.result:
        result update
      mysql-test/t/rpl000017-slave.sh:
        proper cleanup of old logs
      mysys/mf_iocache.c:
        cosmetic changes + more debugging asserts
      mysys/mf_iocache2.c:
        my_b_append_tell()
        cleanup of comments
      sql/log.cc:
        fix potential bug - do not rotate log in the middle of event
      sql/slave.cc:
        do not write stop events when the server does not actually stop but just 
        rotates the log
        fixed race between queue_event() and show_slave_status()
        clean-up of comments
      sql/slave.h:
        added ignore_stop_event flag to SLAVE_LOG_INFO
      83666b3e
  12. 25 Jan, 2002 1 commit
    • unknown's avatar
      more predicatable slave behaviour with wait_for_slave_stop in mysqltest · de172721
      unknown authored
      fixed a couple of bugs with SEQ_READ_APPEND cache
      rpl000016 still has non-deterministic result, but I am going to commit and
      push since what I have is now better than what is in the main repository
      
      
      client/mysqltest.c:
        added wait_for_slave_to_stop
        cleaned up TODO and comments
      include/my_sys.h:
        fixed race in flush_io_cache in SEQ_READ_APPEND cache
      mysql-test/r/rpl000016.result:
        updated result
      mysql-test/t/rpl000016.test:
        use wait_for_slave_to_stop to have deterministic slave behaviour for the test
      mysys/mf_iocache.c:
        fixed race in flush_io_cache()
        fixed failure to unlock mutex in my_b_append()
      sql/log.cc:
        be compatible with 3.23 master
      sql/log_event.cc:
        3.23 master compat
      sql/slave.cc:
        3.23 master compat
      sql/sql_class.h:
        compat with 3.23 master
      de172721
  13. 22 Jan, 2002 1 commit
    • unknown's avatar
      post-merge fixes, including slave-skip-errors backport · 11f04648
      unknown authored
      fixed too quick timeout in mysql-test-run which caused a race with the
       new server getting started before the old one completely finished 
       shutdown. This should fix the pid warning we've been getting as well as
       inconsistent results when running tests with the manager
      
      
      libmysqld/lib_sql.cc:
        post-merge fix
      mysql-test/mysql-test-run.sh:
        fixed start/stop timeout and cleanup of log directory
      mysql-test/r/rpl000014.result:
        post-merge fix
      mysql-test/r/rpl000015.result:
        post-merge fix
      mysql-test/r/rpl000016.result:
        post-merge fix
      mysql-test/r/rpl_log.result:
        post-merge fix
      sql/log_event.cc:
        post-merge fix
      sql/slave.cc:
        post-merge fix
      sql/slave.h:
        post-merge fix
      sql/sql_class.h:
        post-merge fix
      tools/mysqlmanager.c:
        added debug message
      11f04648
  14. 20 Jan, 2002 1 commit
    • unknown's avatar
      Here comes a nasty patch, although I am not ready to push it yet. I will · 5df61c3c
      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
      5df61c3c
  15. 15 Dec, 2001 1 commit
    • unknown's avatar
      --replace_result in mysqltest can now use variables · 6a5f89c9
      unknown authored
      client/mysqltest.c:
        --replace_result can now use variables
      mysql-test/r/rpl000014.result:
        Fix to use new replace
      mysql-test/r/rpl000015.result:
        Fix to use new replace
      mysql-test/r/rpl000016.result:
        Fix to use new replace
      mysql-test/r/rpl_log.result:
        Fix to use new replace
      mysql-test/t/join.test:
        Fix to use new replace
      mysql-test/t/rpl000014.test:
        Fix to use new replace
      mysql-test/t/rpl000015.test:
        Fix to use new replace
      mysql-test/t/rpl000016.test:
        Fix to use new replace
      mysql-test/t/rpl_log.test:
        Fix to use new replace
      readline/rltty.c:
        Add missing function
      6a5f89c9
  16. 28 Nov, 2001 2 commits
    • unknown's avatar
      Fix of testcases after merge. · caa13ea3
      unknown authored
      Small improvement to write caching.
      
      
      Docs/manual.texi:
        Updated Changelog
      mysql-test/r/rpl000013.result:
        Fix after merge
      mysql-test/r/rpl000016.result:
        Fix after merge
      mysys/mf_iocache2.c:
        Small improvement to write caching.
      sql/sql_select.cc:
        Removed warning
      caa13ea3
    • unknown's avatar
      fixed alias drop bug in binlog · 08fc3585
      unknown authored
      fixed skip counter to do the RightThing (TM) when the user messes up.
      Still do RightThing when he gets it right.
      
      
      mysql-test/r/rpl000016.result:
        updated test result
      mysql-test/t/rpl000013.test:
        test alias bug
      mysql-test/t/rpl000016.test:
        test for proper skip when the user messes up
      sql/slave.cc:
        proper skip even when the user goofs up
      sql/sql_base.cc:
        drop real name, not last used alias in the log
      08fc3585
  17. 11 Nov, 2001 1 commit
    • unknown's avatar
      work to enable reading 3.23 logs - not yet finished · 640fadf2
      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
      640fadf2
  18. 04 Nov, 2001 1 commit
    • unknown's avatar
      Fix error messages · 9f90ff3f
      unknown authored
      mysqltest now also writes failed error messages to log
      
      
      Docs/manual.texi:
        Applied changes missed in last merge
      client/mysqltest.c:
        Write failed error messages to log.
        Remove space from start of line when doing 'eval'
      mysql-test/include/master-slave.inc:
        Fixed after adding output of error messages to mysqltest
      mysql-test/r/alter_table.result:
        Removed wrong space
      mysql-test/r/rpl000001.result:
        Removed wrong space
      mysql-test/r/rpl000003.result:
        Fixed after adding output of error messages to mysqltest
      mysql-test/r/rpl000015.result:
        Removed wrong space
      mysql-test/r/rpl000016.result:
        Removed wrong space
      mysql-test/t/drop.test:
        Change error numbers
      mysql-test/t/union.test:
        Change error numbers
      sql/share/czech/errmsg.txt:
        Fix error messages
      sql/share/danish/errmsg.txt:
        Fix error messages
      sql/share/english/errmsg.txt:
        Fix error messages
      sql/share/french/errmsg.txt:
        Fix error messages
      sql/share/german/errmsg.txt:
        Fix error messages
      sql/share/greek/errmsg.txt:
        Fix error messages
      sql/share/hungarian/errmsg.txt:
        Fix error messages
      sql/share/italian/errmsg.txt:
        Fix error messages
      sql/share/japanese/errmsg.txt:
        Fix error messages
      sql/share/korean/errmsg.txt:
        Fix error messages
      sql/share/norwegian-ny/errmsg.txt:
        Fix error messages
      sql/share/norwegian/errmsg.txt:
        Fix error messages
      sql/share/polish/errmsg.txt:
        Fix error messages
      sql/share/portuguese/errmsg.txt:
        Fix error messages
      sql/share/romanian/errmsg.txt:
        Fix error messages
      sql/share/slovak/errmsg.txt:
        Fix error messages
      sql/share/spanish/errmsg.txt:
        Fix error messages
      sql/share/swedish/errmsg.txt:
        Fix error messages
      sql/share/ukrainian/errmsg.txt:
        Fix error messages
      9f90ff3f
  19. 03 Oct, 2001 1 commit
    • unknown's avatar
      post-merge fixes · 6dcd03d7
      unknown authored
      mysql-test/fix-result:
        version update
      mysql-test/r/bigint.result:
        post-merge fix
      mysql-test/r/join.result:
        post-merge fix
      mysql-test/r/merge.result:
        post-merge fix
      mysql-test/r/null_key.result:
        post-merge fix
      mysql-test/r/rpl000002.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
      mysql-test/r/show_check.result:
        post-merge fix
      mysql-test/t/rpl000002.test:
        post-merge fix
      mysql-test/t/rpl000015.test:
        post-merge fix
      mysql-test/t/rpl000016.test:
        post-merge fix
      6dcd03d7
  20. 28 Sep, 2001 1 commit
    • unknown's avatar
      client/mysqlmanagerc.c · 29f148bd
      unknown authored
          added support for quiet
          increased line buffer size
      client/mysqltest.c
          fixed memory leak
          added query logging to result file
          added error message logging to result file
          added enable_query_log/disable_query_log
      mysql-test/mysql-test-run.sh
          converted tests to use mysqlmanager
      
      Updated test results
      
      
      BitKeeper/etc/ignore:
        added *.reject
      client/mysqlmanagerc.c:
        added support for quiet
        increased line buffer size
      client/mysqltest.c:
        fixed memory leak
        added query logging to result file
        added error message logging to result file
        added enable_query_log/disable_query_log
      mysql-test/mysql-test-run.sh:
        converted tests to use mysqlmanager
      mysql-test/r/alias.result:
        log queries
      mysql-test/r/alter_table.result:
        log queries
      mysql-test/r/analyse.result:
        log queries
      mysql-test/r/auto_increment.result:
        log queries
      mysql-test/r/backup.result:
        log queries
      mysql-test/r/bdb-crash.result:
        log queries
      mysql-test/r/bench_count_distinct.result:
        log queries
      mysql-test/r/bigint.result:
        log queries
      mysql-test/r/binary.result:
        log queries
      mysql-test/r/bulk_replace.result:
        log queries
      mysql-test/r/case.result:
        log queries
      mysql-test/r/check.result:
        log queries
      mysql-test/r/comments.result:
        log queries
      mysql-test/r/compare.result:
        log queries
      mysql-test/r/count_distinct.result:
        log queries
      mysql-test/r/count_distinct2.result:
        log queries
      mysql-test/r/create.result:
        log queries
      mysql-test/r/ctype_latin1_de.result:
        log queries
      mysql-test/r/delayed.result:
        log queries
      mysql-test/r/dirty-close.result:
        log queries
      mysql-test/r/distinct.result:
        log queries
      mysql-test/r/drop.result:
        log queries
      mysql-test/r/empty_table.result:
        log queries
      mysql-test/r/explain.result:
        log queries
      mysql-test/r/flush.result:
        log queries
      mysql-test/r/fulltext.result:
        log queries
      mysql-test/r/fulltext_cache.result:
        log queries
      mysql-test/r/fulltext_distinct.result:
        log queries
      mysql-test/r/fulltext_left_join.result:
        log queries
      mysql-test/r/fulltext_multi.result:
        log queries
      mysql-test/r/fulltext_order_by.result:
        log queries
      mysql-test/r/fulltext_update.result:
        log queries
      mysql-test/r/fulltext_var.result:
        log queries
      mysql-test/r/func_crypt.result:
        log queries
      mysql-test/r/func_date_add.result:
        log queries
      mysql-test/r/func_equal.result:
        log queries
      mysql-test/r/func_group.result:
        log queries
      mysql-test/r/func_in.result:
        log queries
      mysql-test/r/func_like.result:
        log queries
      mysql-test/r/func_math.result:
        log queries
      mysql-test/r/func_misc.result:
        log queries
      mysql-test/r/func_op.result:
        log queries
      mysql-test/r/func_regexp.result:
        log queries
      mysql-test/r/func_set.result:
        log queries
      mysql-test/r/func_str.result:
        log queries
      mysql-test/r/func_system.result:
        log queries
      mysql-test/r/func_test.result:
        log queries
      mysql-test/r/func_time.result:
        log queries
      mysql-test/r/func_timestamp.result:
        log queries
      mysql-test/r/group_by.result:
        log queries
      mysql-test/r/handler.result:
        log queries
      mysql-test/r/having.result:
        log queries
      mysql-test/r/heap.result:
        log queries
      mysql-test/r/identity.result:
        log queries
      mysql-test/r/ins000001.result:
        log queries
      mysql-test/r/insert.result:
        log queries
      mysql-test/r/insert_select.result:
        log queries
      mysql-test/r/isam.result:
        log queries
      mysql-test/r/join.result:
        log queries
      mysql-test/r/join_crash.result:
        log queries
      mysql-test/r/join_outer.result:
        log queries
      mysql-test/r/key.result:
        log queries
      mysql-test/r/key_diff.result:
        log queries
      mysql-test/r/key_primary.result:
        log queries
      mysql-test/r/keywords.result:
        log queries
      mysql-test/r/kill.result:
        log queries
      mysql-test/r/limit.result:
        log queries
      mysql-test/r/lock.result:
        log queries
      mysql-test/r/merge.result:
        log queries
      mysql-test/r/multi_update.result:
        log queries
      mysql-test/r/myisam.result:
        log queries
      mysql-test/r/null.result:
        log queries
      mysql-test/r/null_key.result:
        log queries
      mysql-test/r/odbc.result:
        log queries
      mysql-test/r/openssl_1.result:
        log queries
      mysql-test/r/openssl_2.result:
        log queries
      mysql-test/r/order_by.result:
        log queries
      mysql-test/r/order_fill_sortbuf.result:
        log queries
      mysql-test/r/raid.result:
        log queries
      mysql-test/r/range.result:
        log queries
      mysql-test/r/rename.result:
        log queries
      mysql-test/r/replace.result:
        log queries
      mysql-test/r/rollback.result:
        log queries
      mysql-test/r/rpl000001.result:
        log queries
      mysql-test/r/rpl000002.result:
        log queries
      mysql-test/r/rpl000003.result:
        log queries
      mysql-test/r/rpl000004.result:
        log queries
      mysql-test/r/rpl000005.result:
        log queries
      mysql-test/r/rpl000006.result:
        log queries
      mysql-test/r/rpl000007.result:
        log queries
      mysql-test/r/rpl000008.result:
        log queries
      mysql-test/r/rpl000009.result:
        log queries
      mysql-test/r/rpl000010.result:
        log queries
      mysql-test/r/rpl000011.result:
        log queries
      mysql-test/r/rpl000012.result:
        log queries
      mysql-test/r/rpl000013.result:
        log queries
      mysql-test/r/rpl000014.result:
        log queries
      mysql-test/r/rpl000015.result:
        log queries
      mysql-test/r/rpl000016.result:
        log queries
      mysql-test/r/rpl000017.result:
        log queries
      mysql-test/r/rpl000018.result:
        log queries
      mysql-test/r/rpl_get_lock.result:
        log queries
      mysql-test/r/rpl_log.result:
        log queries
      mysql-test/r/rpl_magic.result:
        log queries
      mysql-test/r/rpl_mystery22.result:
        log queries
      mysql-test/r/rpl_sporadic_master.result:
        log queries
      mysql-test/r/sel000001.result:
        log queries
      mysql-test/r/sel000002.result:
        log queries
      mysql-test/r/sel000003.result:
        log queries
      mysql-test/r/sel000031.result:
        log queries
      mysql-test/r/sel000032.result:
        log queries
      mysql-test/r/sel000033.result:
        log queries
      mysql-test/r/sel000100.result:
        log queries
      mysql-test/r/select.result:
        log queries
      mysql-test/r/select_found.result:
        log queries
      mysql-test/r/select_safe.result:
        log queries
      mysql-test/r/show_check.result:
        log queries
      mysql-test/r/slave-running.result:
        log queries
      mysql-test/r/slave-stopped.result:
        log queries
      mysql-test/r/status.result:
        log queries
      mysql-test/r/symlink.result:
        log queries
      mysql-test/r/tablelock.result:
        log queries
      mysql-test/r/temp_table.result:
        log queries
      mysql-test/r/truncate.result:
        log queries
      mysql-test/r/type_blob.result:
        log queries
      mysql-test/r/type_date.result:
        log queries
      mysql-test/r/type_datetime.result:
        log queries
      mysql-test/r/type_decimal.result:
        log queries
      mysql-test/r/type_enum.result:
        log queries
      mysql-test/r/type_float.result:
        log queries
      mysql-test/r/type_ranges.result:
        log queries
      mysql-test/r/type_time.result:
        log queries
      mysql-test/r/type_timestamp.result:
        log queries
      mysql-test/r/type_uint.result:
        log queries
      mysql-test/r/type_year.result:
        log queries
      mysql-test/r/union.result:
        log queries
      mysql-test/r/update.result:
        log queries
      mysql-test/r/user_var.result:
        log queries
      mysql-test/r/varbinary.result:
        log queries
      mysql-test/r/variables.result:
        log queries
      mysql-test/t/bench_count_distinct.test:
        log queries
      mysql-test/t/check.test:
        log queries
      mysql-test/t/count_distinct2.test:
        log queries
      mysql-test/t/flush.test:
        log queries
      mysql-test/t/isam.test:
        log queries
      mysql-test/t/multi_update.test:
        log queries
      mysql-test/t/myisam.test:
        log queries
      mysql-test/t/order_fill_sortbuf.test:
        log queries
      mysql-test/t/rpl000016.test:
        log queries
      tools/managertest1.nc:
        test for def_exec overwrite
      tools/mysqlmanager.c:
        support def_exec overwrite and queries on running server
      29f148bd
  21. 24 Jun, 2001 1 commit
    • unknown's avatar
      show master forced rotate info in SHOW BINLOG EVENTS · bcc51cb0
      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
      bcc51cb0
  22. 19 Jun, 2001 1 commit
    • unknown's avatar
      Added event sequence number and flags to binlog · 5e263983
      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
      5e263983
  23. 20 Apr, 2001 1 commit
    • unknown's avatar
      Portability fixes · 4a7af05c
      unknown authored
      BitKeeper/deleted/.del-compile-ia64-O0-sgicc~a4e0732013d6b602:
        Delete: BUILD/compile-ia64-O0-sgicc
      BitKeeper/deleted/.del-compile-ia64-O0~3a41dfebefc817d1:
        Delete: BUILD/compile-ia64-O0
      BitKeeper/deleted/.del-compile-ia64-O2-sgicc~6ff796ecac337849:
        Delete: BUILD/compile-ia64-O2-sgicc
      BitKeeper/deleted/.del-compile-ia64-O2~87d13594c3599830:
        Delete: BUILD/compile-ia64-O2
      BitKeeper/deleted/.del-compile-ia64-O6~c34e6b943b12c468:
        Delete: BUILD/compile-ia64-O6
      Docs/manual.texi:
        Cleanup
      mysql-test/r/rpl000014.result:
        Change port number for comparison
      mysql-test/r/rpl000015.result:
        Change port number for comparison
      mysql-test/r/rpl000016.result:
        Change port number for comparison
      mysql-test/t/rpl000014.test:
        Change port number for comparison
      mysql-test/t/rpl000015.test:
        Change port number for comparison
      mysql-test/t/rpl000016.test:
        Change port number for comparison
      sql-bench/Results/ATIS-mysql-NT_4.0:
        New test results
      sql-bench/Results/RUN-mysql-NT_4.0:
        New test results
      sql-bench/Results/alter-table-mysql-NT_4.0:
        New test results
      sql-bench/Results/big-tables-mysql-NT_4.0:
        New test results
      sql-bench/Results/connect-mysql-NT_4.0:
        New test results
      sql-bench/Results/create-mysql-NT_4.0:
        New test results
      sql-bench/Results/insert-mysql-NT_4.0:
        New test results
      sql-bench/Results/select-mysql-NT_4.0:
        New test results
      sql-bench/Results/wisconsin-mysql-NT_4.0:
        New test results
      sql/slave.cc:
        Removed not used variable
      4a7af05c
  24. 27 Mar, 2001 1 commit
    • unknown's avatar
      I was wrong about concurrent insert issue in rpl000016 - it still failed · 91e815b3
      unknown authored
      once after the lock. Now changed test case and added eval support to
      mysqltest to make it easier to debug
      
      
      client/mysqltest.c:
        added eval query command to be able to use variables in a query
      mysql-test/r/rpl000016.result:
        updates for new test case
      mysql-test/t/rpl000016.test:
        changed test case to make it easier to debug
      91e815b3
  25. 20 Feb, 2001 1 commit
    • unknown's avatar
      replication fixes · f80c3cb4
      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
      f80c3cb4
  26. 24 Jan, 2001 2 commits
    • unknown's avatar
      fixed improper read of log name from master.info which broke slave server restart · b302ee39
      unknown authored
      fixed sync bugs in three test cases
      added offset argument to sync_with_master to mysqltest to be able to fix sync bugs
      added a test case for slave startup with existing master.info
      expanded mysql-test-run.sh to be able to run pre-start shell script initializations
      
      
      client/mysqltest.c:
        added offset argument to sync_with_master
      mysql-test/mysql-test-run.sh:
        added option to run master or slave initialization shell script
      mysql-test/r/rpl000016.result:
        fixed bug in test case
      mysql-test/t/rpl000012.test:
        fixed syncronization bug
      mysql-test/t/rpl000013.test:
        fixed sync bug
      mysql-test/t/rpl000016.test:
        fixed ambiguous show slave status.
      sql/slave.cc:
        fixed bug that broke slave server start with existing master.info,
        Monty's optimization was not chopping off newline from logname.
      b302ee39
    • unknown's avatar
      Added last_errno and last_error to show slave status · 262a9e41
      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
      262a9e41
  27. 22 Jan, 2001 1 commit
    • unknown's avatar
      fixed bug in master_pos_wait(), got rid of sleep hack, · e4667fc5
      unknown authored
      added test/sanity check for master_pos_wait()
      
      
      mysql-test/r/rpl000016.result:
        do show slave status to test master_pos_wait()
      mysql-test/t/rpl000001.test:
        no sleep
      mysql-test/t/rpl000002.test:
        no sleep
      mysql-test/t/rpl000003.test:
        no sleep
      mysql-test/t/rpl000007.test:
        !sleep
      mysql-test/t/rpl000008.test:
        !sleep
      mysql-test/t/rpl000009.test:
        no sleep
      mysql-test/t/rpl000010.test:
        no sleep
      mysql-test/t/rpl000011.test:
        no sleep
      mysql-test/t/rpl000012.test:
        no sleep
      mysql-test/t/rpl000013.test:
        no sleep
      mysql-test/t/rpl000014.test:
        no sleep
      mysql-test/t/rpl000015.test:
        no sleep
      mysql-test/t/rpl000016.test:
        no sleep, test that master_pos_wait() works right
      sql/slave.cc:
        fixed bug in master_pos_wait()
      e4667fc5
  28. 27 Dec, 2000 1 commit
    • unknown's avatar
      Extended mysqltest with --commands and 'require' · e56db858
      unknown authored
      Fixed test results.
      Added mysqld variable 'have_isam'
      
      
      BitKeeper/deleted/.del-master-slave.inc~556fd038c3a3d54:
        Delete: mysql-test/t/include/master-slave.inc
      BitKeeper/deleted/.del-README~f9fd36f3c3711305:
        Delete: mysql-test/r/3.23/README
      Docs/manual.texi:
        Fixed typos
      client/mysqltest.c:
        Changed internal commands to accept -- before them.
        Added command 'require' to make it possible to skip tests if the
        mysqld server lacks some capabilites.
        Removed extra \t at end of lines
      configure.in:
        Update
      myisam/myisamlog.c:
        cleanup
      mysql-test/mysql-test-run.sh:
        Added support for 'not supported' tests
      mysql-test/r/alt000001.result:
        Removed end tab
      mysql-test/r/bdb.result:
        Removed end tab
      mysql-test/r/crypt.result:
        Removed end tab
      mysql-test/r/equal.result:
        Removed end tab
      mysql-test/r/ft0000001.a.result:
        Removed end tab
      mysql-test/r/ft0000001.b.result:
        Removed end tab
      mysql-test/r/ft0000001.c.result:
        Removed end tab
      mysql-test/r/ft0000001.d.result:
        Removed end tab
      mysql-test/r/ft0000001.e.result:
        Removed end tab
      mysql-test/r/ft0000002.a.result:
        Removed end tab
      mysql-test/r/ft0000002.b.result:
        Removed end tab
      mysql-test/r/ft0000002.c.result:
        Removed end tab
      mysql-test/r/ins000001.result:
        Removed end tab
      mysql-test/r/mrg000001.dummy.result:
        Removed end tab
      mysql-test/r/mrg000001.result:
        Removed end tab
      mysql-test/r/mrg000002.result:
        Removed end tab
      mysql-test/r/rpl000001.a.result:
        Removed end tab
      mysql-test/r/rpl000001.b.result:
        Removed end tab
      mysql-test/r/rpl000002.result:
        Removed end tab
      mysql-test/r/rpl000003.result:
        Removed end tab
      mysql-test/r/rpl000004.a.result:
        Removed end tab
      mysql-test/r/rpl000004.b.result:
        Removed end tab
      mysql-test/r/rpl000005.result:
        Removed end tab
      mysql-test/r/rpl000006.result:
        Removed end tab
      mysql-test/r/rpl000007.result:
        Removed end tab
      mysql-test/r/rpl000008.result:
        Removed end tab
      mysql-test/r/rpl000009.result:
        Removed end tab
      mysql-test/r/rpl000010.result:
        Removed end tab
      mysql-test/r/rpl000011.result:
        Removed end tab
      mysql-test/r/rpl000012.result:
        Removed end tab
      mysql-test/r/rpl000012.status.result:
        Removed end tab
      mysql-test/r/rpl000013.result:
        Removed end tab
      mysql-test/r/rpl000013.status.result:
        Removed end tab
      mysql-test/r/rpl000014.result:
        Removed end tab
      mysql-test/r/rpl000015.result:
        Removed end tab
      mysql-test/r/rpl000016.result:
        Removed end tab
      mysql-test/r/sel000001.result:
        Removed end tab
      mysql-test/r/sel000002.result:
        Removed end tab
      mysql-test/r/sel000003.result:
        Removed end tab
      mysql-test/r/sel000004.result:
        Removed end tab
      mysql-test/r/sel000005.result:
        Removed end tab
      mysql-test/r/sel000006.result:
        Removed end tab
      mysql-test/r/sel000007.result:
        Removed end tab
      mysql-test/r/sel000008.result:
        Removed end tab
      mysql-test/r/sel000009.result:
        Removed end tab
      mysql-test/r/sel000010.result:
        Removed end tab
      mysql-test/r/sel000011.result:
        Removed end tab
      mysql-test/r/sel000012.result:
        Removed end tab
      mysql-test/r/sel000013.result:
        Removed end tab
      mysql-test/r/sel000014.result:
        Removed end tab
      mysql-test/r/sel000015.result:
        Removed end tab
      mysql-test/r/sel000016.result:
        Removed end tab
      mysql-test/r/sel000017.result:
        Removed end tab
      mysql-test/r/sel000018.result:
        Removed end tab
      mysql-test/r/sel000019.result:
        Removed end tab
      mysql-test/r/sel000020.result:
        Removed end tab
      mysql-test/r/sel000021.result:
        Removed end tab
      mysql-test/r/sel000022.result:
        Removed end tab
      mysql-test/r/sel000023.result:
        Removed end tab
      mysql-test/r/sel000024.result:
        Removed end tab
      mysql-test/r/sel000025.result:
        Removed end tab
      mysql-test/r/sel000026.result:
        Removed end tab
      mysql-test/r/sel000027.result:
        Removed end tab
      mysql-test/r/sel000028.result:
        Removed end tab
      mysql-test/r/sel000029.result:
        Removed end tab
      mysql-test/r/sel000030.result:
        Removed end tab
      mysql-test/r/sel000031.result:
        Removed end tab
      mysql-test/r/sel000032.result:
        Removed end tab
      mysql-test/r/sel000033.result:
        Removed end tab
      mysql-test/r/sel000100.result:
        Removed end tab
      mysql-test/r/shw000001.result:
        Removed end tab
      mysql-test/r/slave-running.result:
        Removed end tab
      mysql-test/r/slave-stopped.result:
        Removed end tab
      mysql-test/t/bdb.test:
        Check that we have BDB support
      mysql-test/t/replace.test:
        Check if we support ISAM tables
      sql/gen_lex_hash.cc:
        Fixed bug in last output
      sql/ha_berkeley.cc:
        Bug fix
      sql/ha_berkeley.h:
        Initialize using_ignore
      sql/handler.h:
        Fixed typo
      sql/mysqld.cc:
        Fixed typos;  Added variable 'have_isam'
      sql/sql_class.h:
        Fixed typo
      BitKeeper/etc/ignore:
        Added sql-bench/Results-linux/ATIS-mysql_bdb-Linux_2.2.14_my_SMP_i686 to the ignore list
      e56db858
  29. 15 Dec, 2000 2 commits
    • unknown's avatar
      mysql-test/r/rpl000016.result · 4a063ba7
      unknown authored
          forgot to check this in
      
      
      mysql-test/r/rpl000016.result:
        forgot to check this in
      4a063ba7
    • unknown's avatar
      client/mysqltest.c · 93166332
      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
      93166332