[mythtv-firehose] mythtv/master commit: 63f5b1ead by Michael T. Dean (sphery)
MythTV
noreply at mythtv.org
Sun Oct 30 19:08:11 UTC 2011
Author: Michael T. Dean <mdean at mythtv.org>
Change Date: 2011-10-30T12:06:50-07:00
Push Date: 2011/10/30 12:07:53 -0700
Repository: mythtv
Branch: master
New Revision: 63f5b1eadd5982d29cf358e1e8a22a437ceba471
Changeset: https://github.com/MythTV/mythtv/commit/63f5b1ead
Log:
Don't prepare DB logging query if aborted.
If aborted is set, we're shutting down, so don't prepare the database
logging query. This will prevent errors, for example, if the user
cancels a DB upgrade. And, since the while loop will prevent actually
writing any log messages on aborted, there's no reason to do any of the
preparation code.
This looks like a big change due to whitespace changes but is really
just inserting an if (!aborted) around the main block of code in
DBLoggerThread::run().
Modified:
mythtv/libs/libmythbase/logging.cpp
More information about the mythtv-firehose
mailing list