Commit Graph

4 Commits

Author SHA1 Message Date
Tomasz Grabiec
b7cf3a679d Convert ThriftValidation.validateColumnFamily(String,String)
Unlike origin, we don't use global singleton, but accept a database
reference instead.
2015-02-04 10:28:59 +01:00
Tomasz Grabiec
936587fa36 Extract code from validation.hh into .cc file 2015-02-04 10:28:59 +01:00
Tomasz Grabiec
a89ea75494 validation: Fix incorrect format specifier 2015-02-04 10:24:08 +01:00
Tomasz Grabiec
73a4ba8fd2 cql3: Add validation.hh
validate_cql_key() is based on validate_key() from ThriftValidation. I
didn't name it thrift_validation.hh though because it's meant to work
on CQL model, not thrift. For instance, it's using our
schema::partition_key_type, which is not thrift-compatible.
2015-01-29 19:40:07 +01:00