Update of /cvsroot/monetdb/MonetDB4/src/modules/plain
In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv18853/src/modules/plain
Modified Files:
ascii_io.mx
Log Message:
check for quotes only if we are not allready on the end of the line
Index: ascii_io.mx
===================================================================
RCS file: /cvsroot/monetdb/MonetDB4/src/modules/plain/ascii_io.mx,v
retrieving revision 1.15
retrieving revision 1.16
diff -u -d -r1.15 -r1.16
--- ascii_io.mx 9 Dec 2007 16:14:13 -0000 1.15
+++ ascii_io.mx 10 Dec 2007 18:04:14 -0000 1.16
@@ -728,7 +728,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