Page 1 of 1

Updating relation attribute gives an error

Posted: Mon Jul 04, 2011 5:57 pm
by Blake
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

Re: Updating relation attribute gives an error

Posted: Tue Jul 05, 2011 7:54 pm
by Dave
Another good catch. This will be fixed in the next update.

Re: Updating relation attribute gives an error

Posted: Wed Jul 06, 2011 8:48 pm
by Dave
This is now fixed, to be included in the next update in a few days.