[mythtv-commits] Ticket #6375: mythfilldatabase bindValue errors

MythTV mythtv at cvs.mythtv.org
Thu Mar 19 18:00:10 UTC 2009


#6375: mythfilldatabase bindValue errors
------------------------------+---------------------------------------------
 Reporter:  gtgj at pacbell.net  |       Owner:  ijr    
     Type:  defect            |      Status:  new    
 Priority:  minor             |   Milestone:  unknown
Component:  MythTV - General  |     Version:  unknown
 Severity:  medium            |     Mlocked:  0      
------------------------------+---------------------------------------------
 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.

-- 
Ticket URL: <http://svn.mythtv.org/trac/ticket/6375>
MythTV <http://www.mythtv.org/>
MythTV


More information about the mythtv-commits mailing list