fix for handling special characters

git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@666 c8812cc2-4d05-0410-92ff-de0c093fc19c
This commit is contained in:
gsherman 2004-02-01 02:18:53 +00:00
parent 14ffec34d5
commit 8f88fdf93a

View File

@ -145,8 +145,7 @@ bool QgsShapeFile::insertLayer(QString dbname, QString geom_col, QString srid, P
query += column_names[n].lower();
query += " ";
query += column_types[n];
if(n < column_names.size() -1)
query += ", ";
query += ", ";
}
query += " PRIMARY KEY (gid))";