Return last insert ID correctly when the feature is enabled.
Return last insert ID correctly when the feature is enabled.

This was overlooked when merging the patch from #3460 in r10029.
Thank to Ian Kelly for noticing. Refs #10467.

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

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