execInt: rethrow if no_rows, so callers can handle it

Bu işleme şunda yer alıyor:
Albert S. 2018-11-05 10:48:30 +01:00
ebeveyn f349c7dc00
işleme c07d0f66ef
1 değiştirilmiş dosya ile 4 ekleme ve 0 silme

Dosyayı Görüntüle

@ -45,6 +45,10 @@ int SqliteDao::execInt(sqlite::database_binder &binder) const
binder >> result;
return result;
}
catch(sqlite::exceptions::no_rows &e)
{
throw;
}
catch(sqlite::sqlite_exception &e)
{
throwFrom(e);