mirror of https://github.com/apache/cassandra
Merge branch 'cassandra-1.1' into trunk
This commit is contained in:
commit
a6c5d3c430
|
|
@ -29,6 +29,8 @@
|
|||
* Move CfDef and KsDef validation out of thrift (CASSANDRA-4037)
|
||||
* Expose repairing by a user provided range (CASSANDRA-3912)
|
||||
* Add way to force the cassandra-cli to refresh it's schema (CASSANDRA-4052)
|
||||
Merged from 1.0:
|
||||
* Fix super columns bug where cache is not updated (CASSANDRA-4190)
|
||||
|
||||
|
||||
1.1.0-final
|
||||
|
|
|
|||
|
|
@ -137,7 +137,7 @@ public class ColumnFamily extends AbstractColumnContainer implements IRowCacheEn
|
|||
}
|
||||
|
||||
/**
|
||||
* Same as addAll() but do a cloneMeShallow of SuperColumn if necessary to
|
||||
* Same as addAll() but do a cloneMe of SuperColumn if necessary to
|
||||
* avoid keeping references to the structure (see #3957).
|
||||
*/
|
||||
public void addAllWithSCCopy(ColumnFamily cf, Allocator allocator)
|
||||
|
|
@ -146,7 +146,7 @@ public class ColumnFamily extends AbstractColumnContainer implements IRowCacheEn
|
|||
{
|
||||
for (IColumn c : cf)
|
||||
{
|
||||
columns.addColumn(((SuperColumn)c).cloneMeShallow(), allocator);
|
||||
columns.addColumn(((SuperColumn)c).cloneMe(), allocator);
|
||||
}
|
||||
delete(cf);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue