mariadb/client
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
..
.cvsignore
client_priv.h After merge fixes 2004-04-27 15:33:40 +03:00
completion_hash.cc upgrade readline to version 4.3 2002-11-19 18:26:53 +04:00
completion_hash.h upgrade readline to version 4.3 2002-11-19 18:26:53 +04:00
get_password.c Merge with 4.0.14 2003-08-11 22:44:43 +03:00
Makefile.am Merge 4.1 -> 5.0. 2004-04-07 19:07:44 +02:00
my_readline.h mysql.cc: 2004-05-05 22:47:09 +02:00
mysql.cc s/help all/help contents/ 2004-07-13 08:57:55 +02:00
mysqladmin.c API change: mysql_shutdown() now needs a 2nd parameter, the shutdown level. 2004-06-15 11:35:23 +02:00
mysqlbinlog.cc Replication: various small fixes specific to the new binlog format of 5.0 2004-07-26 19:42:59 +02:00
mysqlcheck.c merge with 4.0 to get Netware patches and fixes for libmysqld.dll 2004-05-25 22:54:00 +03:00
mysqldump.c restored --all as an alias to --create-options for backward compatibility 2004-06-26 23:00:23 +02:00
mysqlimport.c merge with 4.0 to get Netware patches and fixes for libmysqld.dll 2004-05-25 22:54:00 +03:00
mysqlmanager-pwgen.c consistency fix - all help texts for command-line options should end with a dot. 2003-06-13 10:59:02 +02:00
mysqlmanagerc.c Big code cleanup/review before 4.0.2 release. 2002-06-11 11:20:31 +03:00
mysqlshow.c merge with 4.0 to get Netware patches and fixes for libmysqld.dll 2004-05-25 22:54:00 +03:00
mysqltest.c Merge with 4.0 to get bug fixes 2004-07-09 02:29:28 +03:00
readline.cc mysql.cc: 2004-05-05 22:47:09 +02:00
sql_string.cc just tried to find all 'skipp' and replace it with 'skip'. 2004-02-02 20:25:39 +04:00
sql_string.h Cleanup after split of libmysql.c to client.c and libmysql.c. A 4.1 master/slave will now use the 4.1 protocol 2003-06-14 11:37:42 +03:00