#4490 closed defect (fixed)
MSSQL Driver does use respect LAUNDER option when adding fields
Reported by: | jpalmer | Owned by: | tamas |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | OGR_SF | Version: | 1.9.2 |
Severity: | normal | Keywords: | MSSQL |
Cc: | tamas |
Description
When created a layer using the MSSQL2008 driver the table name is laundered but when the fields are added the non laundered table name is used in the ALTER table statement.
i.e ogr2ogr -f MSSQLSpatial "MSSQL:server =localhost;database=test;trusted_connection=yes" test-data.vrt
SQL run:
CREATE TABLE [dbo].[test_data] ([ogr_fid] [int] IDENTITY(1,1) NOT NULL, [ogr_geometry] [geometry] NULL, CONSTRAINT [PK_test_data] PRIMARY KEY CLUSTERED ([ogr_fid] ASC))
ALTER TABLE [dbo].[test-data]] ADD [id] int
Change History (4)
comment:1 by , 12 years ago
Cc: | added |
---|---|
Component: | default → OGR_SF |
comment:2 by , 12 years ago
Owner: | changed from | to
---|
comment:3 by , 11 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
comment:4 by , 11 years ago
Version: | 1.8.1 → 1.9.2 |
---|
Note:
See TracTickets
for help on using tickets.
Fixed in trunk (r25690) and branch-1.9 (r25689)