Opened 16 years ago

Closed 14 years ago

#2304 closed defect (fixed)

Failed test in ogr_mysql.py

Reported by: Even Rouault Owned by: chaitanya
Priority: normal Milestone: 1.7.0
Component: Buildbot Version: unspecified
Severity: normal Keywords: mysql
Cc: warmerdam, hobu, Mateusz Łoskot

Description

I've added in r14138 an autotest for OGR MySQL driver. This is a copy&paste from ogr_pg.py.

There are 2 tests that I have disabled : ogr_mysql_6 and ogr_mysql_8 as they don't currently pass.

This would be probably good to configure a buildbot to use this autotest too.

Change History (4)

comment:1 by Even Rouault, 16 years ago

Cc: warmerdam added

comment:2 by Even Rouault, 16 years ago

Cc: hobu added

ogr_mysql_6 failing could be related to r11522.

ogr_mysql_4 also contains a workaround that didn't exist in ogr_pg_4 test :

    # E. Rouault : the mySQL driver doesn't seem to like adding new features and
    # iterating over a query at the same time.
    # If trying to do so, we get the 'Commands out of sync' error.

comment:3 by warmerdam, 14 years ago

Cc: Mateusz Łoskot added
Milestone: 1.7.0
Owner: changed from Mateusz Łoskot to chaitanya

Chaitanya,

Could you try and review the status of this before 1.7 release, and make needed corrections, possibly in consultation with Even, Howard and myself?

Mateusz,

When you migrate the gdal build slaves to buildtest.osgeo.org might be a good time to add myself to the test mix.

comment:4 by chaitanya, 14 years ago

Resolution: fixed
Status: newclosed

Fixed the issue where TEXT type was reported as BLOB. Modified the autotest's ogr_mysql.py accordingly. Unclosed geometries are returned as closed geometries by MySQL driver. Changed ogr_mysql_4() to test this. r18362 in trunk.

Note: See TracTickets for help on using tickets.