From 8928ba2a03fdea18c5d6e21a62f1422364187a48 Mon Sep 17 00:00:00 2001 From: guy Date: Tue, 22 Aug 2006 08:29:03 +0000 Subject: [PATCH] Patch level : 4.0 Files correlati : crpa0.exe Ricompilazione Demo : [ ] Commento : Aggiunto quadrifoglio alla fine dei comandi SQL git-svn-id: svn://10.65.10.50/trunk@14263 c028cbd2-c16b-5b4b-a496-9718f37d4682 --- crpa/crpa0.cpp | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/crpa/crpa0.cpp b/crpa/crpa0.cpp index d5a3f567e..8ca43ed1d 100755 --- a/crpa/crpa0.cpp +++ b/crpa/crpa0.cpp @@ -14,6 +14,9 @@ #include "../ca/movana.h" #include "../ca/rmovana.h" +// Fine del comando sql con separatore magico per crpa.exe +#define SQL_EOL ";æ" + class TIni2Sql: public TSkeleton_application { TRelation* _clifo; @@ -1029,7 +1032,7 @@ void TIni2Sql::write_sqlinsert() *_sqlfile << insert << endl; *_sqlfile << colonne << endl; *_sqlfile << valori << endl; - *_sqlfile << ';' << endl; + *_sqlfile << SQL_EOL << endl; } } if (!almenounariga) @@ -1087,7 +1090,7 @@ void TIni2Sql::write_sqldelete() { condizione.insert(" WHERE ("); condizione << ") "; *_sqlfile << cancella << condizione << endl; - *_sqlfile << ';' << endl; + *_sqlfile << SQL_EOL << endl; } } }