Update not working for private relvar

This forum is to report technical problems with Rel.
Post Reply
Blake
Posts:9
Joined:Tue Jun 07, 2011 9:08 pm
Update not working for private relvar

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

// 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 );

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

Re: Update not working for private relvar

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

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.

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

Re: Update not working for private relvar

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.

Blake
Posts:9
Joined:Tue Jun 07, 2011 9:08 pm

Re: Update not working for private relvar

Post by Blake » Wed Sep 21, 2011 11:57 pm

Great.
I look forward to trying out the fix.

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

Re: Update not working for private relvar

Post by Dave » Wed Oct 12, 2011 3:12 pm

My apologies for the considerable delay. The 1.07 update will be available shortly.

Post Reply