Re: [Monetdb-developers] [Monetdb-checkins] MonetDB5/conf monetdb5.conf.in, 1.11, 1.12
Another M4 -> M5 "incompatibility" that should be documented properly in the M4 -> M5 transition documentation: ` While with M4, "mapi_open=true"/"mapi_open=false" works fine, M5 (seems to) require(s) "mapi_open=1"/"mapi_open=0". ` Stefan On Sun, May 27, 2007 at 05:27:33PM +, Martin Kersten wrote: > Update of /cvsroot/monetdb/MonetDB5/conf > In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv31984 > > Modified Files: > monetdb5.conf.in > Log Message: > Use the proper values for mapi_open > > > Index: monetdb5.conf.in > === > RCS file: /cvsroot/monetdb/MonetDB5/conf/monetdb5.conf.in,v > retrieving revision 1.11 > retrieving revision 1.12 > diff -u -d -r1.11 -r1.12 > --- monetdb5.conf.in 17 May 2007 09:51:09 - 1.11 > +++ monetdb5.conf.in 27 May 2007 17:27:31 - 1.12 > @@ -126,7 +126,7 @@ > # Monet Application Interface Section > # > mapi_port=0 #default port to address a mserver > -mapi_open=false #should be set to 'true' to allow for > +mapi_open=0 #should be set to '1' to allow for > #remote access to a server > > # SQL Interface Section > > > - > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > ___ > Monetdb-checkins mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/monetdb-checkins -- | Dr. Stefan Manegold | mailto:[EMAIL PROTECTED] | | CWI, P.O.Box 94079 | http://www.cwi.nl/~manegold/ | | 1090 GB Amsterdam | Tel.: +31 (20) 592-4212 | | The Netherlands | Fax : +31 (20) 592-4312 | - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Monetdb-developers mailing list Monetdb-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/monetdb-developers
Re: [Monetdb-developers] [Monetdb-pf-checkins] pathfinder/modules/pftijah pftijah.mx, 1.123, 1.124
On Tue, May 29, 2007 at 12:20:21PM +, Jan Flokstra wrote: > Update of /cvsroot/monetdb/pathfinder/modules/pftijah > In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv10231 > > Modified Files: > pftijah.mx > Log Message: > - try to repair pftijah "testcoll2" bug on 64bit archs > > > > Index: pftijah.mx > === > RCS file: /cvsroot/monetdb/pathfinder/modules/pftijah/pftijah.mx,v > retrieving revision 1.123 > retrieving revision 1.124 > diff -u -d -r1.123 -r1.124 > --- pftijah.mx25 May 2007 12:34:24 - 1.123 > +++ pftijah.mx29 May 2007 12:20:18 - 1.124 > @@ -3267,15 +3267,16 @@ > return GDK_FAIL; > } > > - doc_start = *(oid*)BUNtail(doc_firstpre,r); > - oid tj_nextIndex = tj_docIndex + 1; > + // 64bit ERROR?? doc_start = *(oid*)BUNtail(doc_firstpre,r); ^ No, a bug in the code: BAT doc_firstpre is [oid,int]., i.e., its tail is int, not oid, and int != oid; pathfinder/modules/pftijah/pftijah.mx-73-.COMMAND pf2tijah_node( pathfinder/modules/pftijah/pftijah.mx-74- BAT[oid,str] doc_name, pathfinder/modules/pftijah/pftijah.mx:75: BAT[oid,int] doc_firstpre, ^ pathfinder/modules/pftijah/pftijah.mx-76- BAT[oid,oid] pfpre, pathfinder/modules/pftijah/pftijah.mx-77- BAT[oid,oid] item, pathfinder/modules/pftijah/pftijah.mx-78- BAT[oid,int] kind, pathfinder/modules/pftijah/pftijah.mx-79- BAT[oid,str] doc_loaded) pathfinder/modules/pftijah/pftijah.mx-80- : BAT[void,oid] = CMDpf2tijah_node; pathfinder/modules/pftijah/pftijah.mx-81- "Translate Pathfinder node sequence to tijah node sequence" hence, to access the tail in C, you (obviously!) need to use int doc_start = *(int*) BUNtail(doc_firstpre,r); ^^^ ^^^ if (for what ever reason) doc_start needs to be of type oid instead of int, you need to use oid doc_start = (oid) *(int*) BUNtail(doc_firstpre,r); ^^^ ^^^^^^ (as you do below); in fact, you should first check, whether the respective tail value of doc_firstpre is not negative, before you caat it to oid! > + doc_start = (oid)*(int*)BUNtail(doc_firstpre,r); > + oid tj_nextIndex = tj_docIndex + (oid)1; > if ( BATcount(doc_firstpre) > tj_nextIndex ) { > r = BUNfnd(doc_firstpre,&tj_nextIndex); > if ( !r ) { > stream_printf(GDKout,"Cannot do range for > tijah-firstpre @ %d.\n",tj_docIndex); > return GDK_FAIL; > } > - doc_end = *(oid*)BUNtail(doc_firstpre,r) - 1; > + doc_end = *(oid*)BUNtail(doc_firstpre,r) - (oid)1; NOPE! either int doc_end = *(int*) BUNtail(doc_firstpre,r) - 1; or oid doc_end = (oid) (*(int*) BUNtail(doc_firstpre,r) - 1); plus a check, whether *(int*) BUNtail(doc_firstpre,r) is > 0 ! Stefan > } else { > doc_end = oid_nil; > } > > > - > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > ___ > Monetdb-pf-checkins mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/monetdb-pf-checkins > > -- | Dr. Stefan Manegold | mailto:[EMAIL PROTECTED] | | CWI, P.O.Box 94079 | http://www.cwi.nl/~manegold/ | | 1090 GB Amsterdam | Tel.: +31 (20) 592-4212 | | The Netherlands | Fax : +31 (20) 592-4312 | - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Monetdb-developers mailing list Monetdb-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/monetdb-developers
Re: [Monetdb-developers] [Monetdb-pf-checkins] pathfinder/modules/pftijah pftijah.mx, 1.123, 1.124
On Tuesday 29 May 2007 15:38, Stefan Manegold wrote: > On Tue, May 29, 2007 at 12:20:21PM +, Jan Flokstra wrote: > > Update of /cvsroot/monetdb/pathfinder/modules/pftijah > > In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv10231 > > > > Modified Files: > > pftijah.mx > > Log Message: > > - try to repair pftijah "testcoll2" bug on 64bit archs > > > > > > > > Index: pftijah.mx > > === > > RCS file: /cvsroot/monetdb/pathfinder/modules/pftijah/pftijah.mx,v > > retrieving revision 1.123 > > retrieving revision 1.124 > > diff -u -d -r1.123 -r1.124 > > --- pftijah.mx 25 May 2007 12:34:24 - 1.123 > > +++ pftijah.mx 29 May 2007 12:20:18 - 1.124 > > @@ -3267,15 +3267,16 @@ > > return GDK_FAIL; > > } > > > > - doc_start = *(oid*)BUNtail(doc_firstpre,r); > > - oid tj_nextIndex = tj_docIndex + 1; > > + // 64bit ERROR?? doc_start = > > *(oid*)BUNtail(doc_firstpre,r); > >^ > No, a bug in the code: > BAT doc_firstpre is [oid,int]., i.e., its tail is int, not oid, and int != > oid; We were aware of this tail type and that's why we created the cast. Henning was a bit hesitant to change the bat type to [oid,oid] because he expected problems with '<' and '>' so we decided to create the extra cast. The value can never be negative so we never checked for this. We could make it an assert(); Furthermore the text //64bit ERROR was to remind us of our own error on 64bit oid arch's and not an error of monetdb. JanF. > pathfinder/modules/pftijah/pftijah.mx-73-.COMMAND pf2tijah_node( > pathfinder/modules/pftijah/pftijah.mx-74- BAT[oid,str] > doc_name, pathfinder/modules/pftijah/pftijah.mx:75: > BAT[oid,int] doc_firstpre, ^ > pathfinder/modules/pftijah/pftijah.mx-76- BAT[oid,oid] > pfpre, pathfinder/modules/pftijah/pftijah.mx-77- > BAT[oid,oid] item, pathfinder/modules/pftijah/pftijah.mx-78- > BAT[oid,int] kind, pathfinder/modules/pftijah/pftijah.mx-79- > BAT[oid,str] doc_loaded) > pathfinder/modules/pftijah/pftijah.mx-80- : > BAT[void,oid] = CMDpf2tijah_node; pathfinder/modules/pftijah/pftijah.mx-81- > "Translate Pathfinder node sequence to tijah node sequence" > hence, to access the tail in C, you (obviously!) need to use > int doc_start = *(int*) BUNtail(doc_firstpre,r); > ^^^ ^^^ > if (for what ever reason) doc_start needs to be of type oid instead of int, > you need to use oid doc_start = (oid) *(int*) BUNtail(doc_firstpre,r); > ^^^ ^^^^^^ > (as you do below); > in fact, you should first check, whether the respective tail value of > doc_firstpre is not negative, before you caat it to oid! > > > + doc_start = (oid)*(int*)BUNtail(doc_firstpre,r); > > + oid tj_nextIndex = tj_docIndex + (oid)1; > > if ( BATcount(doc_firstpre) > tj_nextIndex ) { > > r = BUNfnd(doc_firstpre,&tj_nextIndex); > > if ( !r ) { > > stream_printf(GDKout,"Cannot do range for > > tijah-firstpre @ %d.\n",tj_docIndex); return GDK_FAIL; > > } > > - doc_end = *(oid*)BUNtail(doc_firstpre,r) - 1; > > + doc_end = *(oid*)BUNtail(doc_firstpre,r) - (oid)1; > > NOPE! > either > int doc_end = *(int*) BUNtail(doc_firstpre,r) - 1; > or > oid doc_end = (oid) (*(int*) BUNtail(doc_firstpre,r) - 1); > plus a check, whether *(int*) BUNtail(doc_firstpre,r) is > 0 ! > > > Stefan > > > } else { > > doc_end = oid_nil; > > } > > > > > > - > > This SF.net email is sponsored by DB2 Express > > Download DB2 Express C - the FREE version of DB2 express and take > > control of your XML. No limits. Just data. Click to get it now. > > http://sourceforge.net/powerbar/db2/ > > ___ > > Monetdb-pf-checkins mailing list > > [EMAIL PROTECTED] > > https://lists.sourceforge.net/lists/listinfo/monetdb-pf-checkins - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Monetdb-developers mailing list Monetdb-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/monetdb-developers
Re: [Monetdb-developers] [Monetdb-pf-checkins] pathfinder/modules/pftijah pftijah.mx, 1.123, 1.124
On Tue, May 29, 2007 at 04:09:27PM +0200, Jan Flokstra wrote: [...] > We were aware of this tail type and that's why we created the cast. Henning > was a bit hesitant to change the bat type to [oid,oid] because he expected > problems with '<' and '>' so we decided to create the extra cast. What kind of problems do you mean? Clean and proper use of types should prevent such problems; "arbitrary" casting calls for such (and other) problems. Hence, choose the proper types at all places, and cast as little as possible. (just my humble advice) Stefan > The value can never be negative so we never checked for this. We could > make it an assert(); > Furthermore the text //64bit ERROR was to remind us of our own error on > 64bit > oid arch's and not an error of monetdb. > > JanF. [...] -- | Dr. Stefan Manegold | mailto:[EMAIL PROTECTED] | | CWI, P.O.Box 94079 | http://www.cwi.nl/~manegold/ | | 1090 GB Amsterdam | Tel.: +31 (20) 592-4212 | | The Netherlands | Fax : +31 (20) 592-4312 | - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Monetdb-developers mailing list Monetdb-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/monetdb-developers
[Monetdb-developers] MonetDB Release Preparation
Dear fellow MonetDB developers/users, we plan to have a new release of the MonetDB software family within the next two weeks, i.e., Feature Freeze: Friday Jun 01 2007 Release:Monday Jun 11 2007 This release cycle is used to reduce the component dependencies, such that we are better prepared to release individual components more frequently. A synopsis of what to expect: MonetDB 5 beta status is dropped and it becomes the sole back-end for the SQL front-end. SQL now supports Persistent Stored Modules. XQuery Update Facility has undergone a large series of stress tests to improve correctness, performance and robustness against concurrent updates. Many bug-fixes based on highly appreciated feedback from our user community. The priorities set for post-release actions as agreed upon by the development team are: shortterm:(summer) SQL GIS geometry model testing and release SQL/XML support development and release PF/SQL exploration (research focus) Skyserver demo website (target 2.7TB online demo) midterm: (fall) Remote SQL execution in a cluster setting SQL adaptive partitioning of large databases XQuery Algebra -> MIL compiler Date/time support in XQuery MonetDB Private BATs policy (kernel modification) lngterm: (fall/spring) XQuery Algebra -> MAL compiler public release of StreetTivo for collaborative media analysis Of course, as always, progress in each of these areas depend on availability of resources and their contribution to our research agenda. We are looking forward to messages from projects based on/exploitation of the MonetDB platform. We plan to add a section in the website to make this work more broadly visible. regards, Martin - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Monetdb-developers mailing list Monetdb-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/monetdb-developers