[mythtv] [mythtv-commits] mythtv commit: r15955 by bjm
janne-mythtv at grunau.be
Tue Feb 12 21:44:05 UTC 2008
On Tuesday 12 February 2008 22:26:48 mythtv at cvs.mythtv.org wrote:
> Author: bjm
> Date: 2008-02-12 21:26:48 +0000 (Tue, 12 Feb 2008)
> New Revision: 15955
> Changeset: http://cvs.mythtv.org/trac/changeset/15955
> Follow up to janne's 'program' table property fixes. Change
> customedit examples to use FIND_IN_SET() instead of the raw
> bit numbers.
updating this rules was on my todo list but I could not decide
whether "FIND_IN_SET('X', set)" or "set LIKE '%X%' is less ugly.
FIND_IN_SET is preferable since it won't match on substrings.
> The HOWTO will have more info on using sets.
"SHOW COLUMNS FROM program LIKE 'videoprop';" will show the valid values
for the set but it might be enough to mention the current values in the
More information about the mythtv-dev