Issue Details (XML | Word | Printable)

Key: DERBY-3377
Type: Bug Bug
Status: Open Open
Priority: Minor Minor
Assignee: Unassigned
Reporter: Kathey Marsden
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
Derby

Network Client/Server should use sqlType instead of locator value to determine if lob was sent by locator/value

Created: 01/Feb/08 06:25 PM   Updated: 13/Jul/09 12:08 PM
Return to search
Component/s: Network Client, Network Server
Affects Version/s: 10.3.1.4, 10.3.2.1, 10.4.1.3
Fix Version/s: None

Time Tracking:
Not Specified

Issue Links:
Reference
 

Urgency: Low
Bug behavior facts: Embedded/Client difference


 Description  « Hide
This issue came up during the fix for DERBY-3243. Currently network server does not send the correct sqlType for locators. It sends DB2_SQLTYPE_BLOB or DB2_SQLTYPE_CLOB instead of DB2_SQLTYPE_BLOB_LOCATOR or DB2_SQLTYPE_CLOB_LOCATOR so the client's only way of determining whether it is getting a lob by value or locator is to look at the locator/extended length field and use that to branch its logic. It would be cleaner moving foward to use the sqlType to branch this logic, but there would have to be version specific handling to allow it to work the old way when communicating with older versions.

The sqlType is sent as part of the SQLDAGRP in DRDAConnThread.writeSQLDAGRP() in the
server code.



 All   Comments   Work Log   Change History   Subversion Commits      Sort Order: Ascending order - Click to sort in descending order
No work has yet been logged on this issue.