1
0
mirror of https://github.com/MariaDB/server.git synced 2025-11-16 20:23:18 +03:00
Files
mariadb/sql
unknown d43a347db1 Use my_b_append instead of my_b_write on a SEQ_READ_APPEND cache, when we write
the first 4 bytes of the relay log. Indeed comments in mysys/mf_iocache.c 
say we must always use my_b_append for such a cache.
This *could* avoid a very rare assertion failure which is: 
030524 19:32:38  Slave SQL thread initialized, starting replication in log 'FIRST' at position 0, relay log '/
users/gbichot/4.1.1/mysql-test/var/log/slave-relay-bin.000001' position: 4
030524 19:32:38  next log '/users/gbichot/4.1.1/mysql-test/var/log/slave-relay-bin.000002' is currently active
mysqld: mf_iocache.c:701: _my_b_seq_read: Assertion `pos_in_file == info->end_of_file' failed.
and which seemed to happen always when the SQL thread and/or the I/O thread
were at position 4 in a relay log.


include/my_sys.h:
  moving a function from log_event.cc so that it can be widely used
mysys/mf_iocache.c:
  moving a function from log_event.cc so that it can be widely used
sql/log.cc:
  my_b_write should not be used on a SEQ_READ_APPEND cache, one should use my_b_append
  (otherwise there could be some locking problems).
sql/log_event.cc:
  moved to mysys/mf_iocache.c for wider use.
  A typo.
2003-08-19 17:00:36 +02:00
..
2003-07-14 16:04:20 +03:00
2002-07-23 18:31:22 +03:00
2003-01-28 08:38:28 +02:00
2003-07-01 14:38:38 +03:00
2003-08-12 15:28:36 +02:00
2003-06-24 10:53:21 +05:00
2003-04-26 14:54:53 +03:00
2003-03-13 13:44:03 +01:00
2003-01-05 20:18:49 +02:00
2003-01-05 20:18:49 +02:00
2003-04-23 21:52:16 +03:00
2003-07-08 20:51:45 +03:00
2003-07-14 15:53:50 +03:00
2003-01-28 17:42:08 +01:00
2002-06-20 15:25:02 +03:00
2002-07-23 20:39:36 +03:00
2003-01-28 08:38:28 +02:00
2003-07-14 10:12:05 +03:00
2003-08-03 16:33:04 +03:00
2003-04-23 21:52:16 +03:00
2003-04-15 22:04:16 +03:00
2003-06-11 20:09:37 +05:00
2003-08-19 15:46:47 +02:00
2003-01-28 08:38:28 +02:00
2003-06-19 12:38:14 -04:00
2003-08-15 09:54:19 +03:00
2003-02-06 16:55:59 +02:00
2003-05-07 19:01:45 +03:00
2003-04-23 21:52:16 +03:00
2003-08-15 09:54:19 +03:00
2003-07-14 10:12:05 +03:00
2003-07-04 23:06:19 +03:00
2003-07-14 10:12:05 +03:00
2003-07-14 10:12:05 +03:00
2003-07-04 23:06:19 +03:00
2003-07-14 10:12:05 +03:00
2003-07-14 10:12:05 +03:00
2002-11-29 16:40:18 +02:00
2003-07-14 10:12:05 +03:00
2003-08-04 10:59:44 +02:00
2003-08-15 09:54:19 +03:00
2003-04-23 21:52:16 +03:00
2003-08-17 14:37:26 +03:00
2003-07-14 10:12:05 +03:00