[mythtv-commits] mythtv commits

mythtv at cvs.mythtv.org mythtv at cvs.mythtv.org
Tue Mar 29 21:55:03 UTC 2005

Changes committed by bjm on Tue Mar 29 21:51:51 2005

Modified Files:
   in mythtv/libs/libmyth:
Log Message:
Fix a nasty bug if a kPowerSearch rule contained a "%" (SQL wildcard)
where QString may include it from an earlier arg and use it for replacement
with a later arg. From the Qt docs:

    QString str( "%1 %2" );
    str.arg( "(%1)", "Hello" );           // returns "(%1) Hello"
    str.arg( "(%1)" ).arg( "Hello" );     // returns "(Hello) %2"

Replace all args in SimpleDBStorage() UPDATEs with one .arg() to aviod
this problem.


More information about the mythtv-commits mailing list