forked from scylladb/scylladb
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
schema_builder: calculate is_dense from the schema builder
We currently have code to calculate "is_dense" in the create statement handler. That obviously don't work for the system schemas, which are not defined this way. Since all of our schemas now have to pass through the schema_builder one way or another, that is the best place in which to do that calculation. Note that unfortunately, that does not mean we can just get rid of set_is_dense() in the schema builder: we still need to set it in some situations, where for instance, we read that property in schema_columnfamilies, and then apply to the relevant CF. Those uses are, however, all internal to legacy_schema_tables.cc Signed-off-by: Glauber Costa <glommer@cloudius-systems.com>
- Loading branch information
Showing
4 changed files
with
13 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters