/[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

--- trunk/GBPVRProgramDatabaseFixer/SQLLITE.cs	2013/03/17 01:14:21	215
+++ trunk/GBPVRProgramDatabaseFixer/SQLLITE.cs	2013/03/17 01:15:17	216
@@ -1101,8 +1101,9 @@
             builder.AppendLine("begin transaction;");
             foreach (var t in list)
             {
-                if (t.OldProgram != t.NewProgram)
+                if (!t.OldProgram.Equals(t.NewProgram))
                 {
+                    // only update the entry if it is different
                     builder.AppendLine(BuildGBPVRSingleUpdateCommand(t.NewProgram));
                 }                
             }

 

  ViewVC Help
Powered by ViewVC 1.1.22