Fixes crash when calling numRows on unknown query type (ibase)
Fixes crash when calling numRows on unknown query type (ibase)

Reviewed-by: Justin McPherson
(cherry picked from commit b2d7bcf1e77e8b9bc8fc1b40777907d7a8d47c09)

pruiz/wkhtmltopdf-qt,KDE/qt,RLovelett/qt,igor-sfdc/qt-wk,radekp/qt,KDE/qt,igor-sfdc/qt-wk,RLovelett/qt,radekp/qt,igor-sfdc/qt-wk,igor-sfdc/qt-wk,pruiz/wkhtmltopdf-qt,pruiz/wkhtmltopdf-qt,RLovelett/qt,pruiz/wkhtmltopdf-qt,pruiz/wkhtmltopdf-qt,pruiz/wkhtmltopdf-qt,RLovelett/qt,RLovelett/qt,pruiz/wkhtmltopdf-qt,radekp/qt,KDE/qt,KDE/qt,RLovelett/qt,pruiz/wkhtmltopdf-qt,radekp/qt,radekp/qt,igor-sfdc/qt-wk,pruiz/wkhtmltopdf-qt,igor-sfdc/qt-wk,pruiz/wkhtmltopdf-qt,radekp/qt,KDE/qt,RLovelett/qt,radekp/qt,radekp/qt,pruiz/wkhtmltopdf-qt,RLovelett/qt,RLovelett/qt,igor-sfdc/qt-wk,KDE/qt,KDE/qt,radekp/qt,igor-sfdc/qt-wk,RLovelett/qt,igor-sfdc/qt-wk,igor-sfdc/qt-wk,KDE/qt,RLovelett/qt,radekp/qt,igor-sfdc/qt-wk