Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions db/osqlcomm.c
Original file line number Diff line number Diff line change
Expand Up @@ -6121,7 +6121,7 @@ static int start_schema_change_tran_wrapper(const char *tblname,
iq->osql_flags |= OSQL_FLAGS_SCDONE;
else {
/* potential downgrade during the last shard processing */
iq->osql_flags ^= OSQL_FLAGS_SCDONE;
iq->osql_flags &= ~OSQL_FLAGS_SCDONE;
}
}
} else {
Expand Down Expand Up @@ -6255,7 +6255,7 @@ static int start_schema_change_tran_wrapper_merge(const char *tblname,
iq->osql_flags |= OSQL_FLAGS_SCDONE;
else {
/* potential downgrade during the last shard processing */
iq->osql_flags ^= OSQL_FLAGS_SCDONE;
iq->osql_flags &= ~OSQL_FLAGS_SCDONE;
}
}
return rc;
Expand Down Expand Up @@ -6291,7 +6291,7 @@ static int _process_single_table_sc_merge(struct ireq *iq)
iq->osql_flags |= OSQL_FLAGS_SCDONE;
else {
/* potential downgrade during the last shard processing */
iq->osql_flags ^= OSQL_FLAGS_SCDONE;
iq->osql_flags &= ~OSQL_FLAGS_SCDONE;
}
return ERR_SC;
}
Expand Down Expand Up @@ -6359,7 +6359,7 @@ static int _process_partitioned_table_merge(struct ireq *iq)
if (rc != SC_MASTER_DOWNGRADE)
iq->osql_flags |= OSQL_FLAGS_SCDONE;
else
iq->osql_flags ^= OSQL_FLAGS_SCDONE;
iq->osql_flags &= ~OSQL_FLAGS_SCDONE;
return ERR_SC;
}

Expand All @@ -6380,7 +6380,7 @@ static int _process_partitioned_table_merge(struct ireq *iq)
if (rc != SC_MASTER_DOWNGRADE)
iq->osql_flags |= OSQL_FLAGS_SCDONE;
else
iq->osql_flags ^= OSQL_FLAGS_SCDONE;
iq->osql_flags &= ~OSQL_FLAGS_SCDONE;
return ERR_SC;
}

Expand Down Expand Up @@ -6649,7 +6649,7 @@ static int _process_single_table_sc_partitioning(struct ireq *iq)
if (rc != SC_MASTER_DOWNGRADE)
iq->osql_flags |= OSQL_FLAGS_SCDONE;
else
iq->osql_flags ^= OSQL_FLAGS_SCDONE;
iq->osql_flags &= ~OSQL_FLAGS_SCDONE;
}
}
}
Expand Down
Loading