[mapguide-commits] r7403 - trunk/MgDev/Desktop/MgDesktop/Services/Feature/Commands

svn_mapguide at osgeo.org svn_mapguide at osgeo.org
Wed Mar 20 09:09:47 PDT 2013


Author: jng
Date: 2013-03-20 09:09:47 -0700 (Wed, 20 Mar 2013)
New Revision: 7403

Modified:
   trunk/MgDev/Desktop/MgDesktop/Services/Feature/Commands/DescribeSchema.cpp
Log:
mg-desktop changes: Port over r7399 (#2230)

Modified: trunk/MgDev/Desktop/MgDesktop/Services/Feature/Commands/DescribeSchema.cpp
===================================================================
--- trunk/MgDev/Desktop/MgDesktop/Services/Feature/Commands/DescribeSchema.cpp	2013-03-20 16:05:16 UTC (rev 7402)
+++ trunk/MgDev/Desktop/MgDesktop/Services/Feature/Commands/DescribeSchema.cpp	2013-03-20 16:09:47 UTC (rev 7403)
@@ -55,6 +55,11 @@
         // The reference to the FDO connection from the MgdFeatureConnection 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