Fixed some breakages in the Oracle test database handling from r10026.
Fixed some breakages in the Oracle test database handling from r10026.

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

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