Skip to content

Commit

Permalink
data_dictionary: fix forgetting of UDTs on ALTER KEYSPACE
Browse files Browse the repository at this point in the history
Due to a simple programming oversight, one of keyspace_metadata
constructors is using empty user_types_metadata instead of the
passed one. Fix that.

Fixes #14139

Closes #14143
  • Loading branch information
michoecho authored and denesb committed Jun 6, 2023
1 parent 9ba610c commit 1a52117
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion data_dictionary/data_dictionary.cc
Expand Up @@ -216,7 +216,7 @@ keyspace_metadata::keyspace_metadata(std::string_view name,
std::move(strategy_options),
durable_writes,
std::move(cf_defs),
user_types_metadata{},
std::move(user_types),
storage_options{}) { }

keyspace_metadata::keyspace_metadata(std::string_view name,
Expand Down

0 comments on commit 1a52117

Please sign in to comment.