[Opensource] bug in DBObject saveBinaryField

Michael Rimov rimovm at centercomp.com
Wed Nov 6 18:55:47 PST 2002


At 12:02 PM 11/6/2002 +0800, you wrote:
>Hi!
>in the method
>
>public void saveBinaryField(String fieldName,
>                                 InputStream incomingData,
>                                 int dataLength)
>
>it should be
>
>         if (this.localConnection == null) {
>             connectionPool = DBConnectionPool.getInstance(this.getDBName());
>             myConnection = connectionPool.getConnection();
>         }
>
>instead of
>
>         if (this.localConnection == null) {
>             connectionPool = DBConnectionPool.getInstance(this.getDBName());
>         }

Fixed in the code, which will be checked into both branches 
tonight.  You'll see the fix in 5.0.2
                                                 -Mike





More information about the Opensource mailing list