Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use newFramerWithExts instead of newFramer to utilize protocol extens…
…ions When LWT optimization was implemented in gocql (#49), all `newFramer` calls were replaced with `newFramerWithExts` calls. Previously, during the upstream merging the code using `newFramer` was added (#109) and it was forgotten to replace it with `newFramerWithExts`. That way, the `flagLWT` field was set to `0` by default, causing the driver to consider every query executed as a LWT query. The issue was not immediately noticed because the only difference in behavior occurs when we want to use `ShuffleReplicas()` in `TokenAwareHostPolicy`. This commit fixes the issue by replacing `newFramer` with `newFramerWithExts`.
- Loading branch information