[mythtv-firehose] mythtv/new-logging commit: b76844389 by Michael T. Dean (sphery)
MythTV
noreply at mythtv.org
Fri May 13 01:14:08 UTC 2011
Author: Michael T. Dean <mdean at mythtv.org>
Change Date: 2011-05-12T18:09:34-07:00
Push Date: 2011/05/12 18:14:05 -0700
Repository: mythtv
Branch: new-logging
New Revision: b7684438975134fee53787d0c6065645ffcc92d8
Changeset: https://github.com/MythTV/mythtv/commit/b76844389
Log:
Don't write to DB log unless logging table exists.
Verify the logging table exists before writing to the DB log. This will
only really come into play on new databases and the initial upgrade to
the new-logging DB schema. While the approach isn't necessarily the
most elegant, it's definitely the simplest, and shouldn't be any
strain at all on any system with a new-logging-capable schema (and is
only a minor strain on a system updating to such a schema).
Modified:
mythtv/libs/libmythbase/dbutil.cpp
mythtv/libs/libmythbase/dbutil.h
mythtv/libs/libmythbase/mythlogging.cpp
mythtv/libs/libmythbase/mythlogging.h
More information about the mythtv-firehose
mailing list