Re: Command.CommandTimeout bug
Posted by: Reggie Burnett
Date: October 25, 2006 09:20AM

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.

Options: ReplyQuote


Subject
Written By
Posted
October 23, 2006 08:51AM
October 24, 2006 12:56PM
Re: Command.CommandTimeout bug
October 25, 2006 09:20AM
October 26, 2006 01:50AM
October 28, 2006 02:34AM


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.