Fix preparing statement with batch and delete from collection

patch by Jan Chochol; reviewed by slebresne for CASSANDRA-6607
This commit is contained in:
Sylvain Lebresne 2014-01-27 18:43:05 +01:00
parent c612a36495
commit 09563ab2cc
2 changed files with 2 additions and 1 deletions

View File

@ -15,6 +15,7 @@
* skip blocking on streaming during drain (CASSANDRA-6603)
* Improve error message when schema doesn't match loaded sstable (CASSANDRA-6262)
* Add properties to adjust FD initial value and max interval (CASSANDRA-4375)
* Fix preparing with batch and delete from collection (CASSANDRA-6607)
1.2.13

View File

@ -139,7 +139,7 @@ public class BatchStatement extends ModificationStatement
public ParsedStatement.Prepared prepare() throws InvalidRequestException
{
CFDefinition.Name[] boundNames = new CFDefinition.Name[getBoundTerms()];
ColumnSpecification[] boundNames = new ColumnSpecification[getBoundTerms()];
return prepare(boundNames);
}