Changeset: c3a689654909 for MonetDB
URL: https://dev.monetdb.org/hg/MonetDB/rev/c3a689654909
Modified Files:
sql/backends/monet5/copy_io.c
Branch: pp_hashjoin
Log Message:
cast to int (todo add checks for too long seperators, what is the max we would
allow??)
diffs (12 lines):
diff --git a/sql/backends/monet5/copy_io.c b/sql/backends/monet5/copy_io.c
--- a/sql/backends/monet5/copy_io.c
+++ b/sql/backends/monet5/copy_io.c
@@ -240,7 +240,7 @@ COPYfrom_stdin(Client cntxt, MalBlkPtr m
.quote_char = quote_char==1 ?quote_arg[0]:0,
.line_sep = line_sep==1 ?linesep_arg[0]:0,
.line_sep_str = (unsigned char*)linesep_arg,
- .line_sep_len = strlen(linesep_arg),
+ .line_sep_len = (int)strlen(linesep_arg),
.escape_enabled = backslash_escapes,
.quoted = false,
.escape_pending = false,
_______________________________________________
checkin-list mailing list -- [email protected]
To unsubscribe send an email to [email protected]