Search found 371 matches
- Tue Oct 07, 2008 7:32 pm
- Forum: Report a Bug
- Topic: Missing quote gives rise to slew of messages
- Replies: 1
- Views: 4815
Re: Missing quote gives rise to slew of messages
This will be fixed in the next update.
- Tue Oct 07, 2008 7:29 pm
- Forum: Report a Bug
- Topic: Strange info message after failed INSERT
- Replies: 3
- Views: 6988
Re: Strange info message after failed INSERT
I'll fix this in the next update.
- Tue Oct 07, 2008 7:27 pm
- Forum: Report a Bug
- Topic: Complex rel exp causes exception
- Replies: 1
- Views: 5411
Re: Complex rel exp causes exception
In digging into this one, I've noticed the following also causes a similar exception:
I should have this fixed in the next release.
Code: Select all
S WHERE ( ( SP WHERE S# = CITY ) = SP )
- Tue Sep 23, 2008 8:23 pm
- Forum: Discussion
- Topic: Tutorial D INIT clause still not supported on base relvars
- Replies: 1
- Views: 9759
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...
- Sun Aug 24, 2008 8:36 pm
- Forum: Rel JDBC
- Topic: Rel needs a JDBC driver
- Replies: 10
- Views: 60997
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.
- Sun Aug 24, 2008 12:15 am
- Forum: Rel JDBC
- Topic: Rel needs a JDBC driver
- Replies: 10
- Views: 60997
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...
- Sat Aug 23, 2008 12:15 am
- Forum: Rel Examples
- Topic: Testing strings for numeric
- Replies: 4
- Views: 14414
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?
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?
- Thu Aug 21, 2008 2:08 pm
- Forum: Rel Examples
- Topic: Testing strings for numeric
- Replies: 4
- Views: 14414
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...
- Wed Aug 20, 2008 8:50 pm
- Forum: Report a Bug
- Topic: Strange error messages
- Replies: 2
- Views: 6197
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...
- Sat Aug 16, 2008 4:40 pm
- Forum: Rel Examples
- Topic: How about a LENGTH operator?
- Replies: 1
- Views: 12343
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...
- 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: 9257
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 ...
- Mon Aug 04, 2008 12:12 am
- Forum: Announcements
- Topic: Rel version 0.3.12 Alpha now available
- Replies: 0
- Views: 29378
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...
- Sun Aug 03, 2008 11:10 pm
- Forum: Report a Bug
- Topic: V2 features apparently no longer supported
- Replies: 4
- Views: 8298
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 ...
- Fri Aug 01, 2008 5:28 pm
- Forum: Announcements
- Topic: Rel version 0.3.11 Alpha now available
- Replies: 0
- Views: 30797
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...
- 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: 12635
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.