New API should return proper metadata properties, not the historical artifacts
------------------------------------------------------------------------------

                 Key: CORE-4178
                 URL: http://tracker.firebirdsql.org/browse/CORE-4178
             Project: Firebird Core
          Issue Type: Bug
          Components: API / Client Library
    Affects Versions: 3.0 Alpha 1
            Reporter: Dmitry Yemanov


Instead of returning implementation details and keeing the old API weirdness, 
let's provide a clear implementation in IMessageMetadata. Now, for SQL_BLOB 
(subtype TEXT), getScale() returns a charset. For SQL_VARYING, getSubType() 
returns a charset, getCharSet() returns zero (accordingly to user reports). 
This makes the interface hardly usable and plays against the long-term success 
of the new API.

The fact that the old API emulation is stacked on top of the new API (thus 
possibly requiring a conversion between proper and legacy property values) 
could be a problem here, but it must be solved.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://tracker.firebirdsql.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

------------------------------------------------------------------------------
Get 100% visibility into Java/.NET code with AppDynamics Lite!
It's a free troubleshooting tool designed for production.
Get down to code-level detail for bottlenecks, with <2% overhead. 
Download for free and get started troubleshooting in minutes. 
http://pubads.g.doubleclick.net/gampad/clk?id=48897031&iu=/4140/ostg.clktrk
Firebird-Devel mailing list, web interface at 
https://lists.sourceforge.net/lists/listinfo/firebird-devel

Reply via email to