mirror of
https://github.com/mattn/go-sqlite3.git
synced 2025-05-24 14:54:48 +00:00
This commit adds the `sqlite_os_trace` build tag which sets the `SQLITE_FORCE_OS_TRACE` and `SQLITE_DEBUG_OS_TRACE` compilation flags. This produces verbose debugging output of every operating system call made by SQLite.
16 lines
338 B
Go
16 lines
338 B
Go
// Copyright (C) 2022 Yasuhiro Matsumoto <mattn.jp@gmail.com>.
|
|
//
|
|
// Use of this source code is governed by an MIT-style
|
|
// license that can be found in the LICENSE file.
|
|
|
|
//go:build sqlite_os_trace
|
|
// +build sqlite_os_trace
|
|
|
|
package sqlite3
|
|
|
|
/*
|
|
#cgo CFLAGS: -DSQLITE_FORCE_OS_TRACE=1
|
|
#cgo CFLAGS: -DSQLITE_DEBUG_OS_TRACE=1
|
|
*/
|
|
import "C"
|