MySqlCommand CommandTimeout infinite?
Posted by: Claire Humphrey
Date: August 25, 2010 01:59AM

Would someone clarify whether .net connector commandtimeout = 0 should set an infinite value please?
Im running connector version 6.2.3 and when I try to set CommandTimeout to 0 it remains at the default of 30. I don't know if this is intended or not.

Months ago, (with older versions of the connector) I used to set command timeout to 0 as part of the connection string and long queries wouldn't timeout.
I found yesterday that this method wasn't working on a large test database, so tried to use the connector's CommandTimeout instead.

Options: ReplyQuote


Subject
Written By
Posted
MySqlCommand CommandTimeout infinite?
August 25, 2010 01:59AM


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.