mirror of https://github.com/apache/cassandra
Throw invalid exception in CQL3 on obsolete options
patch by slebresne; reviewed by jbellis for CASSANDRA-4171
This commit is contained in:
parent
15f12e6581
commit
476ef487cb
|
|
@ -24,6 +24,7 @@
|
|||
* Allow KS and CF names up to 48 characters (CASSANDRA-4157)
|
||||
* Add support for CL.TWO and CL.THREE in CQL (CASSANDRA-4156)
|
||||
* Fix type in CQL3 ALTER TABLE preventing update (CASSANDRA-4170)
|
||||
* Throw invalid exception from CQL3 on obsolete options (CASSANDRA-4171)
|
||||
Merged from 1.0:
|
||||
* avoid streaming empty files with bulk loader if sstablewriter errors out
|
||||
(CASSANDRA-3946)
|
||||
|
|
|
|||
|
|
@ -86,17 +86,6 @@ public class CFPropDefs
|
|||
keywords.add(KW_CACHING);
|
||||
keywords.add(KW_BF_FP_CHANCE);
|
||||
|
||||
obsoleteKeywords.add("row_cache_size");
|
||||
obsoleteKeywords.add("key_cache_size");
|
||||
obsoleteKeywords.add("row_cache_save_period_in_seconds");
|
||||
obsoleteKeywords.add("key_cache_save_period_in_seconds");
|
||||
obsoleteKeywords.add("memtable_throughput_in_mb");
|
||||
obsoleteKeywords.add("memtable_operations_in_millions");
|
||||
obsoleteKeywords.add("memtable_flush_after_mins");
|
||||
obsoleteKeywords.add("row_cache_provider");
|
||||
obsoleteKeywords.add("comparator");
|
||||
obsoleteKeywords.add("default_validation");
|
||||
|
||||
allowedKeywords.addAll(keywords);
|
||||
allowedKeywords.addAll(obsoleteKeywords);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue