DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUGĀ·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=35542>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED ANDĀ·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=35542





------- Additional Comments From [EMAIL PROTECTED]  2005-06-29 17:12 -------
Created an attachment (id=15560)
 --> (http://issues.apache.org/bugzilla/attachment.cgi?id=15560&action=view)
fixed patch

The patch contains exactly one code (not doc) fix:

DriverAdapterCPDS.java
         if (isPoolPreparedStatements()) {
-            if (getMaxPreparedStatements() == -1)
+            if (getMaxPreparedStatements() <= 0)
             {
                 // since there is no limit

As docs now says that "non-positive" maxPreparedStatements stands for "no
limit", and since this is the semantics of maxTotal in GenericKeyedObjectPool
(where _maxPreparedStatements ends in) I think it is appropriate to change code
like this.

Sorry, my prev version of patch was in error at this exactly place.


-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to