Updating relation attribute gives an error

This forum is to report technical problems with Rel.
Post Reply
Blake
Posts:9
Joined:Tue Jun 07, 2011 9:08 pm
Updating relation attribute gives an error

Post by Blake » Mon Jul 04, 2011 5:57 pm

var x real relation { a integer, b relation { c integer }} init ( relation {tuple {a 1, b relation {tuple {c 2}}}}) key {a};

var y private relation { c integer } init ( relation { tuple { c 88 }}) key {c};

update x where a = 1 ( b := y );


------
Executing the above with DBrowser gives error:
ca.mb.armchair.rel3.exceptions.ExceptionFatal: Table: update failed: java.io.NotSerializableException: ca.mb.armchair.rel3.storage.RelvarPrivateCell

Dave
Site Admin
Posts:368
Joined:Sun Nov 27, 2005 7:19 pm

Re: Updating relation attribute gives an error

Post by Dave » Tue Jul 05, 2011 7:54 pm

Another good catch. This will be fixed in the next update.

Dave
Site Admin
Posts:368
Joined:Sun Nov 27, 2005 7:19 pm

Re: Updating relation attribute gives an error

Post by Dave » Wed Jul 06, 2011 8:48 pm

This is now fixed, to be included in the next update in a few days.

Post Reply