Opened 16 years ago
Closed 16 years ago
#407 closed defect (fixed)
SQLite: Insert fails when fully qualified class name is used
Reported by: | traianstanev | Owned by: | traianstanev |
---|---|---|---|
Priority: | major | Milestone: | |
Component: | SQLite Provider | Version: | 3.3.0 |
Severity: | 3 | Keywords: | |
Cc: | External ID: |
Description
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:
============== 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());
}
}