Changeset: 7f1797644e24 for MonetDB
URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=7f1797644e24
Modified Files:
        sql/backends/monet5/bam/bamloader.c
Branch: DVframework_bam
Log Message:

Fixed some compiler errors. Code should now work as specified in the readme.


diffs (36 lines):

diff --git a/sql/backends/monet5/bam/bamloader.c 
b/sql/backends/monet5/bam/bamloader.c
--- a/sql/backends/monet5/bam/bamloader.c
+++ b/sql/backends/monet5/bam/bamloader.c
@@ -762,9 +762,9 @@ str process_bam_alignment(str filepath, 
 }
 
 static int 
-_parse_alignment_str(str *sam_alig, str *dest)
+parse_alignment_str(str *sam_alig, str *dest)
 {
-    if(_read_string_until_delim(sam_alig, dest, "\t\n\0", 3) > 0)
+    if(read_string_until_delim(sam_alig, dest, "\t\n\0", 3) > 0)
     {
         /* At this moment we're looking at either a tab or one of \n\0. We 
just want to skip tabs. \n or \0 however,
            indicate the end of this alignment, so we want to keep them. In 
case we didn't finish all mandatory fields
@@ -776,9 +776,9 @@ static int
 }
 
 static int 
-_parse_alignment_lng(str *sam_alig, lng *dest)
+parse_alignment_lng(str *sam_alig, lng *dest)
 {
-    if(_parse_lng(sam_alig, dest))
+    if(parse_lng(sam_alig, dest))
     {
         while(**sam_alig == '\t') (*sam_alig)++;
         return TRUE;
@@ -839,7 +839,7 @@ str append_to_bat(bat cb, ptr val)
     if ((aBAT = BATdescriptor(cb)) == NULL)
         throw(MAL, "append_to_bat", RUNTIME_OBJECT_MISSING);
     BUNappend(aBAT, val, FALSE);
-    BBPreleaseref(cb); /* What does this do? */
+    BBPreleaseref(cb);
     return MAL_SUCCEED;
 }
 
_______________________________________________
checkin-list mailing list
[email protected]
http://mail.monetdb.org/mailman/listinfo/checkin-list

Reply via email to