Commit graph

119 commits

Author SHA1 Message Date
monty@narttu.mysql.fi
c43b3af78c Don't allow BACKUP TABLE to overwrite files
Fixed memory leak when replication restarts in debug mode
2003-03-10 11:22:37 +02:00
monty@narttu.mysql.fi
7eccd99e54 LOAD DATA INFILE is not replicated by slave if replicate_*_table is set 2003-02-28 19:50:05 +02:00
monty@mashka.mysql.fi
dd4d4cc8b5 Only set thd->query to 0 if LOCK_thread_count is hold
This fixes a possible core dump problem in SHOW PROCESSLIST
2003-01-18 23:38:55 +02:00
monty@mashka.mysql.fi
755d4952af Change name -> alias in TABLE_LIST.
Added missing mutex-lock around critical section in GRANT handling.
2002-09-21 21:36:23 +03:00
monty@mashka.mysql.fi
d050c30d42 Added some mutex locks to make SLAVE START and SLAVE STOP thread safe. 2002-08-05 13:09:12 +03:00
monty@mashka.mysql.fi
d909f4a551 Fix wrong usage of constant which could cause mysqld to use index when doing an update/delete on small tables.
code cleanup
2002-07-19 21:57:53 +03:00
Sinisa@sinisa.nasamreza.org
393bd5cff1 Another try to fix slave timeouts 2002-07-17 14:46:09 +03:00
Sinisa@sinisa.nasamreza.org
460477344a Merge sinisa@work.mysql.com:/home/bk/mysql
into sinisa.nasamreza.org:/mnt/work/mysql
2002-07-16 22:08:41 +03:00
Sinisa@sinisa.nasamreza.org
8f7c6fcca4 making necessary changes after Sasha's correct remarks 2002-07-16 22:07:12 +03:00
Sinisa@sinisa.nasamreza.org
c57d66c587 Fixing slave timeouting 2002-07-16 21:16:34 +03:00
heikki@hundin.mysql.fi
4af87f6c78 slave.cc:
Suppress prints by slave.cc when there is a normal reconnect after the master has been quiet for the time of the net read timeout; this removes the Error 1159 messages many users have complained about in the replication of 3.23.51
2002-07-16 20:06:39 +03:00
heikki@hundin.mysql.fi
1d225146e3 slave.cc:
Slave thread is always in an auto-commit state: remove unnecessary tests when we flush master info
2002-06-23 00:35:36 +03:00
heikki@hundin.mysql.fi
a4b29743bc slave.h, slave.cc:
Do not flush the position to master.info file if we have a transaction open
2002-06-22 20:00:32 +03:00
nick@nick.leippe.com
fc52e079d0 fixed 'load table from master' hang when host is empty
added respective test case
2002-05-31 16:56:02 -07:00
miguel@hegel.local
3facae335e Sergei's MyODBC fix 2002-05-12 23:01:45 -03:00
nick@nick.leippe.com
2453d43ab0 Backport of Sasha's fix to 3.23 from 4.0
see dev-private email from sasha, subject:
URGENT: rpl_sporadic_master
2002-05-02 18:55:38 -07:00
monty@hundin.mysql.fi
40c77c767b Removed compiler warnings 2002-02-09 04:00:24 +02:00
sasha@mysql.sashanet.com
0d67738e20 misc cleanup 2001-12-13 17:21:04 -07:00
sasha@mysql.sashanet.com
f7acf09d9c slave-skip-errors
added extra/mysql_install.c - will work on it in 4.0, but it does not hurt
to have it sit in 3.23 tree for now since it will eventually be backported 
to 3.23 anyway
2001-12-12 18:55:33 -07:00
sasha@mysql.sashanet.com
5d2f2c8369 fixed alias drop bug in binlog
fixed skip counter to do the RightThing (TM) when the user messes up.
Still do RightThing when he gets it right.
2001-11-27 18:20:24 -07:00
sasha@mysql.sashanet.com
7fda1ab9f2 fixed bug with temporary tables replication if one does FLUSH LOGS 2001-10-29 18:21:33 -07:00
sasha@mysql.sashanet.com
f6321e8b75 fixed sleep
bug on reconnect
2001-10-17 14:12:14 -06:00
sasha@mysql.sashanet.com
1bea4bd36b fixed crash on slave when master aborts a query that has % in it. 2001-10-05 13:18:18 -06:00
monty@hundin.mysql.fi
f5a53594c8 Added usage of --master-retry-count to make mysql-test-run safer. 2001-10-03 16:27:20 +03:00
monty@hundin.mysql.fi
db82d30bf0 Fix for make dist
Made replication test portable
Fixed buffer overrun bug in replication
2001-10-02 22:21:14 +03:00
monty@hundin.mysql.fi
cd78a8be66 Fix for LOAD DATA FROM MASTER when using tables with checksum
Fixed some wrong test cases
2001-09-18 04:58:15 +03:00
monty@hundin.mysql.fi
733f865f54 Fixes for OS2.
Fix bug in isamlog
Add argument types to function declarations.
2001-08-22 01:45:07 +03:00
sasha@mysql.sashanet.com
1c3dc8875e fixed mysterious offset confusion bug
added a test case for it - took some creative work to figure out
how to make it happen at will
updated the manual
2001-07-18 14:26:43 -06:00
sasha@mysql.sashanet.com
14c23716a6 added slave_net_timeout 2001-07-17 14:22:52 -06:00
sasha@mysql.sashanet.com
fa4e355dac send kill signal to slave thread on shutdown 2001-07-11 21:33:19 -06:00
sasha@mysql.sashanet.com
21a8aaa29d fixed race condition in automatic binlog rotation
remove extension from binary log if the user specifies one to avoid
    non-rotatable logs
