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 »

// 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: 372
Joined: Sun Nov 27, 2005 7:19 pm

Re: Update not working for private relvar

Post 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.
Dave
Site Admin
Posts: 372
Joined: Sun Nov 27, 2005 7:19 pm

Re: Update not working for private relvar

Post by Dave »

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 »

Great.
I look forward to trying out the fix.
Dave
Site Admin
Posts: 372
Joined: Sun Nov 27, 2005 7:19 pm

Re: Update not working for private relvar

Post by Dave »

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