Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: MythTV: Commits

Ticket #10341: Wrong default value for DB WOL retry

 

 

MythTV commits RSS feed   Index | Next | Previous | View Threaded


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


noreply at mythtv

Feb 15, 2012, 8:59 AM

Post #2 of 3 (77 views)
Permalink
Re: Ticket #10341: Wrong default value for DB WOL retry [In reply to]

#10341: Wrong default value for DB WOL retry
------------------------------------+-----------------------------
Reporter: xavier.hervy@… | Owner: danielk
Type: Patch - Bug Fix | Status: accepted
Priority: minor | Milestone: 0.26
Component: MythTV - Mythtv-setup | Version: Master Head
Severity: medium | Resolution:
Keywords: | Ticket locked: 0
------------------------------------+-----------------------------
Changes (by danielk):

* status: new => accepted
* milestone: 0.25 => 0.26


--
Ticket URL: <http://code.mythtv.org/trac/ticket/10341#comment:1>
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


noreply at mythtv

May 4, 2012, 11:33 AM

Post #3 of 3 (45 views)
Permalink
Re: Ticket #10341: Wrong default value for DB WOL retry [In reply to]

#10341: Wrong default value for DB WOL retry
-----------------------------------+-----------------------------
Reporter: xavier.hervy@… | Owner: danielk
Type: Patch - Bug Fix | Status: closed
Priority: minor | Milestone: 0.26
Component: MythTV - Mythtv-setup | Version: Master Head
Severity: medium | Resolution: fixed
Keywords: | Ticket locked: 0
-----------------------------------+-----------------------------
Changes (by Daniel Kristjansson <danielk@…>):

* status: accepted => closed
* resolution: => fixed


Comment:

In [changeset:986a5869911ca56d32ed3d6c0325f9e825e628c4/mythtv]:
{{{
#!CommitTicketReference repository="mythtv"
revision="986a5869911ca56d32ed3d6c0325f9e825e628c4"
Fixes #10341. Use default SQLConnectRetry if not specified in the
config.xml.

Reported by xavier.hervy [at] gmail
}}}

--
Ticket URL: <http://code.mythtv.org/trac/ticket/10341#comment:2>
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

MythTV commits RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.