[mythtv] Small database fix

Grant Totten grantt at thedrawlyn.com
Sat Nov 15 23:54:02 EST 2003


Hi all,

I've made a trivial enhancement to the dvb_lnb table section, in 
dbcheck.cpp.  The lnb_lof_switch column needs to be defined as an 
integer, not a smallint.

Cheers,
Grant


# diff -c dbcheck.cpp.before_hacking dbcheck.cpp
*** dbcheck.cpp.before_hacking  2003-11-13 19:32:55.000000000 -0500
--- dbcheck.cpp 2003-11-13 19:34:25.000000000 -0500
***************
*** 308,314 ****
  "   name VARCHAR(128),"
  "   diseqc_type SMALLINT DEFAULT 0,"
  "   diseqc_port SMALLINT DEFAULT 0,"
! "   lnb_lof_switch SMALLINT DEFAULT 11700000,"
  "   lnb_lof_hi INTEGER DEFAULT 10600000,"
  "   lnb_lof_lo INTEGER DEFAULT 9750000,"
  "   PRIMARY KEY(satid)"
--- 308,314 ----
  "   name VARCHAR(128),"
  "   diseqc_type SMALLINT DEFAULT 0,"
  "   diseqc_port SMALLINT DEFAULT 0,"
! "   lnb_lof_switch INTEGER DEFAULT 11700000,"
  "   lnb_lof_hi INTEGER DEFAULT 10600000,"
  "   lnb_lof_lo INTEGER DEFAULT 9750000,"
  "   PRIMARY KEY(satid)"




More information about the mythtv-dev mailing list