[fdo-commits] r629 - branches/3.2.x/Providers/GenericRdbms/Src/UnitTest/MySql

svn_fdo at osgeo.org svn_fdo at osgeo.org
Mon Jan 15 10:57:30 EST 2007


Author: jacklee
Date: 2007-01-15 10:57:30 -0500 (Mon, 15 Jan 2007)
New Revision: 629

Modified:
   branches/3.2.x/Providers/GenericRdbms/Src/UnitTest/MySql/MySqlFdoForeignSchemaTest.cpp
   branches/3.2.x/Providers/GenericRdbms/Src/UnitTest/MySql/MySqlFdoInsertTest.cpp
Log:
Fixed Linux build

Modified: branches/3.2.x/Providers/GenericRdbms/Src/UnitTest/MySql/MySqlFdoForeignSchemaTest.cpp
===================================================================
--- branches/3.2.x/Providers/GenericRdbms/Src/UnitTest/MySql/MySqlFdoForeignSchemaTest.cpp	2007-01-15 15:28:23 UTC (rev 628)
+++ branches/3.2.x/Providers/GenericRdbms/Src/UnitTest/MySql/MySqlFdoForeignSchemaTest.cpp	2007-01-15 15:57:30 UTC (rev 629)
@@ -20,7 +20,7 @@
 #include "MySqlFdoForeignSchemaTest.h"
 #include "UnitTestUtil.h"
 
-#define   DB_NAME_SUFFIX            "_fs"
+#define   DB_NAME_SUFFIX            L"_fs"
 
 CPPUNIT_TEST_SUITE_REGISTRATION( MySqlFdoForeignSchemaTest );
 CPPUNIT_TEST_SUITE_NAMED_REGISTRATION( MySqlFdoForeignSchemaTest, "FdoForeignSchemaTest");
@@ -32,7 +32,7 @@
 void MySqlFdoForeignSchemaTest::create_foreign_datastore()
 {
 	bool dbExists = UnitTestUtil::DatastoreExists(DB_NAME_SUFFIX);
-	FdoStringP userConnectString = UnitTestUtil::GetConnectionString(Connection_NoDatastore, "");
+	FdoStringP userConnectString = UnitTestUtil::GetConnectionString(Connection_NoDatastore, L"");
 	FdoIConnection* connection = UnitTestUtil::GetProviderConnectionObject();
 
     connection->SetConnectionString ( userConnectString);

Modified: branches/3.2.x/Providers/GenericRdbms/Src/UnitTest/MySql/MySqlFdoInsertTest.cpp
===================================================================
--- branches/3.2.x/Providers/GenericRdbms/Src/UnitTest/MySql/MySqlFdoInsertTest.cpp	2007-01-15 15:28:23 UTC (rev 628)
+++ branches/3.2.x/Providers/GenericRdbms/Src/UnitTest/MySql/MySqlFdoInsertTest.cpp	2007-01-15 15:57:30 UTC (rev 629)
@@ -454,4 +454,4 @@
         CPPUNIT_FAIL( (const char*) msg );
     }
 }
- 
\ No newline at end of file
+ 



More information about the fdo-commits mailing list