[mythtv-commits] mythtv/master commit: d85b750fd by Daniel Kristjansson (daniel-kristjansson)

MythTV noreply at mythtv.org
Fri Aug 5 18:23:57 UTC 2011


      Author:  Daniel Kristjansson <danielk at cuymedia.net>
 Change Date:  2011-08-05T11:22:37-07:00
   Push Date:  2011/08/05 11:23:50 -0700
  Repository:  mythtv
      Branch:  master
New Revision:  d85b750fdea94d46d30b8d501d5f82c2d68b3e0a
   Changeset:  https://github.com/MythTV/mythtv/commit/d85b750fd

Log:

Refs #9704. Make new DB code more forgiving of NULL strings in NOT NULL columns.

If the query fails with NULL bindings on strings, this tries to resend the query without any NULL strings and if that succeeds it prints an error message and proceeds.

Note: If you see the DB error message, it really does indicate code that needs fixing.

Modified:

   mythtv/libs/libmythbase/mythdb.cpp
   mythtv/libs/libmythbase/mythdb.h
   mythtv/libs/libmythbase/mythdbcon.cpp
   mythtv/libs/libmythbase/mythversion.h



More information about the mythtv-commits mailing list