Commit 01be9d4
committed
Fix operator typo in tablecmds.c
A bitwise operator was getting used on two bools in
ATAddCheckConstraint() to track if constraints should be merged or not
with the existing ones of a relation, though obviously this should use
a boolean OR operator. This led to the same result, but let's be
clean.
Oversight in 074c5cf.
Author: Ranier Vilela
Reviewed-by: Justin Pryzby
Discussion: https://postgr.es/m/CAEudQAp2R2fbbi0OHHhv_n4=Ch0t1VtjObR9YMqtGKHJ+faUFQ@mail.gmail.com1 parent 439f617 commit 01be9d4
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8863 | 8863 | | |
8864 | 8864 | | |
8865 | 8865 | | |
8866 | | - | |
| 8866 | + | |
8867 | 8867 | | |
8868 | 8868 | | |
8869 | 8869 | | |
| |||
0 commit comments