Update of /cvsroot/monetdb/sql/src/storage/bat
In directory sc8-pr-cvs7.sourceforge.net:/tmp/cvs-serv22199
Modified Files:
Tag: SQL_2-16
bat_sequence.mx
Log Message:
Somebody didn't compile before checkin...
Index: bat_sequence.mx
===================================================================
RCS file: /cvsroot/monetdb/sql/src/storage/bat/bat_sequence.mx,v
retrieving revision 1.17.2.3
retrieving revision 1.17.2.4
diff -u -d -r1.17.2.3 -r1.17.2.4
--- bat_sequence.mx 13 Feb 2007 16:23:40 -0000 1.17.2.3
+++ bat_sequence.mx 13 Feb 2007 16:35:52 -0000 1.17.2.4
@@ -205,12 +205,12 @@
if (s->called)
*val += seq->increment;
/* handle min/max and cycle */
- if ((seq->maxvalue && val > seq->maxvalue) ||
- (seq->minvalue && val < seq->minvalue))
+ if ((seq->maxvalue && *val > seq->maxvalue) ||
+ (seq->minvalue && *val < seq->minvalue))
{
if (seq->cycle) {
/* cycle to the min value again */
- val = seq->minvalue;
+ *val = seq->minvalue;
} else { /* we're out of numbers */
store_unlock();
return(0);
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Monetdb-sql-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/monetdb-sql-checkins