[mythtv-commits] Ticket #6591: Check MSqlQuery::exec() return value

MythTV mythtv at cvs.mythtv.org
Tue Jun 2 15:52:22 UTC 2009


#6591: Check MSqlQuery::exec() return value
----------------------------------------------+-----------------------------
 Reporter:  sphery <mtdean at thirdcontact.com>  |        Owner:  janne 
     Type:  patch                             |       Status:  closed
 Priority:  minor                             |    Milestone:  0.22  
Component:  MythTV - General                  |      Version:  head  
 Severity:  medium                            |   Resolution:  fixed 
  Mlocked:  0                                 |  
----------------------------------------------+-----------------------------
Changes (by janne):

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


Comment:

 (In [20663]) Use MSqlQuery exec's return value instead lastError to check
 for errors.

 lastError will return stale errors even if the last query was successful.
 fixes #6591

 patch by: Micheal T Dean < mtdean thirdcontact com >

-- 
Ticket URL: <http://svn.mythtv.org/trac/ticket/6591#comment:2>
MythTV <http://www.mythtv.org/>
MythTV


More information about the mythtv-commits mailing list