execInt: rethrow if no_rows, so callers can handle it
This commit is contained in:
父節點
538d9e8b2d
當前提交
6aadd43ff4
@ -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);
|
||||
|
載入中…
新增問題並參考
Block a user