MySQL Lists are EOL. Please join:

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

>>>>> "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, sql/log_event.h, and
Jeremy> sql/ 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.


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

[PATCH] client/ -- adds "-d <database" command-line optJeremy Zawodny27 Apr
  • [PATCH] client/ -- adds "-d <database" command-line optMichael Widenius16 May