[fdo-internals] MySql Provider: Set SRID value for geometry columnsDefect DescriptionDefect Description

Barbara Zoladek barbara.zoladek at autodesk.com
Fri Jan 19 16:07:52 EST 2007


Defect Description
--------------------------

MySql foreign schema: Inserting new features into existing table does
not use srid consistent with existing data


Added setting the SRID value for new or updated geometries. The SRID
value is retrieved from the first row returned by the 'select
SRID(<geometry-column>) from ...'. If the SRID value cannot be
determined, the default value is 0.
Note that this method is simplified for the performance reasons. It may
not fetch consistent values for SRIDs.

Affected files 
---------------------
Added:
   branches/3.2.x/Providers/GenericRdbms/Src/MySQL/Driver/geom_srid.c
   branches/3.2.x/Providers/GenericRdbms/Src/MySQL/Driver/geom_srid.h
 
branches/3.2.x/Providers/GenericRdbms/Src/MySQL/SchemaMgr/Ph/ColumnGeom.
cpp
Modified:
   branches/3.2.x/Providers/GenericRdbms/Inc/Rdbi/methods.h
   branches/3.2.x/Providers/GenericRdbms/Inc/Rdbi/proto.h
 
branches/3.2.x/Providers/GenericRdbms/Src/Fdo/Pvc/FdoRdbmsPvcInsertHandl
er.cpp
 
branches/3.2.x/Providers/GenericRdbms/Src/Fdo/Pvc/FdoRdbmsPvcUpdateHandl
er.cpp
   branches/3.2.x/Providers/GenericRdbms/Src/Gdbi/GdbiCommands.cpp
   branches/3.2.x/Providers/GenericRdbms/Src/Gdbi/GdbiCommands.h
   branches/3.2.x/Providers/GenericRdbms/Src/Gdbi/GdbiStatement.cpp
   branches/3.2.x/Providers/GenericRdbms/Src/Gdbi/GdbiStatement.h
   branches/3.2.x/Providers/GenericRdbms/Src/MySQL/Driver/Geometry.c
   branches/3.2.x/Providers/GenericRdbms/Src/MySQL/Driver/Geometry.h
   branches/3.2.x/Providers/GenericRdbms/Src/MySQL/Driver/Makefile.am
 
branches/3.2.x/Providers/GenericRdbms/Src/MySQL/Driver/MySqlDriver.vcpro
j
   branches/3.2.x/Providers/GenericRdbms/Src/MySQL/Driver/bind.c
   branches/3.2.x/Providers/GenericRdbms/Src/MySQL/Driver/execute.c
   branches/3.2.x/Providers/GenericRdbms/Src/MySQL/Driver/local.h
   branches/3.2.x/Providers/GenericRdbms/Src/MySQL/Driver/rdbi_init.c
 
branches/3.2.x/Providers/GenericRdbms/Src/MySQL/SchemaMgr/MySqlSchemaMgr
.vcproj
 
branches/3.2.x/Providers/GenericRdbms/Src/MySQL/SchemaMgr/Ph/ColumnGeom.
h
 
branches/3.2.x/Providers/GenericRdbms/Src/MySQL/SchemaMgr/Ph/Makefile.am
   branches/3.2.x/Providers/GenericRdbms/Src/ODBCDriver/geom.c
   branches/3.2.x/Providers/GenericRdbms/Src/Rdbi/geom_srid.c
 
branches/3.2.x/Providers/GenericRdbms/Src/UnitTest/MySql/MySqlFdoForeign
SchemaTest.cpp
 
branches/3.2.x/Providers/GenericRdbms/Src/UnitTest/MySql/MySqlFdoForeign
SchemaTest.h

branches/3.2.x/Utilities/SchemaMgr/Inc/Sm/Ph/ColumnGeom.h



More information about the fdo-internals mailing list