[mythtv-commits] Ticket #11086: MSqlDatabase::Reconnect() should also reset session parameters set by OpenDatabase()

MythTV noreply at mythtv.org
Thu Sep 13 21:33:11 UTC 2012


#11086: MSqlDatabase::Reconnect() should also reset session parameters set by
OpenDatabase()
--------------------------------------+-----------------------------
 Reporter:  Adrian Saul <sgtbundy@…>  |          Owner:  gigem
     Type:  Patch - Bug Fix           |         Status:  closed
 Priority:  blocker                   |      Milestone:  0.26
Component:  MythTV - MythSystem       |        Version:  Master Head
 Severity:  high                      |     Resolution:  fixed
 Keywords:                            |  Ticket locked:  0
--------------------------------------+-----------------------------
Changes (by David Engel <dengel@…>):

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


Comment:

 In [changeset:9b526cc800309b1791ea5ae1f5f29e8118a3d983/mythtv]:
 {{{
 #!CommitTicketReference repository="mythtv"
 revision="9b526cc800309b1791ea5ae1f5f29e8118a3d983"
 Reinitialize database session variables when reconnecting.

 The session variables weren't being set when we reconnected after a
 database connection went stale and led to problems.  For example, the
 timezone was not being set to UTC and caused serious scheduling
 problems for users in far eastern time zones.  Thanks to Adrian Saul
 for initially spotting and then tracking down the problem.

 Fixes #11086
 }}}

-- 
Ticket URL: <http://code.mythtv.org/trac/ticket/11086#comment:2>
MythTV <http://code.mythtv.org/trac>
MythTV Media Center


More information about the mythtv-commits mailing list