
noreply at mythtv
Feb 15, 2012, 8:40 AM
Post #1 of 3
(76 views)
Permalink
|
|
Ticket #10341: Wrong default value for DB WOL retry
|
|
#10341: Wrong default value for DB WOL retry ----------------------------------------+------------------------- Reporter: xavier.hervy@… | Owner: danielk Type: Patch - Bug Fix | Status: new Priority: minor | Milestone: 0.25 Component: MythTV - Mythtv-setup | Version: Master Head Severity: medium | Keywords: Ticket locked: 0 | ----------------------------------------+------------------------- In mysql.txt, it is said that the default value is 5 when not specified but In the UI the default value is 0. In the UI the number of retry is between 1 and 10 (also I don't know why It could not be 0) There is few way to fix this: 1. The easiest way is to replace line 894 of mythdb.cpp by: params.wolRetry = settings.GetNumSetting("WOLsqlConnectRetry",5); 2. a better would be to load the default setting first and replace line 894 (and other similar one) by: params.wolRetry = settings.GetNumSetting("WOLsqlConnectRetry",params.wolRetry); This patch implement the later -- Ticket URL: <http://code.mythtv.org/trac/ticket/10341> MythTV <http://code.mythtv.org/trac> MythTV Media Center _______________________________________________ mythtv-commits mailing list mythtv-commits [at] mythtv http://www.mythtv.org/mailman/listinfo/mythtv-commits
|