[mapguide-commits] r7414 - branches/2.5/MgDev/Server/src/Services/Feature

svn_mapguide at osgeo.org svn_mapguide at osgeo.org
Mon Mar 25 06:42:44 PDT 2013


Author: jng
Date: 2013-03-25 06:42:44 -0700 (Mon, 25 Mar 2013)
New Revision: 7414

Modified:
   branches/2.5/MgDev/Server/src/Services/Feature/ServerDescribeSchema.cpp
Log:
#2230: Merge fix from trunk

Modified: branches/2.5/MgDev/Server/src/Services/Feature/ServerDescribeSchema.cpp
===================================================================
--- branches/2.5/MgDev/Server/src/Services/Feature/ServerDescribeSchema.cpp	2013-03-25 12:19:43 UTC (rev 7413)
+++ branches/2.5/MgDev/Server/src/Services/Feature/ServerDescribeSchema.cpp	2013-03-25 13:42:44 UTC (rev 7414)
@@ -56,6 +56,11 @@
         // The reference to the FDO connection from the MgServerFeatureConnection object must be cleaned up before the parent object
         // otherwise it leaves the FDO connection marked as still in use.
         FdoPtr<FdoIConnection> fdoConn = connection->GetConnection();
+
+        // Ensure all user-defined functions are loaded
+        FdoPtr<FdoIExpressionCapabilities> ec = fdoConn->GetExpressionCapabilities();
+        FdoPtr<FdoFunctionDefinitionCollection> funcs = ec->GetFunctions();
+
         FdoPtr<FdoIDescribeSchema> fdoCommand = (FdoIDescribeSchema*)fdoConn->CreateCommand(FdoCommandType_DescribeSchema);
 
         classNameHintUsed = IsClassNameHintUsed(fdoCommand);



More information about the mapguide-commits mailing list