Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit d8de33a

Browse files
author
Noah
committed
Fixed Issue 129
1 parent 3b57ba8 commit d8de33a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Community.CsharpSqlite/src/printf_c.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1392,7 +1392,7 @@ static void renderLogMsg( int iErrCode, string zFormat, params object[] ap )
13921392
*/
13931393
static void sqlite3_log( int iErrCode, string zFormat, params va_list[] ap )
13941394
{
1395-
if ( sqlite3GlobalConfig.xLog != null )
1395+
if (sqlite3GlobalConfig != null && sqlite3GlobalConfig.xLog != null)
13961396
{
13971397
//va_list ap; /* Vararg list */
13981398
lock ( lock_va_list )

0 commit comments

Comments
 (0)