List:Internals« Previous MessageNext Message »
From:Michael Widenius Date:May 16 2002 2:03pm
Subject:[PATCH] client/mysqlbinlog.cc -- adds "-d <database" command-line opt
View as plain text  
Hi!

>>>>> "Jeremy" == Jeremy Zawodny <jzawodn@stripped> writes:

Jeremy> Sasha & others,
Jeremy> This patch adds a "-d" command-line option to mysqlbinlog so that on a
Jeremy> local log, you can output only the entries from a single database.  I
Jeremy> needed this earlier when trying to track down what is causing
Jeremy> duplicate key problems on my 4.0.2 slave.

Jeremy> I spent a lot of time in mysqlbinlog.cc, sql/log_event.h, and
Jeremy> sql/log_event.cc today.  I don't know if this the "right" way to make
Jeremy> the change, since my C++ is rather rusty.  But it does the job.

Jeremy> Please consider the patch below (or something like it) by sig for
Jeremy> inclusion in 4.0.

<cut>

Thanks;  I have now applied this to the 4.0 tree.

Regards,
Monty
Thread
[PATCH] client/mysqlbinlog.cc -- adds "-d <database" command-line optJeremy Zawodny27 Apr
  • [PATCH] client/mysqlbinlog.cc -- adds "-d <database" command-line optMichael Widenius16 May