awkrun: ajout d'un champ field à cqsql
This commit is contained in:
parent
2f60fece01
commit
73391a9a72
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue