execInt: rethrow if no_rows, so callers can handle it
Tento commit je obsažen v:
rodič
f349c7dc00
revize
c07d0f66ef
@ -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);
|
||||
|
Načítá se…
Odkázat v novém úkolu
Zablokovat Uživatele