Skip to content

Commit

Permalink
Tweak impl
Browse files Browse the repository at this point in the history
Signed-off-by: Morgan Douglas <[email protected]>
  • Loading branch information
morgando committed Jan 16, 2025
1 parent 644dafb commit 4e36970
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions schemachange/sc_logic.h
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,9 @@ int verify_new_temp_sc_db(struct dbtable *p_db, struct dbtable *p_newdb, tran_ty
/*
* Verifies constraints that refer to `target_db`.
*
* `is_updated` should be 1 if `target_db` refers to the new btree for
* an existing table.
*
* Logs each failure and returns the number of failed verifications.
*/
int verify_constraints_to_and_from_dbtable(struct dbtable *target_db,
Expand All @@ -41,6 +44,9 @@ int verify_constraints_to_and_from_dbtable(struct dbtable *target_db,
/*
* Verifies constraints that originate from `source_db`
*
* `is_updated` should be 1 if `source_db` refers to the new btree for
* an existing table.
*
* Logs each failure and returns the number of failed verifications.
*/
int verify_constraints_from_dbtable(struct dbtable *source_db,
Expand Down

0 comments on commit 4e36970

Please sign in to comment.