DB2Plugin: patch to add DECFLOAT datatype support

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

DB2Plugin: patch to add DECFLOAT datatype support

Christian Sl
Hello everybody,

yesterday I added support for DB2's vendor specific DECFLOAT datatype to the DB2 Plugin.
As I don't have a sf.net account would it be ok to send you the patch by mail?
So far the functionality seems, although not perfect (i am not able to detect negative zero values properly), very promising.
Reading and updating is already possible (even for the special values like NaN, infinity and negative infinity).
Basically the patch consists of 2 new classes (DB2DecfloatTypeDataTypeComponentFactory and
its accompanying DB2DecfloatTypeDataType) in the net.sourceforge.squirrel_sql.plugins.db2.types package.

Kind regards, Christian Slama

------------------------------------------------------------------------------
Dive into the World of Parallel Programming. The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net/
_______________________________________________
Squirrel-sql-develop mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/squirrel-sql-develop
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: DB2Plugin: patch to add DECFLOAT datatype support

Gerd Wagner-3
Hi Christian,

thanks for your interest in SQuirreL.

If it's the easiest for you you may just mail me your patch.


Alternatives would be to post the patch here:
http://sourceforge.net/p/squirrel-sql/patches/

Or to send me a pull request after creating a fork here:
http://sourceforge.net/p/squirrel-sql/git/ci/master/tree/


Gerd



Am 27.01.2015 um 18:00 schrieb Christian Sl:

> Hello everybody,
>
> yesterday I added support for DB2's vendor specific DECFLOAT datatype to the DB2 Plugin.
> As I don't have a sf.net account would it be ok to send you the patch by mail?
> So far the functionality seems, although not perfect (i am not able to detect negative zero values properly), very promising.
> Reading and updating is already possible (even for the special values like NaN, infinity and negative infinity).
> Basically the patch consists of 2 new classes (DB2DecfloatTypeDataTypeComponentFactory and
> its accompanying DB2DecfloatTypeDataType) in the net.sourceforge.squirrel_sql.plugins.db2.types package.
>
> Kind regards, Christian Slama
>
> ------------------------------------------------------------------------------
> Dive into the World of Parallel Programming. The Go Parallel Website,
> sponsored by Intel and developed in partnership with Slashdot Media, is your
> hub for all things parallel software development, from weekly thought
> leadership blogs to news, videos, case studies, tutorials and more. Take a
> look and join the conversation now. http://goparallel.sourceforge.net/
> _______________________________________________
> Squirrel-sql-develop mailing list
> [hidden email]
> https://lists.sourceforge.net/lists/listinfo/squirrel-sql-develop
>

------------------------------------------------------------------------------
Dive into the World of Parallel Programming. The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net/
_______________________________________________
Squirrel-sql-develop mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/squirrel-sql-develop
Loading...