Opened 15 years ago
Closed 14 years ago
#10341 closed Patch - Bug Fix (fixed)
Wrong default value for DB WOL retry
| Reported by: | Owned by: | danielk | |
|---|---|---|---|
| Priority: | minor | Milestone: | 0.26 |
| Component: | MythTV - Mythtv-setup | Version: | Master Head |
| Severity: | medium | Keywords: | |
| Cc: | Ticket locked: | no |
Description
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:
- The easiest way is to replace line 894 of mythdb.cpp by:
params.wolRetry = settings.GetNumSetting("WOLsqlConnectRetry",5);
- 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
Attachments (1)
Change History (3)
by , 15 years ago
| Attachment: | defaultDBsettingFix.diff added |
|---|
comment:1 by , 15 years ago
| Milestone: | 0.25 → 0.26 |
|---|---|
| Status: | new → accepted |
comment:2 by , 14 years ago
| Resolution: | → fixed |
|---|---|
| Status: | accepted → closed |
Note:
See TracTickets
for help on using tickets.

In 986a5869911ca56d32ed3d6c0325f9e825e628c4/mythtv: