Search found 371 matches

by Dave
Tue Oct 07, 2008 7:32 pm
Forum: Report a Bug
Topic: Missing quote gives rise to slew of messages
Replies: 1
Views: 4773

Re: Missing quote gives rise to slew of messages

This will be fixed in the next update.
by Dave
Tue Oct 07, 2008 7:29 pm
Forum: Report a Bug
Topic: Strange info message after failed INSERT
Replies: 3
Views: 6935

Re: Strange info message after failed INSERT

I'll fix this in the next update.
by Dave
Tue Oct 07, 2008 7:27 pm
Forum: Report a Bug
Topic: Complex rel exp causes exception
Replies: 1
Views: 5369

Re: Complex rel exp causes exception

In digging into this one, I've noticed the following also causes a similar exception:

Code: Select all

S WHERE ( ( SP WHERE S# = CITY ) = SP )
I should have this fixed in the next release.
by Dave
Tue Sep 23, 2008 8:23 pm
Forum: Discussion
Topic: Tutorial D INIT clause still not supported on base relvars
Replies: 1
Views: 8603

Re: Tutorial D INIT clause still not supported on base relvars

The Tutorial D grammar specifies that a <real relation var def> ::= VAR <relation var name> <real or base> <relation type or init value> <candidate key def>. Therefore, the above should be: VAR S BASE RELATION { S# CHAR, Sname CHAR, Status INTEGER, City CHAR} INIT ( RELATION { TUPLE { S# 'S1', Sname...
by Dave
Sun Aug 24, 2008 8:36 pm
Forum: Rel JDBC
Topic: Rel needs a JDBC driver
Replies: 10
Views: 56381

Re: Rel needs a JDBC driver

There are no undue expectations. As little or as much as you're willing to contribute will be very much appreciated. Once you get started, let me know and I'll set you up write access to the Rel SVN repository.
by Dave
Sun Aug 24, 2008 12:15 am
Forum: Rel JDBC
Topic: Rel needs a JDBC driver
Replies: 10
Views: 56381

Re: Rel needs a JDBC driver

I'd be interested in implementing the needed driver. I love the fact that Rel relies on the Java 6 platform. We could use all the new Java language additions (since 1.5), Concurrency utilities and NIO. Do you have a rough estimate of the effort needed? Excellent! I have no idea of the effort needed...
by Dave
Sat Aug 23, 2008 12:15 am
Forum: Rel Examples
Topic: Testing strings for numeric
Replies: 4
Views: 13168

Re: Testing strings for numeric

Hugh,

I just tried your is_num() operator on a Linux machine and a Windows XP machine, and it wasn't noticeably slow. How long would you estimate it takes to evaluate is_num('123') on your system?
by Dave
Thu Aug 21, 2008 2:08 pm
Forum: Rel Examples
Topic: Testing strings for numeric
Replies: 4
Views: 13168

Re: Testing strings for numeric

I'm not surprised your is_num operator is slow. The changes I made to improve the performance of JOINs on relatively high cardinality relations have caused a loss of performance on low cardinality relations. It's something I'll have to address in the future. In the mean time, I have added the follow...
by Dave
Wed Aug 20, 2008 8:50 pm
Forum: Report a Bug
Topic: Strange error messages
Replies: 2
Views: 6149

Re: Strange error messages

The Rel parser is generated by the JavaCC parser generator (https://javacc.dev.java.net/). I'm using the beta 4.1 version, because it fixes some bugs in the previous versions. Unfortunately, it also changes the parse error messages. Previously, upon encountering a parse error, it would just print th...
by Dave
Sat Aug 16, 2008 4:40 pm
Forum: Rel Examples
Topic: How about a LENGTH operator?
Replies: 1
Views: 11143

Re: How about a LENGTH operator?

In versions of Rel prior to 0.3.x, LENGTH was a built-in operator. I forgot to include it in OperatorsChar.d when I released the 0.3.x series. It will be available in the next update (0.3.13), but for now, here's what it should have been: OPERATOR LENGTH(s CHAR) RETURNS INTEGER Java FOREIGN return n...
by Dave
Sat Aug 16, 2008 12:02 pm
Forum: Rel's "DBrowser": The Rel Graphical User Interface
Topic: Display of character stirng results
Replies: 1
Views: 8129

Re: Display of character stirng results

Yes, output of strings is certainly inconsistent with other types. This harks back to the time when OUTPUT was the sole output mechanism, so strings needed to be stripped of their delimiters so the old backup script would work. It's easy to change (I have to change a '0' to a '1' in one place!), so ...
by Dave
Mon Aug 04, 2008 12:12 am
Forum: Announcements
Topic: Rel version 0.3.12 Alpha now available
Replies: 0
Views: 26257

Rel version 0.3.12 Alpha now available

This version of Rel includes some significant changes to ORDER and FOR. Previously, ORDER was a relational operator that returned tuples in a specified order, and FOR iterated over the tuples of a relation. Now, ORDER is an array operator that accepts a relation and returns a dynamically-created ARR...
by Dave
Sun Aug 03, 2008 11:10 pm
Forum: Report a Bug
Topic: V2 features apparently no longer supported
Replies: 4
Views: 8246

Re: V2 features apparently no longer supported

As a result of discussions on the TTM list and considerable thought about ORDER() and FOR, version 0.3.12 will incorporate some changes: ORDER() now returns an ARRAY instead of a "sorted" relation. FOR now iterates the tuples of an ARRAY instead of a relation. This involves no significant ...
by Dave
Fri Aug 01, 2008 5:28 pm
Forum: Announcements
Topic: Rel version 0.3.11 Alpha now available
Replies: 0
Views: 27626

Rel version 0.3.11 Alpha now available

This version of Rel includes bug fixes and enhancements, primarily focusing on the Rel DBMS. The following bugs have been fixed in Rel: 1. Assigning a relvar to itself (e.g., myrelvar := myrelvar) could result in the Rel session becoming non-responsive. This has been corrected. 2. Under certain cond...
by Dave
Wed Jul 30, 2008 1:04 am
Forum: Rel's "DBrowser": The Rel Graphical User Interface
Topic: Backup in 0.3.9 on Windows Vista uses invalid filename
Replies: 3
Views: 11439

Re: Backup in 0.3.9 on Windows Vista uses invalid filename

I have fixed this in version 0.3.10. I've also added more error-detection mechanisms to the backup process, so hopefully it won't appear to generate a backup without generating a backup -- at least, not without throwing an error message.