Bug report #1052
Uninitialized field variables in QgsPostgresProvider in trunk r8383
Status: | Closed | ||
---|---|---|---|
Priority: | Low | ||
Assignee: | nobody - | ||
Category: | Data Provider | ||
Affected QGIS version: | Regression?: | No | |
Operating System: | All | Easy fix?: | No |
Pull Request or Patch supplied: | Resolution: | fixed | |
Crashes QGIS or corrupts data: | Copied to github as #: | 11112 |
Description
QgsPostgresProvider has bug in uninitilized variables like useWkbHex and others that must be initialized in QgsPostgresProvider::postgisVersion. But if we have 2 and more layers from same PostgreSQL database then 1st layer has properly initialized, but 2nd and others hasn't. Function postgisVersion not executed for that layers. It may be fixed by simple patch (attached)
Associated revisions
fix #1052
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@8389 c8812cc2-4d05-0410-92ff-de0c093fc19c
fix #1052
git-svn-id: http://svn.osgeo.org/qgis/trunk@8389 c8812cc2-4d05-0410-92ff-de0c093fc19c
History
#1 Updated by Jürgen Fischer over 16 years ago
- Resolution set to fixed
- Status changed from Open to Closed
fixed in 518a97b8 (SVN r8390)