Quantcast

CORE4563

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

CORE4563

Nicolas Timmers

Hello everyone

 

With the release of version 2.5.7, we have the item

 

Http://tracker.firebirdsql.org/browse/CORE-4563

 

Has been implemented, I would like to know if you will need modifications to .net provider?


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
Firebird-net-provider mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/firebird-net-provider
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: CORE4563

Jiří Činčura-2
It's linked to that ticket:
http://tracker.firebirdsql.org/browse/DNET-726 .

--
Mgr. Jiří Činčura
Independent IT Specialist

On Mon, Feb 20, 2017, at 19:40, Nicolas Timmers wrote:

> Hello everyone
>
> With the release of version 2.5.7, we have the item
>
> Http://tracker.firebirdsql.org/browse/CORE-4563
>
> Has been implemented, I would like to know if you will need modifications
> to .net provider?
> ------------------------------------------------------------------------------
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, SlashDot.org! http://sdm.link/slashdot
> _______________________________________________
> Firebird-net-provider mailing list
> [hidden email]
> https://lists.sourceforge.net/lists/listinfo/firebird-net-provider

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
Firebird-net-provider mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/firebird-net-provider
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

RES: CORE4563

Nicolas Timmers
tanks

-----Mensagem original-----
De: Jiří Činčura [mailto:[hidden email]]
Enviada em: segunda-feira, 20 de fevereiro de 2017 18:01
Para: [hidden email]
Assunto: Re: [Firebird-net-provider] CORE4563

It's linked to that ticket:
http://tracker.firebirdsql.org/browse/DNET-726 .

--
Mgr. Jiří Činčura
Independent IT Specialist

On Mon, Feb 20, 2017, at 19:40, Nicolas Timmers wrote:

> Hello everyone
>
> With the release of version 2.5.7, we have the item
>
> Http://tracker.firebirdsql.org/browse/CORE-4563
>
> Has been implemented, I would like to know if you will need
> modifications to .net provider?
> ----------------------------------------------------------------------
> -------- Check out the vibrant tech community on one of the world's
> most engaging tech sites, SlashDot.org! http://sdm.link/slashdot 
> _______________________________________________
> Firebird-net-provider mailing list
> [hidden email]
> https://lists.sourceforge.net/lists/listinfo/firebird-net-provider

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most engaging tech sites, SlashDot.org! http://sdm.link/slashdot _______________________________________________
Firebird-net-provider mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/firebird-net-provider
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
Firebird-net-provider mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/firebird-net-provider
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

RES: CORE4563

Nicolas Timmers
In reply to this post by Jiří Činčura-2
Hello,

In the version of provider 4.10 we made a change to prevent the error of "Arithmetic overflow string truncation"

What I did was the following I accessed the file "XdrStream.cs",

I was looking for this part of the code

Throw new IscException (new [] {IscCodes.isc_arith_except, IscCodes.isc_string_truncation});

And I applied a "substring"
Svalue = svalue.Substring (0, param.CharCount);

But I'm thinking of upgrading to version 5.7 but I no longer find the part of the code,

Is very important this change because I have no feasibility to change the whole system where the parameters are passed to put the size of the field, is there a solution to this?



-----Mensagem original-----
De: Jiří Činčura [mailto:[hidden email]]
Enviada em: segunda-feira, 20 de fevereiro de 2017 18:01
Para: [hidden email]
Assunto: Re: [Firebird-net-provider] CORE4563

It's linked to that ticket:
http://tracker.firebirdsql.org/browse/DNET-726 .

--
Mgr. Jiří Činčura
Independent IT Specialist

On Mon, Feb 20, 2017, at 19:40, Nicolas Timmers wrote:

> Hello everyone
>
> With the release of version 2.5.7, we have the item
>
> Http://tracker.firebirdsql.org/browse/CORE-4563
>
> Has been implemented, I would like to know if you will need
> modifications to .net provider?
> ----------------------------------------------------------------------
> -------- Check out the vibrant tech community on one of the world's
> most engaging tech sites, SlashDot.org! http://sdm.link/slashdot 
> _______________________________________________
> Firebird-net-provider mailing list
> [hidden email]
> https://lists.sourceforge.net/lists/listinfo/firebird-net-provider

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most engaging tech sites, SlashDot.org! http://sdm.link/slashdot _______________________________________________
Firebird-net-provider mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/firebird-net-provider
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
Firebird-net-provider mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/firebird-net-provider
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: RES: CORE4563

Jiří Činčura-2
> But I'm thinking of upgrading to version 5.7 but I no longer find the
> part of the code,

Did you at least try to grep the sources? It's like one second operation
and easy result. It's in
https://github.com/cincuranet/FirebirdSql.Data.FirebirdClient/blob/master/Provider/src/FirebirdSql.Data.FirebirdClient/Client/Managed/Version10/GdsStatement.cs#L778
.

> Is very important this change because I have no feasibility to change the
> whole system where the parameters are passed to put the size of the
> field, is there a solution to this?

I would strongly advice you to fix your code, instead of band-aiding
sources. Your hack is very dangerous and you will eventually loose data.

--
Mgr. Jiří Činčura
Independent IT Specialist

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
Firebird-net-provider mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/firebird-net-provider
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

RES: RES: CORE4563

Nicolas Timmers
Excuse me,
Yes I tried to search I do not know why I did not find this part of the code, but thank you very much for having spent your time and for having responded with this part this is very useful for me and my company,


With regard to the part of tidying up my code I do not understand the reason and maybe you could clarify to me, because I have applications in SQL Server and MySQL of which they do not need too, and in these the provider seems to do this operation, what would be the reason of not changing Does the provider already do this? What would be the impact?


-----Mensagem original-----
De: Jiří Činčura [mailto:[hidden email]]
Enviada em: terça-feira, 21 de fevereiro de 2017 09:31
Para: For users and developers of the Firebird .NET providers <[hidden email]>
Assunto: Re: [Firebird-net-provider] RES: CORE4563

> But I'm thinking of upgrading to version 5.7 but I no longer find the
> part of the code,

Did you at least try to grep the sources? It's like one second operation and easy result. It's in
https://github.com/cincuranet/FirebirdSql.Data.FirebirdClient/blob/master/Provider/src/FirebirdSql.Data.FirebirdClient/Client/Managed/Version10/GdsStatement.cs#L778
.

> Is very important this change because I have no feasibility to change
> the whole system where the parameters are passed to put the size of
> the field, is there a solution to this?

I would strongly advice you to fix your code, instead of band-aiding sources. Your hack is very dangerous and you will eventually loose data.

--
Mgr. Jiří Činčura
Independent IT Specialist

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most engaging tech sites, SlashDot.org! http://sdm.link/slashdot _______________________________________________
Firebird-net-provider mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/firebird-net-provider
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
Firebird-net-provider mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/firebird-net-provider
Loading...