Commit graph

782 commits

Author SHA1 Message Date
monty@narttu.mysql.fi
22415489f2 Fixes for bugs in the usage of IO_CACHE 2000-11-17 02:36:46 +02:00
sasha@mysql.sashanet.com
5faab668f7 sql/slave.cc
fixed bug - mutex was not being released if master.info could not be read
2000-11-15 16:12:11 -07:00
sasha@mysql.sashanet.com
f2b9a60ec4 repl-tests/test-repl-ts/repl-timestamp.master.reject
this file needs to be deleted
sql/log_event.cc
    fixed warnings
sql/log_event.h
    fixed () #define bug
sql/mysqlbinlog.cc
    fixed length argument - was supposed to be one less
sql/mysqld.cc
    replicate-do/ignore-table now works, wild does not yet
sql/mysql_priv.h
    updating argument to add_table_to_list() -- needed for replicate-do/ignore table
sql/slave.cc
    changes fore replicate-do/ignore-table
    close the socket before going to sleep sleeping after error
    bad event was being freed too early
sql/slave.h
    changes for replicate-do/ignore-table
sql/sql_class.cc
    slave_thread variable to THD
sql/sql_class.h
    added slave_thread to THD, fixed bug in end_time()
sql/sql_parse.cc
    updating argument to add_tables_to_list()
sql/sql_table.cc
    fixed bug in mysql_rm_table()
sql/sql_yacc.yy
    fixed up add_table_to_list() calls to accept updating argument
sql/table.h
    added updating to TABLE_LIST
2000-11-13 23:43:02 -07:00
sasha@laptop.slkc.uswest.net
a25aed33d9 laptop commit, syncing with the repostitory. Fixed some bad bugs in replication 2000-11-11 14:50:39 -07:00
sasha@mysql.sashanet.com
2b05ed9d02 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
sql/slave.cc
    more verbose message on bad net reads
sql/sql_repl.cc
    send errno on error in mysql_binlog_send
2000-11-06 19:39:13 -07:00
sasha@mysql.sashanet.com
67eef6a571 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
repl-tests/test-repl-ts/repl-timestamp.master.reject
    New BitKeeper file ``repl-tests/test-repl-ts/repl-timestamp.master.reject''
2000-11-03 19:31:22 -07:00
sasha@mysql.sashanet.com
96815f82a6 libmysql/libmysql.c
keep vio from being freed twice when we are low on memory
mysys/safemalloc.c
    changes for --safemalloc-mem-limit
sql/mini_client.cc
    keep vio from being freed twice
sql/mysqld.cc
    changes for --safemalloc-mem-limit
sql/slave.cc
    prevent closing connection twice
sql/sql_string.h
    shrink() did not work right when my_realloc() failed
2000-10-28 23:26:48 -06:00
sasha@mysql.sashanet.com
3bd51a5205 mysys/mf_format.c
workaround for SCO realpath() bug
sql/slave.cc
    fixed memory leak when slave runs bad query
2000-10-28 14:38:09 -06:00
sasha@mysql.sashanet.com
430fa25baa sql/slave.cc
cosmetic change
sql/slave.cc@1.49
    cosmetic change
2000-10-21 12:33:36 -06:00
sasha@mysql.sashanet.com
77a1d12a24 sql/slave.cc
buffer size fix + template instatiation
2000-10-21 12:17:08 -06:00
sasha@mysql.sashanet.com
1fbc40219c Docs/manual.texi
replication updates
sql/opt_range.h
    fixed compiler warning
sql/slave.cc
    fixed handling of long usernames
    fixed insert_id + query log event processing atomicity in the case
    of slave death
    fix edcharset coversion to not be global to all threads
sql/sql_class.h
    fix to make insert_id event and the subsequent query event be still processed
    atomically if slave dies in the middle
sql/sql_select.cc
    temp fix to make it compile 
repl-tests/test-auto-inc/run.test@1.1
    New BitKeeper file ``repl-tests/test-auto-inc/run.test''
repl-tests/test-auto-inc/x.master@1.1
    New BitKeeper file ``repl-tests/test-auto-inc/x.master''
2000-10-08 01:48:50 -06:00
sasha@mysql.sashanet.com
f452ab6f90 sql/log.cc
Added magic number to binlog
sql/log_event.cc
    distinquish bogus data from truncated logs
