[mythtv-commits] mythtv/fixes/0.24 commit: bfa882711 by Michael T. Dean (sphery)

MythTV noreply at mythtv.org
Sat Apr 16 23:12:01 UTC 2011

      Author:  Michael T. Dean <mdean at mythtv.org>
 Change Date:  2011-04-16T16:10:49-07:00
   Push Date:  2011/04/16 16:11:59 -0700
  Repository:  mythtv
      Branch:  fixes/0.24
New Revision:  bfa882711578a1345e905961cffeb1e52cbe2e03
   Changeset:  https://github.com/MythTV/mythtv/commit/bfa882711


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.
(cherry picked from commit cd073b6e9b323958f785cab47884e605e4033885)



More information about the mythtv-commits mailing list