[fdo-trac] #407: SQLite: Insert fails when fully qualified class
name is used
FDO
trac_fdo at osgeo.org
Thu Oct 9 10:57:57 EDT 2008
#407: SQLite: Insert fails when fully qualified class name is used
-------------------------------+--------------------------------------------
Reporter: traianstanev | Owner: traianstanev
Type: defect | Status: new
Priority: major | Milestone:
Component: SQLite Provider | Version: 3.3.0
Severity: 3 | Keywords:
External_id: |
-------------------------------+--------------------------------------------
This is a defect found by Philip Kast. If a fully qualified class name is
used with an Insert command, insert will fail. Here is the description:
[[BR]]
==============
BTW: I found the problem why the feature class name comes as
“schema:feature_class_name”:
virtual void SetFeatureClassName(FdoString* value)
{
FDO_SAFE_RELEASE(m_className);
m_className = NULL;
if (value)
m_className = FdoIdentifier::Create(value);
m_fcname = W2A_SLOW(value);
}
Change it to:
virtual void SetFeatureClassName(FdoString* value)
{
FDO_SAFE_RELEASE(m_className);
m_className = NULL;
if (value)
{
m_className = FdoIdentifier::Create(value);
m_fcname = W2A_SLOW(m_className->GetName());
}
}
--
Ticket URL: <http://trac.osgeo.org/fdo/ticket/407>
FDO <http://fdo.osgeo.org/>
Feature Data Objects
More information about the fdo-trac
mailing list