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)

Reply via email to