[mythtv-commits] mythtv/master commit: cd073b6e9 by Michael T. Dean (sphery)

MythTV noreply at mythtv.org
Wed Mar 2 20:00:18 UTC 2011

      Author:  Michael T. Dean <mdean at mythtv.org>
 Change Date:  2011-03-02T11:59:51-08:00
   Push Date:  2011/03/02 12:00:14 -0800
  Repository:  mythtv
      Branch:  master
New Revision:  cd073b6e9b323958f785cab47884e605e4033885
   Changeset:  https://github.com/MythTV/mythtv/commit/cd073b6e9


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.



More information about the mythtv-commits mailing list