Update of /cvsroot/monetdb/MonetDB5/src/modules/mal
In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv19247/src/modules/mal

Modified Files:
        tablet.mx 
Log Message:
check for quotes only if we are not allready on the end of th



Index: tablet.mx
===================================================================
RCS file: /cvsroot/monetdb/MonetDB5/src/modules/mal/tablet.mx,v
retrieving revision 1.107
retrieving revision 1.108
diff -u -d -r1.107 -r1.108
--- tablet.mx   9 Dec 2007 16:14:49 -0000       1.107
+++ tablet.mx   10 Dec 2007 18:04:31 -0000      1.108
@@ -1316,7 +1316,7 @@
                        line++;
 
                /* recognize fields starting with a quote */
-               if ( *line == fmt[i].quote && 
+               if ( *line && *line == fmt[i].quote && 
                     (line == s || *(line - 1) != '\\')) {
                        quote = *line;
                        line++;


-------------------------------------------------------------------------
SF.Net email is sponsored by: 
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
Monetdb-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/monetdb-checkins

Reply via email to