execInt: rethrow if no_rows, so callers can handle it

这个提交包含在:
Albert S. 2018-11-05 10:48:30 +01:00
父节点 f349c7dc00
当前提交 c07d0f66ef
共有 1 个文件被更改,包括 4 次插入0 次删除

查看文件

@ -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);