[mythtv] [mythtv-commits] Ticket #8585: Qt:ISODate/mysql icompatibility

Simon Kenyon simon at koala.ie
Thu Mar 3 13:54:04 UTC 2011


On 02/03/2011 20:00, MythTV wrote:
> #8585: Qt:ISODate/mysql icompatibility
> ----------------------------------+----------------------------
>   Reporter:  eltorio@…             |          Owner:  mdean
>       Type:  defect                |         Status:  new
>   Priority:  minor                 |      Milestone:  unknown
> Component:  MythTV - General      |        Version:  Trunk Head
>   Severity:  medium                |     Resolution:
>   Keywords:                        |  Ticket locked:  0
> ----------------------------------+----------------------------
>
> Comment (by Michael T. Dean):
>
>   Don't use QDateTime::toString() for prepared queries.
>
>   When using bindValue() to specify datetime values, do not use
>   toString().  Instead, pass the QDateTime to bindValue() so that it can
>   pass the value using the MySQL-C-API MYSQL_TIME type--so that database
>   datetime string literal format isn't an issue.  Refs #8585.
>
>   Thanks, again, to Rob Smith for finding another incorrect pattern to
>   search for.
>    Changeset: cd073b6e9b323958f785cab47884e605e4033885
>

is the the opposite to what

Gentoo/media-tv/mythtv/files/mysql-5.5.patch

is doing? this appears to be adding them.

-- 
simon


More information about the mythtv-dev mailing list