mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-25 00:58:06 -05:00
Fixed segfault when specified invalid field type to memory provider's addAttributes()
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@8738 c8812cc2-4d05-0410-92ff-de0c093fc19c
This commit is contained in:
parent
dbbbaaf291
commit
a69e63cfd4
@ -284,7 +284,7 @@ bool QgsMemoryProvider::addAttributes(const QgsNewAttributesMap & attributes)
|
||||
type = QVariant::String;
|
||||
else
|
||||
{
|
||||
QgsDebugMsg("Field type not supported: "+type);
|
||||
QgsDebugMsg("Field type not supported: "+typeName);
|
||||
continue;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user