execInt: rethrow if no_rows, so callers can handle it

Este commit está contenido en:
Albert S. 2018-11-05 10:48:30 +01:00
padre 538d9e8b2d
commit 6aadd43ff4
Se han modificado 1 ficheros con 4 adiciones y 0 borrados

Ver fichero

@ -44,6 +44,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);