Browse Source

Merge pull request #7616 from richardkchapman/cassandra-upmerge-issue

HPCC-13724 Review use of batch in cassandra plugin

Reviewed-By: Richard Chapman <rchapman@hpccsystems.com>
Richard Chapman 10 years ago
parent
commit
53c9f54025
1 changed files with 2 additions and 1 deletions
  1. 2 1
      plugins/cassandra/cassandraembed.hpp

+ 2 - 1
plugins/cassandra/cassandraembed.hpp

@@ -32,7 +32,8 @@ extern bool isString(CassValueType t);
 class CassandraCluster : public CInterface
 {
 public:
-    inline CassandraCluster(CassCluster *_cluster) : cluster(_cluster), batchMode((CassBatchType) -1), pageSize(0)
+    inline CassandraCluster(CassCluster *_cluster)
+    : cluster(_cluster), batchMode((CassBatchType) -1), pageSize(0), maxFutures(0), maxRetries(0)
     {
     }
     void setOptions(const StringArray &options);