mirror of
https://github.com/sqlite/sqlite.git
synced 2025-11-14 00:22:38 +03:00
Test coverage enhancements. Additional documentation detail on the new
sqlite3_log() interface. FossilOrigin-Name: d986e9289388fd72257b26cb2f9c972177255cd4
This commit is contained in:
@@ -949,7 +949,7 @@ void sqlite3_log(int iErrCode, const char *zFormat, ...){
|
||||
char *zMsg; /* Complete log message */
|
||||
|
||||
xLog = sqlite3GlobalConfig.xLog;
|
||||
if( xLog && zFormat ){
|
||||
if( xLog ){
|
||||
va_start(ap, zFormat);
|
||||
sqlite3BeginBenignMalloc();
|
||||
zMsg = sqlite3_vmprintf(zFormat, ap);
|
||||
|
||||
Reference in New Issue
Block a user