/[xmltv_parser]/trunk/GBPVRProgramDatabaseFixer/SQLLITE.cs
ViewVC logotype

Diff of /trunk/GBPVRProgramDatabaseFixer/SQLLITE.cs

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 215 by william, Sun Mar 17 01:14:21 2013 UTC revision 216 by william, Sun Mar 17 01:15:17 2013 UTC
# Line 1101  namespace GBPVRProgramDatabaseFixer Line 1101  namespace GBPVRProgramDatabaseFixer
1101              builder.AppendLine("begin transaction;");              builder.AppendLine("begin transaction;");
1102              foreach (var t in list)              foreach (var t in list)
1103              {              {
1104                  if (t.OldProgram != t.NewProgram)                  if (!t.OldProgram.Equals(t.NewProgram))
1105                  {                  {
1106                        // only update the entry if it is different
1107                      builder.AppendLine(BuildGBPVRSingleUpdateCommand(t.NewProgram));                      builder.AppendLine(BuildGBPVRSingleUpdateCommand(t.NewProgram));
1108                  }                                  }                
1109              }              }

Legend:
Removed from v.215  
changed lines
  Added in v.216

  ViewVC Help
Powered by ViewVC 1.1.22