| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
| |
Fix remaining cases of Bug #3596: fix possible races caused by an obsolete value of thd->query_length in SHOW PROCESSLIST and SHOW INNODB STATUS; this fix depends on the fact that thd->query is always set to NULL before setting it to point to a new query
|
|
|
|
|
|
|
|
|
| |
Reserve the MySQL LOCK_thread_count mutex when printing thd->query of
an arbitrary transaction; if we are printing thd->query of a transaction that
we know is currently executing inside InnoDB, then we know that MySQL cannot
meanwhile change thd->query, and no need to reserve the MySQL mutex; note
that this patch still leaves open the possibility of races in MySQL's
thd->query_len
|
|
|
|
| |
A flawed fix of the thd->query race in SHOW INNODB STATUS; see the comments in code about how to fix this properly; we cannot use LOCK_thread_count to protect thd->query, because that will cause a deadlock of threads
|
|
|
|
| |
innobase_mysql_print_thd(): protect thd with LOCK_thread_count (Bug #3596)
|
| |
|
| |
|
|\ |
|
| | |
|
| | |
|
|\ \
| | |
| | |
| | | |
into mysql.com:/home/mysql_src/mysql-4.0
|
| | |
| | |
| | |
| | |
| | |
| | | |
critical message in slave.err,
and a comment update
|
| | | |
|
| | | |
|
| | |
| | |
| | |
| | | |
(Bug #3596)
|
|\ \ \
| |/ /
| | |
| | | |
into hundin.mysql.fi:/home/marko/l/mysql-4.0
|
| | |
| | |
| | |
| | |
| | |
| | | |
undocumented options),
just for beauty of truth.
|
| |\ \
| | | |
| | | |
| | | | |
into mysql.com:/home/mysql_src/mysql-4.0
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
important info is lost";
in hard-coded replication messages, always put small-length info (error codes, explanation of the error) at the beginning,
so that it is not cut by truncation if the query is very long (which happens if the query goes first).
|
| | | | |
|
| |/ / |
|
|/ / |
|
|\ \
| | |
| | |
| | | |
into mysql.com:/home/mysql_src/mysql-4.0
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
originating from itself
(WL#794). This can be of interest in some recovery-from-backup scenarios, and also when you have
two databases in one mysqld, having a certain similarity and you want one db to be updated when the other is
(some sort of trigger).
Plus small fix for BUG#3568 "MySQL server crashes when built --with-debug and CHANGE MASTER +MASTER_POS_WAIT"
|
|\ \ \
| | | |
| | | |
| | | | |
into mysql.com:/home/my/mysql-4.0
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Output TIMESTAMP in 4.1 format for 4.1 tables (or for TIMESTAMP(19)) (portability fix)
Fixed that INTERVAL can handle big integers. (Bug #3498)
Fixed that hostname="" works identical as hostname="%" for table/column grants (Bug #3473)
|
| |/ /
| | |
| | |
| | | |
Ensure that raid_chunks is not set to higher than 255 as this could cause problems with DROP DATABASE. (Bug #3182)
|
|\ \ \
| | | |
| | | |
| | | | |
into ltantony.dsl-verizon.net:/usr/home/antony/work/bug3481
|
| | | |
| | | |
| | | |
| | | | |
CREATE statement allowed extra unnecessary commas
|
| |/ /
|/| | |
|
|/ / |
|
|\ \
| | |
| | |
| | | |
into mysql.com:/home/mysql_src/mysql-4.0
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
replicate-wild-ignore-table":
In tables_ok(), when there is no table having "updating==TRUE" in the list,
return that we don't replicate this statement (the slave is supposed to
replicate *changes* only).
In practice, the case can only happen for this statement:
DELETE t FROM t,u WHERE ... ;
tables_ok(t,u) will now return 0, which (check all_tables_not_ok())
will give a chance to tables_ok(t) to run.
|
| | |
| | |
| | |
| | | |
Use only noninlined InnoDB functions in ha_innodb.cc
|
|\ \ \
| |/ /
|/| |
| | | |
into gw.mysql.r18.ru:/usr/home/ram/work/4.0.b3376
|
| | | |
|
|/ /
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
replicating LOAD DATA INFILE":
as we transform the 3.23 Load_log_event into a 4.0 Create_file_log_event which is one
byte longer, we need to increment event_len. The bug was that we did not increment it,
so later in code the end 0 was not seen so there was for example a segfault in
strlen(fname) because fname was not 0-terminated.
Other problems remain in 3.23->4.0 replication of LOAD DATA INFILE but they are less serious:
Exec_master_log_pos and Relay_log_space are incorrect. I'll document them.
They are not fixable without significant code changes (if you fix those problems in 4.0,
you get assertion failures somewhere else etc), * which are already done in 5.0.0 *.
|
| |
| |
| |
| | |
Fix a glitch reported by Philippe Lewicki on the general mailing list: do not print a warning to the .err log if read_key fails with a lock wait timeout error 146
|
| |
| |
| |
| |
| |
| |
| | |
involved":
if you are printing LOAD DATA INFILE and its USE as comments, don't update 'last_db' (because you
have not actually changed the db in the server).
|
| |
| |
| |
| |
| |
| |
| |
| | |
number" from slave":
Backport of a part of this changeset of 4.1:
ChangeSet@1.1753.1.1, 2004-04-05 13:56:05+03:00, monty@mysql.com
which fixes the bug.
|
|\ \
| | |
| | |
| | | |
into mysql.com:/home/mysql_src/mysql-4.0
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
always
too big by 6 bytes. So I add code to substract 6 bytes if the master is 3.23.
This is not perfect (because it won't work if the slave I/O thread has not
noticed yet that the master is 3.23), but as long as the slave I/O thread
starts Exec_master_log_pos will be ok.
It must be merged to 4.1 but not to 5.0 (or it can be, because of #if MYSQL_VERSION_ID),
because 5.0 already works if the master is 3.23 (and in a more natural way:
in 5.0 we store the end_log_pos in the binlog and relay log).
I had to move functions from slave.h to slave.cc to satisfy gcc.
|
| | |
| | |
| | |
| | | |
instead of stdout or fixed-size memory buffers
|
| | | |
|
| | |
| | |
| | |
| | | |
when dropping database (Bug #3058)
|
| | | |
|
|\ \ \
| | | |
| | | |
| | | | |
into sinisa.nasamreza.org:/mnt/work/mysql-4.0
|
| | | |
| | | |
| | | |
| | | | |
the extra files being present.
|
| | | | |
|
|\ \ \ \
| |/ / /
|/| | |
| | | | |
into eagle.mysql.r18.ru:/home/vva/work/BUG_2342/mysql-4.0
|