Re: Command.CommandTimeout bug
I've updated the documentation.
> However it seems that Commands that result in an ExecuteReader call do really
> get a timeout of 0s which means that almost no database call succeeds. This
>should be corrected I guess.
Can you show me how you think this? I don't see where this is the case.
>Finally when one sets the CommandTimeout property to Int32.MaxValue, then this
>will not work. The maximum value for the timeout is Int32.MaxValue / 1000
>becuase the value gets multiplied by 1000 at some point during the execution.
>This should be mentioned in the documentation if possible.
The value gets multipled by 1000 in the code because that part of the code needs the timeout in milliseconds, not seconds. The max value of CommandTimeout is indeed Int32.MaxValue.
Subject
Written By
Posted
Re: Command.CommandTimeout bug
October 25, 2006 09:20AM
Sorry, you can't reply to this topic. It has been closed.
Content reproduced on this site is the property of the respective copyright holders.
It is not reviewed in advance by Oracle and does not necessarily represent the opinion
of Oracle or any other party.