[Qgis-developer] Problem with the MySQL/GDAL implementation in QGIS

Matthias Kuhn matthias at opengis.ch
Tue May 26 05:03:49 PDT 2015


Hi Pavol

On 05/26/2015 12:51 PM, Pavol Hnila wrote:
> Hi Jürgen,
>
> I could not find the 7a629ad commit. Yet I have tried the current
> master and I admit that after your previous commit 536135a it actually
> works fine for most purposes.
>
> The reopenings of every record of the dataset seems a minor issue for
> the performance, since it only occurs when working with the Attribute
> table. The performance is thus somewhat slower than it was by QGIS 1.8
> but it is still OK to work with. Zooming and paning does not lead to
> the reopenings of every record of every table (it only leads to each
> table being opened and closed separately). Tables that were not
> selected from the dataset are rightfully ignored now (thanks to your
> commit).
>
> I will rerun the tests on other platforms (I have tried only Windows),
> yet I suppose that they will be identical and that we can live with this.
>
> Many thanks,
> Pavol
>
>
> On 22.05.2015 13:42, Jürgen E. Fischer wrote:
>> Hi Pavol,
>>
>> On Thu, 21. May 2015 at 12:37:49 +0200, Pavol Hnila wrote:
>>> Is there a chance that someone corrects this particular code for
>>> the next release?
>> Check current master.  The commit 7a629ad from Sandro Mani should
>> cure the problem.   I also should help with other performance
>> problem introduced by the reopening of the OGR data source on each
>> layer feature iteration.
>>
>>
>> Jürgen
>>
>>
>>
>> _______________________________________________ Qgis-developer
>> mailing list Qgis-developer at lists.osgeo.org 
>> http://lists.osgeo.org/mailman/listinfo/qgis-developer
>>
> _______________________________________________
> Qgis-developer mailing list
> Qgis-developer at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/qgis-developer
Can you try with 95a7408 which was done today? It is an improved version
of the original fix which was reverted due to side-effects.

Matthias


More information about the Qgis-developer mailing list