1
0
mirror of https://github.com/MariaDB/server.git synced 2025-11-22 17:44:29 +03:00
Files
mariadb/sql
unknown 9b867a2a7f Replication: various small fixes specific to the new binlog format of 5.0
(including one which may explain autobuild's failure of yesterday)


client/mysqlbinlog.cc:
  - In mysqlbinlog, we should not reset the Format event when we see Rotate. If a binlog started with a Format event, it is not going to switch later to 4.0 format.
  I had already did the same fix in Rotate_log_event::exec_event() in replication.
  - Fix for a merge bug.
sql/log_event.cc:
  An event with an uninited catalog (read from a 4.x server) is not the same as an event with a NULL catalog
  (5.0 server which did not specify catalog), the difference is that they are not in the same format;
  so I introduce a way to know if the catalog has been inited or not. This fixes a rpl_trunc_binlog failure
  I had.
  When we leave Load_log_event::exec_event(), we must reset thd->catalog to 0, like we already do
  in Query_log_event::exec_event(). This fixes a Valgrind error which popped in rpl_charset (which may
  be what caused autobuild to crash yesterday).
  And a fix for event's parsing (the position was always computed right because start_dup==end is always true
  and will until we add new string members to Query_log_event.
sql/log_event.h:
  catalog_len changed from uint to int to allow -1, which means "not inited"
  (I preferred to do it like this rather than create a new bool var Query_log_event::catalog_inited
  like we have in Query_log_event::sql_mode_inited; that's because catalog will not use the whole range of int,
  so it's allowed to pick -1 as a special value and have only one var.
sql/slave.cc:
  comments
2004-07-26 19:42:59 +02:00
..
2004-07-23 18:54:01 +02:00
2004-04-05 13:56:05 +03:00
2004-05-24 14:42:34 +03:00
2004-07-07 11:29:39 +03:00
2004-03-15 16:32:53 +04:00
2004-03-15 16:32:53 +04:00
2004-07-12 08:20:24 +03:00
2004-07-12 08:20:24 +03:00
2004-06-23 12:29:05 +02:00
2004-07-12 08:20:24 +03:00
2004-07-20 15:34:57 +02:00
2004-07-12 08:20:24 +03:00
2004-05-16 14:48:32 +03:00
2004-07-20 15:34:57 +02:00
2004-07-16 01:15:55 +03:00
2004-07-20 15:34:57 +02:00
2004-07-15 17:30:55 +02:00
2004-04-07 04:33:58 +03:00
2004-07-15 04:19:07 +03:00
2004-07-07 11:29:39 +03:00
2004-07-07 11:29:39 +03:00
2004-07-07 11:29:39 +03:00
2004-07-07 11:29:39 +03:00
2004-07-07 11:29:39 +03:00
2004-03-04 08:50:37 +02:00
2004-01-20 20:55:47 +04:00
2004-07-16 13:21:58 +02:00
2004-07-20 15:34:57 +02:00
2004-07-20 15:34:57 +02:00
2004-07-21 00:45:08 +02:00
2004-07-07 11:29:39 +03:00
2004-07-07 11:29:39 +03:00
2004-07-23 09:20:58 +03:00
2004-05-16 14:48:32 +03:00
2004-03-05 19:49:50 +02:00
2004-07-16 01:15:55 +03:00
2004-07-16 01:15:55 +03:00
2004-07-16 01:15:55 +03:00
2004-03-16 22:41:30 +02:00
2004-07-21 23:32:11 +02:00
2004-07-16 01:15:55 +03:00
2004-07-07 11:29:39 +03:00
2004-03-25 23:29:45 +02:00
2004-07-22 00:26:33 +02:00
2004-07-16 01:15:55 +03:00
2004-07-16 22:48:56 +03:00
2004-07-16 19:42:38 +03:00
2004-07-07 11:29:39 +03:00
2004-07-07 11:29:39 +03:00
2004-07-07 11:29:39 +03:00
2004-05-14 16:00:57 +02:00
2004-07-22 00:26:33 +02:00
2004-06-02 19:17:35 +05:00
2004-05-27 16:32:49 +05:00
2004-07-16 01:15:55 +03:00
2004-05-12 02:38:57 +03:00
2004-07-23 09:25:08 +03:00
2004-07-16 01:15:55 +03:00
2004-03-16 22:41:30 +02:00
2004-07-16 01:15:55 +03:00
2004-07-23 18:54:01 +02:00
2004-07-16 01:15:55 +03:00
2004-07-16 01:15:55 +03:00
2004-07-16 01:15:55 +03:00
2004-07-16 01:15:55 +03:00
2004-07-23 09:20:58 +03:00
2004-07-23 09:20:58 +03:00
2004-04-07 19:07:44 +02:00
2004-07-20 15:34:57 +02:00
2004-07-16 01:15:55 +03:00
2004-07-23 18:54:01 +02:00
2004-07-16 01:15:55 +03:00
2004-04-07 19:07:44 +02:00
2004-04-07 19:07:44 +02:00
2004-07-21 23:32:11 +02:00
2004-06-25 06:48:10 -07:00
2004-07-20 15:03:22 -05:00
2004-07-07 11:29:39 +03:00
2004-05-26 17:04:45 +02:00
2004-07-17 16:58:16 +02:00
2004-05-29 20:55:46 +04:00
2004-03-19 14:35:00 +04:00
2004-07-16 01:15:55 +03:00
2004-07-16 01:15:55 +03:00
2004-07-07 11:29:39 +03:00
2004-07-23 09:20:58 +03:00
2004-07-16 01:15:55 +03:00
2004-06-23 12:36:07 +02:00
2004-07-16 01:15:55 +03:00