[DB2] fix db2 = null issue #506

Merged
merged 2 commits into from Dec 12, 2013

Conversation

Projects
None yet
2 participants
@pierrickrouxel
Contributor

pierrickrouxel commented Nov 28, 2013

Hi,

DB2 doesn't support instructions like

WHERE field = NULL

the correct syntax is

WHERE field IS NULL

Thanks.

@kares

This comment has been minimized.

Show comment
Hide comment
@kares

kares Nov 28, 2013

Member

Thanks Pierrick, did you test with DB2 as well or "only" AS4k/i ? Cause on "regular" DB2 this should not be needed ...

Member

kares commented Nov 28, 2013

Thanks Pierrick, did you test with DB2 as well or "only" AS4k/i ? Cause on "regular" DB2 this should not be needed ...

@pierrickrouxel

This comment has been minimized.

Show comment
Hide comment
@pierrickrouxel

pierrickrouxel Nov 28, 2013

Contributor

I hadn't test but you can get information in this IBM doc :

https://www.ibm.com/developerworks/community/blogs/SQLTips4DB2LUW/entry/null43?lang=en

A colleague who is experimented with DB2 for luw has confirmed the information.

Contributor

pierrickrouxel commented Nov 28, 2013

I hadn't test but you can get information in this IBM doc :

https://www.ibm.com/developerworks/community/blogs/SQLTips4DB2LUW/entry/null43?lang=en

A colleague who is experimented with DB2 for luw has confirmed the information.

@kares

This comment has been minimized.

Show comment
Hide comment
@kares

kares Nov 28, 2013

Member

OK ... could we have a test for it than ? THX

Member

kares commented Nov 28, 2013

OK ... could we have a test for it than ? THX

@pierrickrouxel

This comment has been minimized.

Show comment
Hide comment
@pierrickrouxel

pierrickrouxel Dec 10, 2013

Contributor

Done... Copied from informix.

Contributor

pierrickrouxel commented Dec 10, 2013

Done... Copied from informix.

kares added a commit that referenced this pull request Dec 12, 2013

@kares kares merged commit 8fcb726 into jruby:master Dec 12, 2013

1 check failed

default The Travis CI build failed
Details
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment