Permalink
Browse files

fixed issue with keys not marshalling in an indexed query

  • Loading branch information...
1 parent e3031e1 commit 0d1d947d35f1c09f928206214a33d1583f0c630e @devdazed devdazed committed Mar 25, 2012
Showing with 9 additions and 4 deletions.
  1. +6 −1 History.md
  2. +1 −1 lib/column_family.js
  3. +1 −1 lib/helenus.js
  4. +1 −1 package.json
View
@@ -89,4 +89,9 @@
* Added durability to the connection pool [ #12 ]
* Fixed CQL Injection Vulnerability [ #11 ]
- * Added ability to use ? style variable replacement in CQL [ #11 ]
+ * Added ability to use ? style variable replacement in CQL [ #11 ]
+
+0.3.4 / 2012-03-25
+==================
+
+ * fixed issue with keys not marshalling when using indexed queries
View
@@ -356,7 +356,7 @@ ColumnFamily.prototype.getIndexed = function(query, options, callback){
var results = [], i = 0, len = val.length, row;
for(; i < len; i += 1){
row = val[i];
- results.push(Row.fromThrift(row.key, row.columns, self));
+ results.push(Row.fromThrift(self.keyMarshaller.deserialize(row.key), row.columns, self));
}
callback(null, results);
}
View
@@ -16,7 +16,7 @@ var Helenus = {};
* @static
* @constant
*/
-Helenus.version = '0.3.3';
+Helenus.version = '0.3.4';
/**
* The connection pool
View
@@ -1,6 +1,6 @@
{
"name": "helenus"
- , "version": "0.3.3"
+ , "version": "0.3.4"
, "description": "NodeJS Bindings for Cassandra"
, "keywords": ["cassandra"]
, "author": "Russell Bradberry <rbradberry@gmail.com>"

0 comments on commit 0d1d947

Please sign in to comment.