Page 1 of 1

Update not working for private relvar

Posted: Mon Jul 04, 2011 5:50 pm
by Blake
// This works when executed in the DBrowser
var ok real relation { a integer, b integer } init (relation {tuple { a 1, b 1 }}) key { a };

update ok where a = 1 ( b := 2 );

// This doesn't

var notok private relation { a integer, b integer } init (relation {tuple { a 1, b 1 }}) key { a };

update notok where a = 1 ( b := 2 );

Re: Update not working for private relvar

Posted: Tue Jul 05, 2011 7:40 pm
by Dave
Nice catch! The problem applies to DELETE notok ... as well.

I've put this on my "to do" list, to be fixed in the next update.

Re: Update not working for private relvar

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.

Re: Update not working for private relvar

Posted: Wed Sep 21, 2011 11:57 pm
by Blake
Great.
I look forward to trying out the fix.

Re: Update not working for private relvar

Posted: Wed Oct 12, 2011 3:12 pm
by Dave
My apologies for the considerable delay. The 1.07 update will be available shortly.