[fdo-commits] r654 - branches/3.2.x/Providers/GenericRdbms/Src/UnitTest/Common

svn_fdo at osgeo.org svn_fdo at osgeo.org
Fri Jan 19 13:55:55 EST 2007


Author: brentrobinson
Date: 2007-01-19 13:55:55 -0500 (Fri, 19 Jan 2007)
New Revision: 654

Modified:
   branches/3.2.x/Providers/GenericRdbms/Src/UnitTest/Common/SchemaMgrTests.cpp
Log:
Filter out check constraints on multiple columns (not supported by FDO)

Modified: branches/3.2.x/Providers/GenericRdbms/Src/UnitTest/Common/SchemaMgrTests.cpp
===================================================================
--- branches/3.2.x/Providers/GenericRdbms/Src/UnitTest/Common/SchemaMgrTests.cpp	2007-01-19 18:54:03 UTC (rev 653)
+++ branches/3.2.x/Providers/GenericRdbms/Src/UnitTest/Common/SchemaMgrTests.cpp	2007-01-19 18:55:55 UTC (rev 654)
@@ -126,6 +126,8 @@
         table->AddCkeyCol( constraint );
         constraint = new FdoSmPhCheckConstraint( L"int32_check", L"INT32_COLUMN", L"int32_column = 45 or int32_column > 100" );
         table->AddCkeyCol( constraint );
+        constraint = new FdoSmPhCheckConstraint( L"single_check", L"SINGLE_COLUMN", L"single_column = 45 or double_column > 100" );
+        table->AddCkeyCol( constraint );
 
         FdoSmPhTableP table2 = owner->CreateTable( phMgr->GetDcDbObjectName(L"TABLE2" ));
         SetLtLck(table2, lt_mode);



More information about the fdo-commits mailing list