Re: [Firebird-net-provider] RES: CORE4563

2017-02-21 Thread Jiří Činčura
> 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
Firebird-net-provider@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/firebird-net-provider


[Firebird-net-provider] RES: CORE4563

2017-02-21 Thread Nicolas Timmers
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:j...@cincura.net] 
Enviada em: segunda-feira, 20 de fevereiro de 2017 18:01
Para: firebird-net-provider@lists.sourceforge.net
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
> Firebird-net-provider@lists.sourceforge.net
> 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
Firebird-net-provider@lists.sourceforge.net
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
Firebird-net-provider@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/firebird-net-provider


[Firebird-net-provider] RES: CORE4563

2017-02-21 Thread Nicolas Timmers
tanks

-Mensagem original-
De: Jiří Činčura [mailto:j...@cincura.net] 
Enviada em: segunda-feira, 20 de fevereiro de 2017 18:01
Para: firebird-net-provider@lists.sourceforge.net
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
> Firebird-net-provider@lists.sourceforge.net
> 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
Firebird-net-provider@lists.sourceforge.net
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
Firebird-net-provider@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/firebird-net-provider