sql/log_event.h
    added magic number
    added LOG_READ_TRUNC error
sql/mysqlbinlog.cc
    fixed to handle magic number
    added O_BINARY to my_fopen
sql/mysqld.cc
    added code for replicate-rewrite-db
sql/slave.cc
    replicate-rewrite-db
    O_BINARY
    handle magic
sql/sql_class.h
    added i_string_pair class
sql/sql_repl.cc
    added magic
    better error messages
support-files/magic
    added magic for binlog

Added test case for replication of queries with error
2000-10-05 17:58:16 -06:00
sasha@mysql.sashanet.com
204ae84732 fixed mutex bug ( or lack of it) when reading log entries on COM_BINLOG_DUMP
added error_code to query event, and checking to see if we get the
expected error on the slave
removed obsolete code from slave.cc
2000-10-03 19:53:13 -06:00
sasha@mysql.sashanet.com
d7659f6063 skip updates with the same server id as self
kill zombie COM_BINLOG_DUMP with the same server id on connect
2000-10-02 17:59:12 -06:00
sasha@mysql.sashanet.com
79f12db007 Merge work:/home/bk/mysql
into mysql.sashanet.com:/home/sasha/src/bk/mysql
2000-09-29 17:21:13 -06:00
sasha@mysql.sashanet.com
62a6a0fdf1 bug fixes in server-id, moved replication functionality to
sql_repl.* will push this one, since the replication code now works
2000-09-29 17:20:26 -06:00
sasha@mysql.sashanet.com
ea0f48ffb2 This one will not be pushed, I am committing to be able to pull in Monty's changes
added server id, mostly working
added --skip-slave-start, working
added --replicate-rewrite-db - just in the cmd line parses, currently noop
2000-09-28 16:24:50 -06:00
monty@donna.mysql.com
02fd65b970 Fixed indention, removed compiler varnings and fixed a bug
in FULLTEXT indexes.
2000-09-29 00:58:16 +03:00
sasha@mysql.sashanet.com
f7649635a1 sql/slave.cc
fixed typo in the error message
sql/sql_base.cc
    fixed bugs in reopen_name_locked_table() after talking to Monty

added a test case for restore + select
2000-09-19 17:23:58 -06:00
monty@donna.mysql.com
f2f515e5c2 Fix that REPAIR/ALTER TABLE use myisam_tempdir 2000-09-16 19:06:21 +03:00
sasha@mysql.sashanet.com
44455063e5 BACKUP TABLE TO 'directory'
RESTORE TABLE FROM 'directory'
log on slave when it connects to the master
2000-09-14 16:34:50 -06:00
sasha@mysql.sashanet.com
3264b2cf3e Merge work:/home/bk/mysql
into mysql.sashanet.com:/home/sasha/src/bk/mysql
2000-09-12 17:47:17 -06:00
sasha@mysql.sashanet.com
71054deeec fixed random exec times for connect stage of the slave thread 2000-09-12 17:46:37 -06:00
monty@donna.mysql.com
f2d930c388 Merge 2000-09-12 03:14:13 +03:00
monty@donna.mysql.com
2776500c22 Update to new root alloc, OPTIMIZE TABLE and some other changes 2000-09-12 03:02:33 +03:00
sasha@mysql.sashanet.com
8c1fa4e3e3 CHANGE MASTER TO coredumped when the slave was initially started
masterless
2000-09-09 21:31:23 -06:00
sasha@mysql.sashanet.com
7da3818fdd Replication fixes 2000-08-23 13:27:33 -06:00
monty@donna.mysql.com
f0952ce3e1 FLUSH TABLE table_list
Fixes for RENAME TABLE
Portability fixes
2000-08-22 00:18:32 +03:00
monty@donna.mysql.com
aa3580924b RENAME TABLE table_name TO new_table_name ; Faster Alloc
Small bug fixes
2000-08-21 03:00:52 +03:00
sasha@mysql.sashanet.com
ac9de478db fix for the fatal bug in LOAD TABLE FROM MASTER 2000-08-15 17:49:07 -06:00
sasha@mysql.sashanet.com
b617e9baa8 testing bk/make for Monty 2000-08-15 13:42:28 -06:00
bk@work.mysql.com
f4c589ff6c Import changeset 2000-07-31 21:29:14 +02:00