Opened 11 years ago

Closed 11 years ago

#6493 closed patch (fixed)

Check MSqlQuery::exec() return value in plugin DB schema upgrade code

Reported by: sphery <mtdean@…> Owned by: Isaac Richards
Priority: minor Milestone: unknown
Component: MythTV - General Version: head
Severity: medium Keywords:
Cc: Ticket locked: no

Description

The attached patch checks the return value of MSqlQuery::exec() in the DB schema upgrade code for plugins as well as the MythBrowser? bookmark manager to work around the Qt4.5 lastError() bug. It seems to cover all the obvious locations in mythplugins where the exec() return value was ignored.

The patch was originally posted to #6344 , but since that ticket was already closed before this patch was posted, I moved it here so it wouldn't be lost. The patch was created by OJ (olejl on IRC).

Attachments (1)

lastError_bug.patch (4.0 KB) - added by sphery <mtdean@…> 11 years ago.
Patch created by OJ (olejl in IRC)

Download all attachments as: .zip

Change History (4)

Changed 11 years ago by sphery <mtdean@…>

Attachment: lastError_bug.patch added

Patch created by OJ (olejl in IRC)

comment:1 Changed 11 years ago by paulh

Resolution: duplicate
Status: newclosed

Fixed in [20473]

comment:2 Changed 11 years ago by paulh

Resolution: duplicate
Status: closednew

comment:3 Changed 11 years ago by paulh

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.