- removed position parameter to setParamSetSize() (not used)

- execute call in SQLChannel wrapped in try-catch
This commit is contained in:
Aleksandar Fabijanic
2008-02-06 02:29:09 +00:00
parent 10f9d4befb
commit eeb285bb93
3 changed files with 18 additions and 11 deletions

View File

@@ -142,7 +142,14 @@ void SQLChannel::logSync(const Message& msg)
_dateTime = msg.getTime();
if (_source.empty()) _source = _name;
_pLogStatement->execute();
try
{
_pLogStatement->execute();
}
catch (Exception&)
{
if (_throw) throw;
}
}