Hi Scott,


Just a question, I submitted a patch to this list a few weeks ago and never got any feedback. Would you have time to look at it ? It's really nothing big, just a few corrections in the generation templates. I actually have an updated patch I am attaching here.

Regards,
  Serge Huber.

At 00:04 23.03.2004, you wrote:
Contributions are most welcome - I am certainly interested in seeing support for the join types you mention.


You should can submit unidiff to cvs HEAD patches to the turbine-dev list. It is much easier for us to review and accept patches when they include test cases so please try and provide these also.

Regards,

Scott

--
Scott Eade
Backstage Technologies Pty. Ltd.
http://www.backstagetech.com.au



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


- -- --- -----=[ shuber2 at jahia dot com ]=---- --- -- -
www.jahia.org : A collaborative source CMS and Portal Server
Index: src/generator/src/templates/sql/base/hypersonic/drop.vm
===================================================================
RCS file: 
/home/cvspublic/db-torque/src/generator/src/templates/sql/base/hypersonic/drop.vm,v
retrieving revision 1.1
diff -u -r1.1 drop.vm
--- src/generator/src/templates/sql/base/hypersonic/drop.vm     10 Feb 2003 13:18:48 
-0000      1.1
+++ src/generator/src/templates/sql/base/hypersonic/drop.vm     3 Mar 2004 13:30:58 
-0000
@@ -1 +1 @@
-drop table if exists $table.Name;
+drop table $table.Name if exists;
Index: src/generator/src/templates/sql/base/hypersonic/table.vm
===================================================================
RCS file: 
/home/cvspublic/db-torque/src/generator/src/templates/sql/base/hypersonic/table.vm,v
retrieving revision 1.2
diff -u -r1.2 table.vm
--- src/generator/src/templates/sql/base/hypersonic/table.vm    29 Jun 2003 14:30:02 
-0000      1.2
+++ src/generator/src/templates/sql/base/hypersonic/table.vm    3 Mar 2004 13:30:58 
-0000
@@ -2,7 +2,7 @@
 -----------------------------------------------------------------------------
 -- $table.Name
 -----------------------------------------------------------------------------
-##$generator.parse("$basepath/drop.vm", "", "table", $tbl)
+#$generator.parse("$basepath/drop.vm", "", "table", $tbl)
 CREATE TABLE $table.Name
 (
 #set ( $cols = $generator.parse("$basepath/columns.vm", "", "table", $tbl) )
Index: src/generator/src/templates/sql/base/mssql/drop.vm
===================================================================
RCS file: 
/home/cvspublic/db-torque/src/generator/src/templates/sql/base/mssql/drop.vm,v
retrieving revision 1.1
diff -u -r1.1 drop.vm
--- src/generator/src/templates/sql/base/mssql/drop.vm  10 Feb 2003 13:18:49 -0000     
 1.1
+++ src/generator/src/templates/sql/base/mssql/drop.vm  3 Mar 2004 13:30:58 -0000
@@ -26,4 +26,4 @@
      DEALLOCATE refcursor
      DROP TABLE $table.Name
 END
-
+;
Index: src/generator/src/templates/sql/base/postgresql/drop.vm
===================================================================
RCS file: 
/home/cvspublic/db-torque/src/generator/src/templates/sql/base/postgresql/drop.vm,v
retrieving revision 1.1
diff -u -r1.1 drop.vm
--- src/generator/src/templates/sql/base/postgresql/drop.vm     10 Feb 2003 13:18:47 
-0000      1.1
+++ src/generator/src/templates/sql/base/postgresql/drop.vm     3 Mar 2004 13:30:58 
-0000
@@ -1,4 +1,4 @@
-DROP TABLE $table.Name;
+DROP TABLE $table.Name CASCADE;
 #if ($table.IdMethod == "native")
 DROP SEQUENCE $table.SequenceName;
 #end

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to