Skip to content

Commit

Permalink
fix erasing comment when alter a column family without giving comment.
Browse files Browse the repository at this point in the history
  • Loading branch information
bmat06 committed Mar 16, 2012
1 parent 32e0d42 commit e0ce340
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pycassa/system_manager.py
Expand Up @@ -465,9 +465,9 @@ def alter_column_family(self, keyspace, column_family,
self._cfdef_assign(row_cache_keys_to_save, cfdef, 'row_cache_keys_to_save')
self._cfdef_assign(compression_options, cfdef, 'compression_options')
self._cfdef_assign(merge_shards_chance, cfdef, 'merge_shards_chance')
self._cfdef_assign(comment, cfdef, 'comment')

cfdef.replicate_on_write = replicate_on_write
cfdef.comment = comment
cfdef.key_alias = key_alias
if row_cache_provider:
cfdef.row_cache_provider = row_cache_provider
Expand Down

0 comments on commit e0ce340

Please sign in to comment.