kikocis/java-driver public
Changesets · Branches · Tags · Compare
| Changeset | 873ddcd06f8e6070b5d93715a299f5ea1212786d2cd1812d410124563a5f8c69 |
|---|---|
| Author | Andrew Tolbert <andrew.tolbert@datastax.com> · 2015-10-06 14:29 -05:00 |
| Committer | olim7t <omichallat+github@gmail.com> · 2015-10-14 22:25 +02:00 |
| Parents | 3c741ee68bee |
2 files changed
modified changelog/README.md +1 −0
| @@ -10,6 +10,7 @@ | ||
| 10 | 10 | - [new feature] Prepare API for async query trace (JAVA-902) |
| 11 | 11 | - [new feature] Add BoundStatement#unset (JAVA-930) |
| 12 | 12 | - [bug] Make table metadata options class visible (JAVA-946) |
| 13 | +- [bug] Add crcCheckChance to TableOptionsMetadata#equals/hashCode (JAVA-939) | |
| 13 | 14 | |
| 14 | 15 | |
| 15 | 16 | ### 3.0.0-alpha3 |
modified driver-core/src/main/java/com/datastax/driver/core/TableOptionsMetadata.java +2 −1
| @@ -391,6 +391,7 @@ | ||
| 391 | 391 | Objects.equal(this.maxIndexInterval, that.maxIndexInterval) && |
| 392 | 392 | Objects.equal(this.compaction, that.compaction) && |
| 393 | 393 | Objects.equal(this.compression, that.compression) && |
| 394 | + Objects.equal(this.crcCheckChance, that.crcCheckChance) && | |
| 394 | 395 | Objects.equal(this.extensions, that.extensions); |
| 395 | 396 | } |
| 396 | 397 | |
| @@ -398,6 +399,6 @@ | ||
| 398 | 399 | public int hashCode() { |
| 399 | 400 | return Objects.hashCode(isCompactStorage, comment, readRepair, localReadRepair, replicateOnWrite, gcGrace, |
| 400 | 401 | bfFpChance, caching, populateCacheOnFlush, memtableFlushPeriodMs, defaultTTL, speculativeRetry, |
| 401 | - indexInterval, minIndexInterval, maxIndexInterval, compaction, compression, extensions); | |
| 402 | + indexInterval, minIndexInterval, maxIndexInterval, compaction, compression, crcCheckChance, extensions); | |
| 402 | 403 | } |
| 403 | 404 | } |