Search found 371 matches

by Dave
Tue Mar 24, 2009 1:31 pm
Forum: Report a Bug
Topic: MAX of empty set causes internal error (sometimes)
Replies: 2
Views: 5433

Re: MAX of empty set causes internal error (sometimes)

It's a bug in the mechanism that's supposed to generate an error message for MAX, MIN, UNION, D_UNION, and INTERSECT when performed on relations of cardinality zero. Instead of "ERROR: null" or an internal error, it's supposed to print: max (relation {x integer} {}, x) ERROR: Result of MAX...
by Dave
Sun Nov 30, 2008 10:38 pm
Forum: Discussion
Topic: Share with Mercurial, Maybe then I can I help?
Replies: 1
Views: 8663

Re: Share with Mercurial, Maybe then I can I help?

How about sharing the code using a Mercurial (http://www.selenic.com/mercurial/wiki/) so that anyone (like me :wink:) can play with it, and if you like what I do, I can easily contribute it back to you? I could help only with simple stuff since I do not know much of the codebase, and sometimes my d...
by Dave
Fri Nov 07, 2008 1:13 am
Forum: FAQ
Topic: Sourcecode availability?
Replies: 3
Views: 15236

Re: Sourcecode availability?

How about a subversion host like Google Code? Maybe this has already been set up somewhere? I'm currently running an SVN repository on one of my Internet-accessible servers, which I open up to developers on an as-needed basis. I am considering using a public repository but in the past have been les...
by Dave
Tue Nov 04, 2008 1:07 am
Forum: Getting Started
Topic: Button1, and depressing thoughts about complexity,elegance
Replies: 2
Views: 11474

Re: Button1, and depressing thoughts about complexity,elegance

As simplistic answer -- offered to spur further discussion rather than provide a definitive solution -- is that there is nothing, to my mind, that precludes providing "conventional" object-oriented constructs like classes, objects, inheritance and polymorphism strictly as a facility for or...
by Dave
Tue Nov 04, 2008 12:56 am
Forum: Getting Started
Topic: Organize code into a procedure
Replies: 2
Views: 10406

Re: Organize code into a procedure

Tutorial D (and, hence, Rel ) define OPERATORs, which behave like procedures and functions in other imperative programming languages. For example, one could define a simple procedure as follows: OPERATOR blah (x INTEGER, y INTEGER); BEGIN; WRITELN "blah"; WRITELN x + y; END; END OPERATOR; ...
by Dave
Mon Oct 27, 2008 7:22 pm
Forum: Rel Web Site
Topic: Examples section
Replies: 2
Views: 9636

Re: Examples section

There's a "Rel Examples" section on this forum. I'll add some more examples as time permits, and although "sucks hairy bottom" :shock: is not quite the phrase I would use to describe SQL, I appreciate your point.
by Dave
Tue Oct 21, 2008 9:49 pm
Forum: Rel's "DBrowser": The Rel Graphical User Interface
Topic: chosen font not activated at startup
Replies: 1
Views: 9118

Re: chosen font not activated at startup

I change the point size to 24 for lecture-room demos, but next time I start up Dbrowser I have to do Tools/Options/Save to get the selected font to show in the lower pane (even though the menu does show the point size to have been remembered). I'll fix this in the next update. I note that changing ...
by Dave
Tue Oct 21, 2008 9:41 pm
Forum: Report a Bug
Topic: ctrl-tab in Dbrowser causes crash
Replies: 2
Views: 5537

Re: ctrl-tab in Dbrowser causes crash

I've fixed this; it'll be corrected in the next update.
by Dave
Mon Oct 20, 2008 9:39 pm
Forum: Report a Bug
Topic: internal error on invalid attribute reference in SUMMARIZE
Replies: 2
Views: 6020

Re: internal error on invalid attribute reference in SUMMARIZE

Oops. That's supposed to produce a user-friendly error message. It will be fixed in the next update.
by Dave
Thu Oct 16, 2008 1:58 am
Forum: Announcements
Topic: Rel version 0.3.13 Alpha now available
Replies: 0
Views: 26525

Rel version 0.3.13 Alpha now available

This version of Rel fixes some bugs and provides several enhancements. First, the fixes: - In some cases, an expression that used the result of one WHERE operator as input to another WHERE operator would generate bogus results or throw an exception. This has been corrected. - JOINing relations with ...
by Dave
Thu Oct 16, 2008 1:25 am
Forum: Report a Bug
Topic: relation comparison in WHERE clause gives wrong result
Replies: 4
Views: 7772

Re: relation comparison in WHERE clause gives wrong result

Oddly, this bug appears to be related to the "Complex rel exp causes exception" bug described at http://shark.armchair.mb.ca/~dave/relforum/viewtopic.php?f=2&t=104. I've fixed the other bugs noted on September 26th and on October 6th, but these two are proving difficult. Both seem to ...
by Dave
Wed Oct 15, 2008 1:58 am
Forum: Report a Bug
Topic: relation comparison in WHERE clause gives wrong result
Replies: 4
Views: 7772

Re: relation comparison in WHERE clause gives wrong result

Oddly, this bug appears to be related to the "Complex rel exp causes exception" bug described at http://shark.armchair.mb.ca/~dave/relforum/viewtopic.php?f=2&t=104. I've fixed the other bugs noted on September 26th and on October 6th, but these two are proving difficult. Both seem to d...
by Dave
Tue Oct 14, 2008 3:03 pm
Forum: Report a Bug
Topic: Strange info message after failed INSERT
Replies: 3
Views: 6934

Re: Strange info message after failed INSERT

Since I posted this one I've discovered that when an insert fails because of a mistake that gives rise to a constraint violation, and you then correct that mistake, the second insert reports twice as many tuples as it should have. It appears to have counted the ones on the failed insert as well as ...
by Dave
Tue Oct 07, 2008 7:34 pm
Forum: Report a Bug
Topic: relation comparison in WHERE clause gives wrong result
Replies: 4
Views: 7772

Re: relation comparison in WHERE clause gives wrong result

I should be able to fix this for the next update.
by Dave
Tue Oct 07, 2008 7:34 pm
Forum: Report a Bug
Topic: join on RVA causes run-time exception
Replies: 1
Views: 5624

Re: join on RVA causes run-time exception

I'll fix this in the next update.