Fix bug with deleted Cassandra table column
[proteocache.git] / datadb / compbio / cassandra / CassandraWriter.java
index 8c1bc9d..04adcec 100644 (file)
@@ -155,7 +155,6 @@ public class CassandraWriter {
                        // requests)
                        // TODO I don't like the bit of code. There should not be so many
                        // counters...
-                       int njobsTotal = 1;
                        int njobsOk = 0;
                        int njobsStop = 0;
                        int njobsError = 0;
@@ -175,7 +174,6 @@ public class CassandraWriter {
                        }
                        if (!results4.isExhausted()) {
                                Row r = results4.one();
-                               njobsTotal += r.getLong("Total");
                                njobsOk += r.getLong("TotalOK");
                                njobsError += r.getLong("TotalError");
                                njobsStop += r.getLong("TotalStopped");