logging-log4net-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Maximilien Moussalli (JIRA)" <j...@apache.org>
Subject [jira] [Created] (LOG4NET-494) ArgumentOutOfRange with SQLite
Date Mon, 23 Nov 2015 10:46:10 GMT
Maximilien Moussalli created LOG4NET-494:
--------------------------------------------

             Summary: ArgumentOutOfRange with SQLite
                 Key: LOG4NET-494
                 URL: https://issues.apache.org/jira/browse/LOG4NET-494
             Project: Log4net
          Issue Type: Bug
          Components: Appenders, Other
    Affects Versions: 1.2.14
         Environment: Windows, .Net visual studio project
            Reporter: Maximilien Moussalli


In AdoNetAppender.cs at line 561 :	
param.FormatValue(dbCmd, e);

In SQLite we need to call the Prepare function before FormatValue :
param.Prepare(dbCmd);

If Prepare not called, then SQLite generate an ArgumentOutOfRangeException because the parameters
is not defined



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message