From 8225ede223d21edb57ce3d6e242a96b612a19cf6 Mon Sep 17 00:00:00 2001 From: Ari Johnson Date: Tue, 20 Feb 2007 15:39:53 +0000 Subject: [PATCH] sql() without a field delimiter defaults to space instead of row delimiter --- src/sql.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.30.2