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
monty@hundin.mysql.fi
0573b66df3
Added support for rw_tryrdlock() and rw_trywrlock()
2002-06-29 20:26:33 +03:00
monty@hundin.mysql.fi
8fa3c789f6
Added support for semaphores in mysys.
...
(Needed for query cache for systems which doesn't have native semaphores)
2002-06-29 00:16:15 +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
miguel@hegel.local
581a85b1ce
Compiler warning with unreferenced local variable
2002-06-22 17:55:33 -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
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
monty@hundin.mysql.fi
f0b28da6f9
merge with 4.0
2002-06-03 12:59:31 +03:00
monty@hundin.mysql.fi
6e54cc492c
Extension of .frm file (not yet ready for push)
2002-06-02 21:22:20 +03:00
monty@hundin.mysql.fi
44a631f1fc
Merge work:/home/bk/mysql-4.0 into hundin.mysql.fi:/my/bk/mysql-4.0
2002-06-02 17:05:08 +03:00
monty@hundin.mysql.fi
cde8c0edb7
Fixed bug in wait_for_relay_log_space()
...
Added checking of sem_init() in configure.
2002-06-02 17:04:16 +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
jani@hynda.(none)
d78308449e
Fixed a bug in make test, non-debug version.
2002-05-29 15:20:36 +03: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
7d276c3bb8
Portability fix
2002-04-30 16:40:46 +03:00
serg@serg.mysql.com
b79f2f510d
Merge work:/home/bk/mysql-4.0
...
into serg.mysql.com:/usr/home/serg/Abk/mysql-4.0
2002-04-28 21:27:21 +00:00
serg@serg.mysql.com
900788b2a1
init_dynamic_array MyODBC compatibility fix
2002-04-28 21:22:37 +00:00
sasha@mysql.sashanet.com
08623f050c
replication bugfixes
2002-04-25 07:33:02 -06:00
sasha@mysql.sashanet.com
b82d2ff355
fixed assertion failure on corrupted log in reckless slave mode
2002-04-18 18:41:45 -06:00
sasha@mysql.sashanet.com
d7b7e09293
reckless slave option
...
bison 1.34 yacc rule compliance
more robust handling of relay log corruption
2002-04-15 17:09:30 -06:00
monty@hundin.mysql.fi
b5a145d872
merge
2002-04-13 15:34:39 +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
ab1fdbdeac
Merge work:/home/bk/mysql-4.0
...
into mysql.sashanet.com:/reiser-data/mysql-4.0
2002-03-26 22:23:51 -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
bar@gw.udmsearch.izhnet.ru
c60a29f0ee
Hash now supports several charsets
2002-03-14 21:44:42 +04:00
serg@serg.mysql.com
3f51fcf1f1
mi_check flags cleanup
...
CHECK/REPAIR syntax cleanup
REPAIR ... USE_FRM syntax
2002-03-13 17:20:17 +00:00
bar@gw.udmsearch.izhnet.ru
b37ce8e769
New ctype functions/macros to support many charsets at a time
2002-03-12 21:37:58 +04:00
sasha@mysql.sashanet.com
c9a4a5d88e
fixed replication bug
...
not yet tested - will not be pushed for a few hours - need to commit in
order to pull
2002-03-09 13:50:07 -07:00
sasha@mysql.sashanet.com
66cb43d216
fixed replication assert failure ( found by Jeremy Zawodny)
2002-03-08 15:02:11 -07:00
sasha@mysql.sashanet.com
28848fa93b
DBUG_ASSERT_LOCK
2002-03-08 09:26:56 -07:00
sasha@mysql.sashanet.com
a664ca007d
fixed the use of unitialized variable - code now works on the test system
...
of one of our users which replicates from a live server. So I now have a
lot of confidence in it and will push. It passes all tests, so I if I broke
somebody's code in 3.23 merge this is your fault - you should have had a good test
case :-)
2002-03-02 22:00:37 -07:00
sasha@mysql.sashanet.com
40be5306e1
make my_vsnprintf() work with oversized strings
...
fixed replication bug - flush_master_info() needs to be called every time we read an
event from master
this is will not be pushed yet
2002-03-01 17:12:15 -07:00
sasha@mysql.sashanet.com
8ef07c4ffa
updated test suite to be able to run 3.23 master and 4.0 slave
...
got LOAD DATA INFILE replication from 3.23 master to 4.0 slave to work
for some reason query_cache now fails - will push anyway and document the
failure if I can repeat it.
2002-02-09 13:58:53 -07:00
monty@hundin.mysql.fi
40c77c767b
Removed compiler warnings
2002-02-09 04:00:24 +02:00
sasha@mysql.sashanet.com
6980a24e9d
fixes for slave backward compat
...
fixed bug in LOAD DATA FROM MASTER
fixed rpl000001.result
Slave now replicates 3.23 master, with the exception of LOAD DATA INFILE,
which is still buggy. Will push this one after the pull/merge
2002-02-07 15:29:46 -07:00
sasha@mysql.sashanet.com
65989dacb5
Merge work:/home/bk/mysql-4.0
...
into mysql.sashanet.com:/reiser-data/mysql-4.0
2002-01-31 11:04:49 -07:00
monty@hundin.mysql.fi
6a1b08cbd4
Added --sql-mode=NO_UNSIGNED_SUBTRACTION
2002-01-30 15:32:48 +02:00
sasha@mysql.sashanet.com
d2b162982f
Merge work:/home/bk/mysql-4.0
...
into mysql.sashanet.com:/reiser-data/mysql-4.0
2002-01-29 15:16:40 -07:00
sasha@mysql.sashanet.com
2d3cb29249
temporary commit - need to pull Monty's changes
2002-01-29 13:50:09 -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
7275dcef35
misc replication bugfixes including some needed modifications in IO_CACHE
...
likely() and unlikely() branch prediction compiler hint macros
clean-up of comments
2002-01-26 22:26:24 -07:00
sasha@mysql.sashanet.com
171948ba86
more predicatable slave behaviour with wait_for_slave_stop in mysqltest
...
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
2002-01-24 22:49:47 -07:00
sasha@mysql.sashanet.com
8e43ad12c3
post-merge fixes, including slave-skip-errors backport
...
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
2002-01-22 15:05:11 -07:00