Fixed small multi-db compatibility issue in the Oracle backend.
Fixed small multi-db compatibility issue in the Oracle backend.

Also, converted a couple of constructs to a more Python idiomatic form.

--HG--
extra : convert_revision : svn%3Abcc190cf-cafb-0310-a4f2-bffc1f526a37/django/trunk%4014512

adieu/django-nonrel,adieu/django-nonrel,adieu/django-nonrel