[mythtv] SQL prepare / bindValue patch for mythtv

Derek Atkins warlord at MIT.EDU
Tue Dec 7 01:19:26 UTC 2004


Isaac Richards <ijr at case.edu> writes:

> IIRC, Qt is just going to substitute NULL for the placeholder on exec, but we 
> need to do 'IS NULL' and not '= NULL', right?

Correct.  "foo = null" is an invalid sql statement in mysql 3.x
(I was hit by this myself recently -- oops).

-derek
-- 
       Derek Atkins, SB '93 MIT EE, SM '95 MIT Media Laboratory
       Member, MIT Student Information Processing Board  (SIPB)
       URL: http://web.mit.edu/warlord/    PP-ASEL-IA     N1NWH
       warlord at MIT.EDU                        PGP key available


More information about the mythtv-dev mailing list