Ticket #1052 (closed defect: fixed)

Opened 5 years ago

Last modified 5 years ago

Uninitialized field variables in QgsPostgresProvider in trunk r8383

Reported by: shader Owned by: nobody
Priority: major: does not work as expected Milestone:
Component: Data Provider Version: Trunk
Keywords: Cc:
Platform Version: Platform: All
Must Fix for Release: No Awaiting user input: no

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)

Attachments

qgis-0.10-alt-fix-postgres-provider.diff Download (469 bytes) - added by shader 5 years ago.

Change History

Changed 5 years ago by shader

Changed 5 years ago by jef

  • status changed from new to closed
  • resolution set to fixed

fixed in r8389

Note: See TracTickets for help on using tickets.