KSQL_UNTRACE(3) Library Functions Manual KSQL_UNTRACE(3)

ksql_untrace
disable SQLite logging

library “ksql”

#include <sys/types.h>
#include <stdint.h>
#include <ksql.h>
enum ksqlc
ksql_untrace(struct ksql *sql);

The ksql_untrace function disables SQLite's internal error logging facility enabled by ksql_trace(3).
The ksql_untrace() function may only be called prior to ksql_open(3).

This returns KSQL_ALREADYOPEN if invoked after ksql_open(3) or KSQL_SYSTEM on system error. Otherwise, it returns KSQL_OK.

ksql_trace(3)
April 21, 2018 OpenBSD 6.4