Skip to content

Conversation

@mpenick
Copy link
Contributor

@mpenick mpenick commented Feb 14, 2020

No description provided.


private:
size_t index_mask_;
size_t count_;
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Unused variable. Unrelated.

return true;
}

bool is_valid_lower_cql_id(const String& str) {
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This was implemented incorrectly.


String& escape_id(String& str) { return is_valid_lower_cql_id(str) ? str : quote_id(str); }

String& to_cql_id(String& str) {
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

to_cql_id() was dead code.

@mpenick mpenick requested a review from mikefero February 14, 2020 18:53
Copy link
Contributor

@mikefero mikefero left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

+1

Comment on lines +29 to +33
virtual std::string default_keyspace() {
std::string temp(Integration::default_keyspace());
temp[0] = std::toupper(temp[0]);
return "\"" + temp + "\"";
}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Smart!

@mpenick mpenick merged commit dbea8c5 into master Feb 14, 2020
@mikefero mikefero deleted the CPP-747 branch March 17, 2020 19:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants