Opened 11 years ago

Closed 11 years ago

#6375 closed defect (fixed)

mythfilldatabase bindValue errors

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

Description

I get the following error messages when running mythfilldatabase:

2009-03-18 10:13:51.433 Trying to bind a value to placeholder XXXX without occurrence in the prepared query. Ignoring it.
Query was: "UPDATE settings SET data = :STATUS WHERE value='mythfilldatabaseLastRunStatus'"
2009-03-18 10:13:51.433 DB Error (updateLastRunStatus):
Query was:
UPDATE settings SET data = ? WHERE value='mythfilldatabaseLastRunStatus'
Driver error was [2/2031]:
QMYSQL3: Unable to execute statement
Database error was:
No data supplied for parameters in prepared statement

Looks like the arguments to bindValue are swapped. The attached patch fixes it.

Attachments (1)

fill_bv-20210.patch (1.2 KB) - added by gtgj@… 11 years ago.
fix bindValue argument order

Download all attachments as: .zip

Change History (2)

Changed 11 years ago by gtgj@…

Attachment: fill_bv-20210.patch added

fix bindValue argument order

comment:1 Changed 11 years ago by shane

Resolution: fixed
Status: newclosed

(In [20284]) Closes #6375 Fix mythfilldatabase bindValue errors.

Using patch from gtgj [] pacbell.net

Note: See TracTickets for help on using tickets.