db-torque-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tfisc...@apache.org
Subject svn commit: r409956 - in /db/torque: site/trunk/xdocs/changes.xml templates/trunk/src/templates/sql/db-init/mssql/createdb.vm
Date Sun, 28 May 2006 14:06:02 GMT
Author: tfischer
Date: Sun May 28 07:06:02 2006
New Revision: 409956

URL: http://svn.apache.org/viewvc?rev=409956&view=rev
Log:
Implemented createdb-template for mssql.
Fixes TORQUE-19.
Thanks to Greg Monroe for the patch.

Modified:
    db/torque/site/trunk/xdocs/changes.xml
    db/torque/templates/trunk/src/templates/sql/db-init/mssql/createdb.vm

Modified: db/torque/site/trunk/xdocs/changes.xml
URL: http://svn.apache.org/viewvc/db/torque/site/trunk/xdocs/changes.xml?rev=409956&r1=409955&r2=409956&view=diff
==============================================================================
--- db/torque/site/trunk/xdocs/changes.xml (original)
+++ db/torque/site/trunk/xdocs/changes.xml Sun May 28 07:06:02 2006
@@ -29,6 +29,9 @@
 
   <release version="3.2.1-dev" date="in SVN">
   
+    <action type="add" dev="tfischer" issue="TORQUE-18" due-to="Greg Monroe">
+      Added createdb-template for MS-SQL.
+    </action>
     <action type="fix" dev="tfischer" issue="TORQUE-19" due-to="Greg Monroe">
       Corrected datatype Mapping for MS-SQL:
       <ul>

Modified: db/torque/templates/trunk/src/templates/sql/db-init/mssql/createdb.vm
URL: http://svn.apache.org/viewvc/db/torque/templates/trunk/src/templates/sql/db-init/mssql/createdb.vm?rev=409956&r1=409955&r2=409956&view=diff
==============================================================================
--- db/torque/templates/trunk/src/templates/sql/db-init/mssql/createdb.vm (original)
+++ db/torque/templates/trunk/src/templates/sql/db-init/mssql/createdb.vm Sun May 28 07:06:02
2006
@@ -11,4 +11,11 @@
 ## WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 ## See the License for the specific language governing permissions and
 ## limitations under the License.
-ECHO Not implemented
+
+#foreach ($databaseName in $databaseNames)
+USE MASTER;
+
+DROP DATABASE $databaseName;
+
+CREATE DATABASE $databaseName;
+#end



---------------------------------------------------------------------
To unsubscribe, e-mail: torque-dev-unsubscribe@db.apache.org
For additional commands, e-mail: torque-dev-help@db.apache.org


Mime
View raw message