From 73391a9a72412923419e9612ad70126ad0f444c4 Mon Sep 17 00:00:00 2001 From: Jephte Clain Date: Fri, 15 Apr 2016 12:03:49 +0400 Subject: [PATCH] =?UTF-8?q?awkrun:=20ajout=20d'un=20champ=20field=20=C3=A0?= =?UTF-8?q?=20cqsql?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lib/ulib/base | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/ulib/base b/lib/ulib/base index 2e2571f..ce13062 100644 --- a/lib/ulib/base +++ b/lib/ulib/base @@ -1918,8 +1918,8 @@ function qsql(s) {'" gsub(/'/, \"''\", s) return \"'\" s \"'\" "'} -function cqsql(s) { - return "," qsql(s) +function cqsql(s, field) { + return "," qsql(s) (field != ""? " " field: "") } function unquote_mysqlcsv(s) { gsub(/\\n/, "\n", s)