Opened 15 years ago

Closed 15 years ago

#2893 closed defect (fixed)

SQL Server 2008 plugin is not handling null field values correctly

Reported by: maganti Owned by: tamas
Priority: normal Milestone: 5.6.1 release
Component: Input - Native MS SQL Server Support Version: unspecified
Severity: critical Keywords:
Cc:

Description

After performing queryByShape() on SQL Server 2008 layer, getting junk characters for those fields which are null (or have no value) in the database. Shows fine for those fields with some value.

Change History (4)

comment:1 by tamas, 15 years ago

Owner: changed from hobu to tamas

comment:2 by tamas, 15 years ago

Milestone: 6.0 release

comment:3 by maganti, 15 years ago

Severity: normalcritical

This is also throwing an excpetion in C# mapscript in shapeObj.Dispose() method whenever that method is invoked by garbage collector. Following method call stack, it is finally throwing error in msFreeCharArray method.

Since an exception is thrown, I would like to raise the severiy of the issue.

comment:4 by tamas, 15 years ago

Milestone: 6.0 release5.6.1 release
Resolution: fixed
Status: newclosed

Fixed in r9659 and r9660

Note: See TracTickets for help on using tickets.