Changeset: f60a7e3d3767 for MonetDB
URL: https://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=f60a7e3d3767
Modified Files:
        sql/backends/monet5/rel_bin.c
Branch: default
Log Message:

Check types are equal for a primary-foreign key join on updates


diffs (12 lines):

diff --git a/sql/backends/monet5/rel_bin.c b/sql/backends/monet5/rel_bin.c
--- a/sql/backends/monet5/rel_bin.c
+++ b/sql/backends/monet5/rel_bin.c
@@ -4703,6 +4703,8 @@ join_updated_pkey(backend *be, sql_key *
                        nulls = 1;
                }
                col = stmt_col(be, fc->c, rows, rows->partition);
+               if (!upd || (upd = check_types(be, &fc->c->type, upd, 
type_equal)) == NULL)
+                       return NULL;
                list_append(lje, upd);
                list_append(rje, col);
        }
_______________________________________________
checkin-list mailing list
checkin-list@monetdb.org
https://www.monetdb.org/mailman/listinfo/checkin-list

Reply via email to