Better database query error handling.
Better database query error handling.

When returning due to an error, close the rows object.  Additionally,
when rows.Next returns false, check if it was caused by an error.

rayyang2000/mig,pap/mig,rezen/mig,pap/mig,deathping1994/mig,zerosign/mig,ameihm0912/mig,ameihm0912/mig,pap/mig,therealkbhat/mig,vladimirdiaconescu/mig,datachand/mig,rezen/mig,jboyer2012/mig,sunnygkp10/mig,vladimirdiaconescu/mig,gdestuynder/mig,rayyang2000/mig,therealkbhat/mig,gdestuynder/mig,deathping1994/mig,sunnygkp10/mig,therealkbhat/mig,vladimirdiaconescu/mig,gdestuynder/mig,mvanotti/mig,mozilla/mig,zerosign/mig,djmitche/mig,zerosign/mig,rezen/mig,ameihm0912/mig,yvesago/mig,mozilla/mig,yvesago/mig,mvanotti/mig,deathping1994/mig,datachand/mig,pap/mig,therealkbhat/mig,mvanotti/mig,mvanotti/mig,datachand/mig,jvehent/mig,djmitche/mig,jboyer2012/mig,yvesago/mig,rezen/mig,rayyang2000/mig,zerosign/mig,jboyer2012/mig,sunnygkp10/mig,yvesago/mig,datachand/mig,gdestuynder/mig,mozilla/mig,sunnygkp10/mig,mozilla/mig,deathping1994/mig,mozilla/mig,vladimirdiaconescu/mig,jvehent/mig,jvehent/mig,rayyang2000/mig,jvehent/mig,jboyer2012/mig