Another patch

From: "Dave Cramer" <Dave(at)micro-automation(dot)net>
To: <pgsql-jdbc(at)postgresql(dot)org>
Subject: Another patch
Date: 2001-05-09 11:20:54
Message-ID: 011801c0d87a$1ce5b600$0401a8c0@INSPIRON
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-jdbc

Hopefully we can slip this in before 7.1.1

This patch fixes a bug which occurs when setObject(1,obj) is called and obj
is of type Object, and is null

Regards,

Dave

[root(at)ebox2 jdbc2]# diff PreparedStatement.java.orig PreparedStatement.java
517a518,521
> if (null == x){
> setNull(parameterIndex,Types.OTHER);
> return;
> }
568a573,576
> if (null == x){
> setNull(parameterIndex,Types.OTHER);
> return;
> }

In response to

Browse pgsql-jdbc by date

  From Date Subject
Next Message Richard Bullington-McGuire 2001-05-09 12:03:18 Re: Outstanding patches
Previous Message Philip Warner 2001-05-09 10:17:13 Re: Outstanding patches