Skip to content

Commit

Permalink
[CBRD-24252] Removes the table of the primary key from the join with …
Browse files Browse the repository at this point in the history
…the table with the foreign key referencing it. (#3838)

http://jira.cubrid.org/browse/CBRD-24252

A table with a primary key is removed from a join with a table with a foreign key that references the primary key. There must be no references to the table to be removed other than join predicates. This is because the relationship between a primary key and a foreign key replaces a data filter of a join. If a table with a primary key is removed, a predicate for IS NOT NULL may be added, as it cannot filter on NULL.
  • Loading branch information
youngjinj authored Feb 3, 2023
1 parent 3d20edf commit d93f4b1
Show file tree
Hide file tree
Showing 6 changed files with 995 additions and 13 deletions.
7 changes: 7 additions & 0 deletions src/base/error_manager.h
Original file line number Diff line number Diff line change
Expand Up @@ -173,6 +173,13 @@
} \
while (0)

#define ERROR_SET_ERROR_ONLY(code) \
do \
{ \
er_set (ER_ERROR_SEVERITY, ARG_FILE_LINE, (code), 0); \
} \
while (0)

/*
* custom assert macro for release mode
*/
Expand Down
Loading

0 comments on commit d93f4b1

Please sign in to comment.