MCPcopy Create free account
hub / github.com/GaijinEntertainment/daScript / shellLog

Function shellLog

modules/dasSQLITE/sqlite/shell.c:16595–16600  ·  view source on GitHub ↗

** A callback for the sqlite3_log() interface. */

Source from the content-addressed store, hash-verified

16593** A callback for the sqlite3_log() interface.
16594*/
16595static void shellLog(void *pArg, int iErrCode, const char *zMsg){
16596 ShellState *p = (ShellState*)pArg;
16597 if( p->pLog==0 ) return;
16598 utf8_printf(p->pLog, "(%d) %s\n", iErrCode, zMsg);
16599 fflush(p->pLog);
16600}
16601
16602/*
16603** SQL function: shell_putsnl(X)

Callers

nothing calls this directly

Calls 1

utf8_printfFunction · 0.85

Tested by

no test coverage detected