Skip to content

Commit baa93d4

Browse files
committed
Merge branch 'master' of github.com:simplereach/helenus
2 parents 8bc5171 + 634b5f1 commit baa93d4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/connection.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -449,7 +449,7 @@ Connection.prototype.cql = function(cmd, args, options, callback){
449449
}
450450
}
451451

452-
if (this.cqlVersion === '3.0.0' && this.version[0] === '19' && this.version[1] > '33') {
452+
if (this.cqlVersion === '3.0.0' || (this.version[0] === '19' && this.version[1] > '33')) {
453453
if(options.gzip === true){
454454
zlib.deflate(cql, function(err, cqlz){
455455
self.execute('execute_cql3_query', cqlz, ttype.Compression.GZIP, self.consistencylevel, onReturn);

0 commit comments

Comments
 (0)