db-ddlutils-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From to...@apache.org
Subject svn commit: r412855 - /db/ddlutils/trunk/src/test/org/apache/ddlutils/platform/TestMSSqlPlatform.java
Date Thu, 08 Jun 2006 21:00:43 GMT
Author: tomdz
Date: Thu Jun  8 14:00:42 2006
New Revision: 412855

URL: http://svn.apache.org/viewvc?rev=412855&view=rev
Log:
Fixed errors in tests for the Sql Server platform

Modified:
    db/ddlutils/trunk/src/test/org/apache/ddlutils/platform/TestMSSqlPlatform.java

Modified: db/ddlutils/trunk/src/test/org/apache/ddlutils/platform/TestMSSqlPlatform.java
URL: http://svn.apache.org/viewvc/db/ddlutils/trunk/src/test/org/apache/ddlutils/platform/TestMSSqlPlatform.java?rev=412855&r1=412854&r2=412855&view=diff
==============================================================================
--- db/ddlutils/trunk/src/test/org/apache/ddlutils/platform/TestMSSqlPlatform.java (original)
+++ db/ddlutils/trunk/src/test/org/apache/ddlutils/platform/TestMSSqlPlatform.java Thu Jun
 8 14:00:42 2006
@@ -55,7 +55,7 @@
             "SET quoted_identifier on;\n"+
             "IF EXISTS (SELECT 1 FROM sysobjects WHERE type = 'U' AND name = 'coltype')\n"+
             "BEGIN\n"+
-            "  DECLARE @tablename nvarchar(60), @constraintname nvarchar(60)\n"+
+            "  DECLARE @tablename nvarchar(256), @constraintname nvarchar(256)\n"+
             "  DECLARE refcursor CURSOR FOR\n"+
             "  SELECT object_name(objs.parent_obj) tablename, objs.name constraintname\n"+
             "    FROM sysobjects objs JOIN sysconstraints cons ON objs.id = cons.constid\n"+
@@ -120,7 +120,7 @@
             "SET quoted_identifier on;\n"+
             "IF EXISTS (SELECT 1 FROM sysobjects WHERE type = 'U' AND name = 'constraints')\n"+
             "BEGIN\n"+
-            "  DECLARE @tablename nvarchar(60), @constraintname nvarchar(60)\n"+
+            "  DECLARE @tablename nvarchar(256), @constraintname nvarchar(256)\n"+
             "  DECLARE refcursor CURSOR FOR\n"+
             "  SELECT object_name(objs.parent_obj) tablename, objs.name constraintname\n"+
             "    FROM sysobjects objs JOIN sysconstraints cons ON objs.id = cons.constid\n"+
@@ -165,7 +165,7 @@
             "SET quoted_identifier on;\n"+
             "IF EXISTS (SELECT 1 FROM sysobjects WHERE type = 'U' AND name = 'table3')\n"+
             "BEGIN\n"+
-            "  DECLARE @tablename nvarchar(60), @constraintname nvarchar(60)\n"+
+            "  DECLARE @tablename nvarchar(256), @constraintname nvarchar(256)\n"+
             "  DECLARE refcursor CURSOR FOR\n"+
             "  SELECT object_name(objs.parent_obj) tablename, objs.name constraintname\n"+
             "    FROM sysobjects objs JOIN sysconstraints cons ON objs.id = cons.constid\n"+
@@ -183,7 +183,7 @@
             "SET quoted_identifier on;\n"+
             "IF EXISTS (SELECT 1 FROM sysobjects WHERE type = 'U' AND name = 'table2')\n"+
             "BEGIN\n"+
-            "  DECLARE @tablename nvarchar(60), @constraintname nvarchar(60)\n"+
+            "  DECLARE @tablename nvarchar(256), @constraintname nvarchar(256)\n"+
             "  DECLARE refcursor CURSOR FOR\n"+
             "  SELECT object_name(objs.parent_obj) tablename, objs.name constraintname\n"+
             "    FROM sysobjects objs JOIN sysconstraints cons ON objs.id = cons.constid\n"+
@@ -201,7 +201,7 @@
             "SET quoted_identifier on;\n"+
             "IF EXISTS (SELECT 1 FROM sysobjects WHERE type = 'U' AND name = 'table1')\n"+
             "BEGIN\n"+
-            "  DECLARE @tablename nvarchar(60), @constraintname nvarchar(60)\n"+
+            "  DECLARE @tablename nvarchar(256), @constraintname nvarchar(256)\n"+
             "  DECLARE refcursor CURSOR FOR\n"+
             "  SELECT object_name(objs.parent_obj) tablename, objs.name constraintname\n"+
             "    FROM sysobjects objs JOIN sysconstraints cons ON objs.id = cons.constid\n"+
@@ -258,7 +258,7 @@
             "SET quoted_identifier on;\n"+
             "IF EXISTS (SELECT 1 FROM sysobjects WHERE type = 'U' AND name = 'escapedcharacters')\n"+
             "BEGIN\n"+
-            "  DECLARE @tablename nvarchar(60), @constraintname nvarchar(60)\n"+
+            "  DECLARE @tablename nvarchar(256), @constraintname nvarchar(256)\n"+
             "  DECLARE refcursor CURSOR FOR\n"+
             "  SELECT object_name(objs.parent_obj) tablename, objs.name constraintname\n"+
             "    FROM sysobjects objs JOIN sysconstraints cons ON objs.id = cons.constid\n"+



Mime
View raw message