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
miguel@hegel.local
581a85b1ce
Compiler warning with unreferenced local variable
2002-06-22 17:55:33 -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
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
jani@hynda.(none)
d78308449e
Fixed a bug in make test, non-debug version.
2002-05-29 15:20:36 +03: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
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
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
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
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
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@hundin.mysql.fi
69f6802632
merge
2001-11-28 14:52:11 +02: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
586e812452
use env vars for socket/port in connect in mysqltest
...
--local-master option in mysql-test-run
do not log CREATE TABLE when doing table dump
fix replication to slave off 3.23 master
2001-11-17 17:23:46 -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
7fda1ab9f2
fixed bug with temporary tables replication if one does FLUSH LOGS
2001-10-29 18:21:33 -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
monty@hundin.mysql.fi
4eb41be6ff
Fix after merge
2001-10-20 11:27:03 +03:00
sasha@mysql.sashanet.com
f6321e8b75
fixed sleep
...
bug on reconnect
2001-10-17 14:12:14 -06:00
sasha@mysql.sashanet.com
a74811e72b
64-bit portability fixes in network I/O
...
use $MAX_TABLES mysqltest variable to make join test portable
make test now works with the manager on IA64 Linux
2001-10-13 09:28:35 -06:00
sasha@mysql.sashanet.com
d10b81bf51
fixes for mysql-test to run without manager
...
a bit more work on failsafe replication
2001-10-11 13:54:06 -06:00
monty@work.mysql.com
a17173c74d
Merge work.mysql.com:/home/bk/mysql
...
into work.mysql.com:/home/bk/mysql-4.0
2001-10-07 12:26:03 +02: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@work.mysql.com
1805368556
merge
2001-10-03 18:00:38 +02:00