Fixed breakage of test suite for Oracle by adding a null check.
Fixed breakage of test suite for Oracle by adding a null check.


git-svn-id: 4f9f921b081c523744c7bf24d959a0db39629563@5992 bcc190cf-cafb-0310-a4f2-bffc1f526a37

hugs/django,t11e/django,bfirsh/django-old,jamespacileo/django-france,skevy/django,alex/django-old,jamespacileo/django-france,jamespacileo/django-france,sam-tsai/django-old,mitsuhiko/django,Smarsh/django,t11e/django,dcramer/django-compositepks,alex/django-old,dcramer/django-compositepks,mitsuhiko/django,disqus/django-old,Smarsh/django,skevy/django,django-nonrel/django-nonrel,sam-tsai/django-old,django-nonrel/django-nonrel,sam-tsai/django-old,Smarsh/django,disqus/django-old,dcramer/django-compositepks,disqus/django-old,t11e/django,hugs/django,skevy/django,Instagram/django,Instagram/django,sam-tsai/django-old,mitsuhiko/django,Instagram/django,bfirsh/django-old,hugs/django,alex/django-old,Smarsh/django,bfirsh/django-old,django-nonrel/django-nonrel