1
0
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:
drh
2010-02-25 21:27:58 +00:00
parent 887d4b2b43
commit bee8065e37
5 changed files with 27 additions and 15 deletions

View File

@@ -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);