From: Jean-Marc Pigeon Date: Wed, 19 Nov 2025 01:19:37 +0000 (-0500) Subject: Fixing actions table SQL delete sequence X-Git-Tag: tag-0.18~18 X-Git-Url: https://jmp-git.ovh.safe.ca/?a=commitdiff_plain;h=5f76fa5e44270e8d9177272d96b729aeda58f9e1;p=jmp%2Fmailleur Fixing actions table SQL delete sequence --- diff --git a/lib/gessql.c b/lib/gessql.c index 173aa8c..d1739ac 100644 --- a/lib/gessql.c +++ b/lib/gessql.c @@ -45,10 +45,10 @@ PUBLIC _Bool sql_mngact(SQLPTR *sqlptr,ACTTYP *act) { #define OPEP "gessql.c:sql_mngact," -static const char *del="DELETE FROM "ACTTBL" WHERE sessid=%s AND \ - (rcptto=%s OR rcpt IS NULL)"; -static const char *ins="INSERT INTO "ACTTBL" (%s) \ - VALUES(%s,%s,%s,%s,%s,%s,%s,%s,%d,%d,%s)"; +static const char + *del="DELETE FROM "ACTTBL" WHERE sessid=%s AND (rcptto=%s OR rcptto IS NULL)"; +static const char + *ins="INSERT INTO "ACTTBL" (%s) VALUES(%s,%s,%s,%s,%s,%s,%s,%s,%d,%d,%s)"; _Bool isok;