[mythtv] Ticket #4109: LocalHostName should not default to "my-unique-identifier-goes-here"
Daniel Burr
dburr at virginbroadband.com.au
Sun Oct 28 23:00:36 UTC 2007
On Sun, 2007-10-28 at 15:10 +0000, MythTV wrote:
> if the parameter isn't set it is not used. See
> MythContextPrivate::LoadDatabaseSettings()
MythContextPrivate::LoadDatabaseSettings() only does the host name check
if m_settings->GetSetting("LocalHostName", NULL) evaluates to false.
However, if LoadSettingsFile() evaluates to false (i.e. mysql.txt not found) then WriteSettingsFile(m_DBparams) will be called which sets LocalHostName to "my-unique-identifier-goes-here" instead of NULL.
DB
More information about the mythtv-dev
mailing list