monty@mashka.mysql.fi
b8421d34ec
Added the following new privleges:
...
SHOW DATABASES
CREATE TEMPORARY TABLE
LOCK TABLES
REPLICATION SLAVE & REPLICATION CLIENT
SUPER
EXECUTE
All scripts & documentation is updated for this change.
Added better error messages for global privileges
2002-06-12 15:04:18 +03:00
monty@mashka.mysql.fi
2aecdd1a91
Big code cleanup/review before 4.0.2 release.
...
(All commit emails since 4.0.1 checked)
This had to be done now, before the 4.1 tree changes to much, to make it easy to propagate bug fixes to the 4.1 tree.
2002-06-11 11:20:31 +03:00
monty@bitch.mysql.fi
9b6df03c14
Added a lot of DBUG_xxx statements to be able to find replication bug.
...
Fixed critical bug on 64 bit systems.
Cleanups
2002-06-08 21:02:01 +03:00
monty@hundin.mysql.fi
e4130b11c9
removed init_count from IO_CACHE.
...
Added missing mutex_unlock to slave replication code.
2002-06-05 23:04:38 +03:00
jani@hynda.(none)
d78308449e
Fixed a bug in make test, non-debug version.
2002-05-29 15:20:36 +03:00
sasha@mysql.sashanet.com
14603a3620
relay_log_space_limit
...
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 :-)
2002-04-01 21:46:23 -07:00
sasha@mysql.sashanet.com
be388422eb
replication updates. This changeset seems to be working fine on test systems.
...
If no problems are discovered in the next week, this will make the replication
code ready for 4.0.2 release.
2002-03-30 12:36:05 -07:00
sasha@mysql.sashanet.com
2e6b48afd3
replication updates and bugfixes. Still not perfect - there is some strange
...
memory corruption I can only repeat on one system.
2002-03-15 18:44:44 -07:00
sasha@mysql.sashanet.com
d993a1c0c4
slave start <options> to be able to do
...
slave start io_thread
slave start sql_thread
same for stop
2002-03-09 21:48:06 -07:00
monty@hundin.mysql.fi
be46289855
New error messages
...
Test of unsigned BIGINT values
Fixes for queries-per-hour
Cleanup of replication code (comments and portability fixes)
Make most of the binary log code 4G clean
Changed syntax for GRANT ... QUERIES PER HOUR
2002-01-29 18:32:16 +02:00
sasha@mysql.sashanet.com
56129ce634
Here comes a nasty patch, although I am not ready to push it yet. I will
...
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.
2002-01-19 19:16:52 -07:00
monty@bitch.mysql.fi
d0ccff5090
New improved IO_CACHE
2001-11-28 02:55:52 +02:00
sasha@mysql.sashanet.com
6865885f21
replication updates in the manual
...
fixed typo on sql_repl.cc
added build-tags script for the benefit of the poor, sick, and afflicted,
as Matt likes to say :-)
2001-11-24 22:48:57 -07:00
sasha@mysql.sashanet.com
beaf95b09d
work to enable reading 3.23 logs - not yet finished
...
moved fail-safe replication routines from sql_repl.cc to repl_failsafe.cc
write start event only in the first log
2001-11-10 22:24:12 -07:00
sasha@mysql.sashanet.com
b00eee622e
more work on IO_CACHE
...
portability fixes for systems with broken syscalls that do not interrupt on
a signal
temporary commit - will not be pushed, need to sync up
2001-11-03 16:54:00 -07:00
sasha@mysql.sashanet.com
be4dfd21dd
cleanup
...
removal of duplicate code in mf_iocache.cc
work on failsafe replication
work on SEQ_READ_APPEND io cache
2001-10-23 13:28:03 -06:00
sasha@mysql.sashanet.com
2d3f96b483
changed manager to use my_net_*
...
fixed bug in master - unregister slaves when they disconnect
2001-10-12 09:37:25 -06:00
sasha@mysql.sashanet.com
20ece90471
fixed slave to clean up load data infile temp files
...
instrumented the server with DBUG_SYNC_POINT() macro
2001-10-03 13:55:31 -06:00
monty@hundin.mysql.fi
0d72e5440f
Portability fixes
2001-09-15 16:22:34 +03:00
monty@hundin.mysql.fi
52b83ea218
Fixed bug in UNION
...
Fixed replication bug in load_master_data
2001-09-14 19:50:56 +03:00
monty@work.mysql.com
447c18954e
merge with 3.23.42
2001-09-02 18:38:33 +02:00
monty@hundin.mysql.fi
7f4aee1c90
Make killing of threads safer
2001-09-01 10:38:16 +03:00
monty@hundin.mysql.fi
e127a952a6
Portability fixes
2001-08-23 00:55:48 +03:00
sasha@mysql.sashanet.com
440bff2571
Merge work:/home/bk/mysql-4.0
...
into mysql.sashanet.com:/home/sasha/src/bk/mysql-4.0
2001-08-15 16:15:20 -06:00
sasha@mysql.sashanet.com
21424657e4
merged replication fixes from 3.23
2001-08-15 15:57:47 -06:00
sasha@mysql.sashanet.com
f6099e532e
improvements for stopping the slave in SLAVE STOP and on shutdown
2001-08-15 15:41:52 -06:00
monty@hundin.mysql.fi
59e7c97dab
Remove warnings and portability fixes
...
New global read lock code
Fixed bug in DATETIME with WHERE optimization
Made UNION code more general.
2001-08-14 20:33:49 +03:00
sasha@mysql.sashanet.com
09eda84f2e
LOAD DATA INFILE is now replicated properly, except for cleanup on
...
Stop event and bugs the test suite could not catch
Did some big restructuring of binlog event classes - most important
change is that now each event class has exec_event method and one does
not need to modify slave core code to add a new event. Slave code is
now much smaller and easier to read
2001-08-03 15:57:53 -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
sasha@mysql.sashanet.com
38d3bf5172
mysql-test/t/rpl_sporadic_master.test
...
use truncate table
sql/slave.cc
fixed race condition on server shutdown
sql/sql_repl.cc
fixed uninitialized use of io_cache
2001-07-10 20:35:42 -06:00
sasha@mysql.sashanet.com
5527f9bfc3
mysql-test/t/rpl_sporadic_master.test
...
fixed test case to produce same results on txn-enabled binary.
temporary fix - permanent fix is it make mysqld behave the same with
MyISAM on auto_increment insert after delete from tbl_name regardless
of how the binary was compiled
sql/slave.cc
fixed concurrency bug with log_seq
sql/slave.h
last_log_seq needs to be updated atomically with pos
sql/sql_repl.cc
cleared up comment and fixed concurrency bug
2001-07-10 18:08:37 -06:00
monty@tik.mysql.fi
fc81fdb4ba
Redefinition of myisam_bulk_insert_tree_size
...
Removed new error message
Fixed test case for varbinary
Threads are again killable in "merge_buffers"
Cleanup of sql_repl.cc
SHOW OPEN TABLES now works when no tables are opened
2001-07-10 15:53:08 +03:00
sasha@mysql.sashanet.com
c01d4e1ef7
SHOW NEW MASTER FOR SLAVE WITH ...
2001-07-04 17:14:31 -06:00
sasha@mysql.sashanet.com
12b442b649
post-merge fix
...
fixed bug in LOAD DATA FROM MASTER
2001-06-29 09:55:21 -06:00
sasha@mysql.sashanet.com
242037992f
merged with 3.23 replication updates
2001-06-28 19:48:49 -06:00
sasha@mysql.sashanet.com
e87028fda6
fixed typo
2001-06-28 19:17:04 -06: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
51e3c5de88
--do-test option in mysql-test-run - will do only tests that match the pattern
...
updated rotate event to set new position along with the new log
2001-06-26 17:02:33 -06:00
sasha@mysql.sashanet.com
992f889878
added SHOW BINLOG EVENTS
...
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
2001-06-21 13:19:24 -06:00
sasha@mysql.sashanet.com
46de2a9fe4
Added event sequence number and flags to binlog
...
Documented/cleaned up log event code
Updated tests
2001-06-19 15:03:48 -06:00
sasha@mysql.sashanet.com
ad0b92f941
do not show user/pass for slave unless running with show-slave-auth-info
...
cleanup of register_slave_on_master()
2001-06-01 21:15:15 -06:00
sasha@mysql.sashanet.com
ef11c1032c
worked around one bug in the new symlink code, but hit another
...
test case included ( drop) - currently fails, along with rpl000009
2001-06-01 15:13:02 -06:00
monty@work.mysql.com
e595fe3b34
Merge work.mysql.com:/home/bk/mysql
...
into work.mysql.com:/home/bk/mysql-4.0
2001-06-01 03:13:02 +02:00
sasha@mysql.sashanet.com
bd109ae97c
fixed bug in CHANGE MASTER TO
2001-05-31 16:54:16 -06:00
monty@work.mysql.com
df56b252a7
merge
2001-05-31 12:56:05 +02:00
sasha@mysql.sashanet.com
a817bd3862
A slave now can optionally register with the master providing the
...
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
2001-05-30 18:50:56 -06:00
monty@donna.mysql.fi
3dc4b35a05
Fixed problems with decimals withing IF()
...
Force add of FN_LIBCHAR to symlinks on windows
2001-05-29 13:46:17 +03:00
sasha@mysql.sashanet.com
8f6b34f950
updates for LOAD DATA FROM MASTER + some cleanup of replication code
2001-05-28 19:18:23 -06:00
sasha@mysql.sashanet.com
c6ceb04bd8
Docs/manual.texi
...
fixed bug
sql/sql_repl.cc
undid virtual master change
2001-05-03 16:01:13 -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