Update of /cvsroot/monetdb/pathfinder/backends/monet5
In directory 23jxhf1.ch3.sourceforge.com:/tmp/cvs-serv27717

Added Files:
        xquery_shredder.mx 
Log Message:
This is the pathfinder/runtime/shredder.mx file copied "as-is" and renamed
pathfinder/backends/monet5/xquery_shredder.mx. The original file is tagged
with M42M5 to ease the merging process if needed.


--- NEW FILE: xquery_shredder.mx ---
@' Copyright Notice:
@' -----------------
@'
@' The contents of this file are subject to the Pathfinder Public License
@' Version 1.1 (the "License"); you may not use this file except in
@' compliance with the License.  You may obtain a copy of the License at
@' http://monetdb.cwi.nl/Legal/PathfinderLicense-1.1.html
@'
@' Software distributed under the License is distributed on an "AS IS"
@' basis, WITHOUT WARRANTY OF ANY KIND, either express or implied.  See
@' the License for the specific language governing rights and limitations
@' under the License.
@'
@' The Original Code is the Pathfinder system.
@'
@' The Original Code has initially been developed by the Database &
@' Information Systems Group at the University of Konstanz, Germany and
@' the Database Group at the Technische Universitaet Muenchen, Germany.
@' It is now maintained by the Database Systems Group at the Eberhard
[...2074 lines suppressed...]
             lock *collLock,
             bit *verbose)
{
    assert(percentage);
    return shred(docBAT, NULL, buffer, NULL, *percentage, NULL, NULL, 
(*verbose==TRUE)?NULL:collLock);
}

int
CMDshred_stream(BAT *docBAT, 
                Stream *fp,
                lng *percentage,
                lock *collLock,
                bit *verbose)
{
    stream *s = (stream*) ((fp && *(ptr*) fp != ptr_nil)?*fp:NULL);
    assert(percentage);
    return shred(docBAT, NULL, NULL, s, *percentage, NULL, NULL, 
(*verbose==TRUE)?NULL:collLock);
}
@c
/* vim:set shiftwidth=4 expandtab: */


------------------------------------------------------------------------------
This SF.net email is sponsored by:
High Quality Requirements in a Collaborative Environment.
Download a free trial of Rational Requirements Composer Now!
http://p.sf.net/sfu/www-ibm-com
_______________________________________________
Monetdb-pf-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/monetdb-pf-checkins

Reply via email to