Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
StrikeW committed May 27, 2024
1 parent 360a5ff commit d7ce5d0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/frontend/src/handler/create_table.rs
Original file line number Diff line number Diff line change
Expand Up @@ -743,7 +743,7 @@ pub(crate) fn gen_create_table_plan_for_cdc_source(
with_version_column: Option<String>,
include_column_options: IncludeOption,
) -> Result<(PlanRef, PbTable)> {
if constraints.iter().any(|c| {
if !constraints.iter().any(|c| {
matches!(
c,
TableConstraint::Unique {
Expand Down

0 comments on commit d7ce5d0

Please sign in to comment.