fixed possible use of unitialized IO_CACHE in debug mode
2001-07-11 19:29:23 -06:00
monty@tik.mysql.fi
19a99dd3fd dded volatile to replication variable 2001-07-07 23:26:06 +03:00
sasha@mysql.sashanet.com
2e4d264c27 fixed message in post-commit trigger
added debugging options to master to behave sporadically, and a 
test case to make sure the slave can deal with it
2001-06-28 18:22:29 -06:00
sasha@mysql.sashanet.com
1e76c806eb fixed drop/create database bug when holding global read lock
preserve originating server id in Intvar events to avoid inifinite loops
2001-06-21 15:59:51 -06:00
monty@hundin.mysql.fi
e30ff2ece1 Fixed bug that caused client to hang because mysqld never did send an
error message if the table open or the index creation failed.
Updated portuguese error messages.
Fix for OS/2 that affected CHECK TABLE.
2001-06-02 00:03:16 +03:00
monty@hundin.mysql.fi
683a46a38b Added ER_SAFE() for cases when the error message could be out of bands 2001-06-01 04:10:53 +03:00
sasha@mysql.sashanet.com
6d75659b42 deal with errno out of range when reading it from the master 2001-05-31 13:56:57 -06:00
sasha@mysql.sashanet.com
fe54369179 better error message in replication when packet is too large 2001-05-03 17:27:35 -06:00
sasha@mysql.sashanet.com
c8fdb95815 reversed virtual master 2001-05-03 11:46:49 -06:00
sasha@mysql.sashanet.com
be8f18e020 fixed redundant repetition of use db in mysqlbinlog
added support for virtual master ( replicating from a directory with binlogs)
test case for backup/restore with virtual master
2001-04-24 17:39:26 -06:00
monty@donna.mysql.fi
5e8c4b76d5 Portability fixes 2001-04-20 15:18:46 +03:00
monty@donna.mysql.fi
dc933ad9d6 Merge work:/home/bk/mysql into donna.mysql.fi:/home/my/bk/mysql 2001-04-11 20:23:31 +03:00
monty@donna.mysql.fi
d2dc65f1b4 Fixed bug in REGEXP for Linux Alpha 2001-04-11 20:19:52 +03:00
sasha@mysql.sashanet.com
102c1945eb do not log the drop internal temporary tables into the binary log
mark killed partially completed updates with an error code in binlog
stop replication if the master reports a possible partial/killed update
test partially killed update
2001-04-10 20:56:54 -06:00
sasha@mysql.sashanet.com
0dd0d88e8f changed signal by fd close to signal by vio_close
added support for kill expr
fixed coredump in set @a := foo;
added testcase for user_var
added testcase for kill
2001-03-13 23:07:12 -07:00
sasha@mysql.sashanet.com
a2b6410965 untested changes to close socket on slave stop for OS's that do not
interrupt I/O after thr_alarm_kill()

test case for order by desc coredump
2001-03-12 20:17:32 -07:00
monty@donna.mysql.fi
98c70da357 Fixed test cases for innobase
Fixed bug introduced with last ORDER BY optimization
Changed log position to longlong to avoid warnings.
2001-03-07 23:50:44 +02:00
sasha@mysql.sashanet.com
62db48e4b8 Docs/manual.texi
update for the fix
sql/slave.cc
    re-merged Jeremy's message changes, got the code to compile and run again
    after a mess-up in the merge
2001-02-26 23:09:53 -07:00
sasha@mysql.sashanet.com
00c87c1bc7 sql/slave.cc
merged
2001-02-26 22:32:06 -07:00
sasha@mysql.sashanet.com
4b9fdfc3f2 ulonglong -> uint32 for log offset
more verbose messages when slave thread exits
2001-02-26 22:27:20 -07:00