From: Ari Johnson Date: Tue, 20 Feb 2007 15:39:53 +0000 (+0000) Subject: sql() without a field delimiter defaults to space instead of row delimiter X-Git-Tag: 0.73~199 X-Git-Url: https://git.theari.com/?a=commitdiff_plain;h=8225ede223d21edb57ce3d6e242a96b612a19cf6;p=cobramush.git sql() without a field delimiter defaults to space instead of row delimiter --- diff --git a/src/sql.c b/src/sql.c index 562fb89..98fd7a6 100644 --- a/src/sql.c +++ b/src/sql.c @@ -248,7 +248,7 @@ FUNCTION(fun_sql) if (!delim_check(buff, bp, nargs, args, 2, &row_delim)) return; if (nargs < 3) - field_delim = row_delim; + field_delim = ' '; else if (!delim_check(buff, bp, nargs, args, 3, &field_delim)) return;