add sqlite_dbstat tag for the DBSTAT virtual table

Used to gather statistics information about table disk usage.
This commit is contained in:
Jakob Borg
2025-05-20 11:51:48 +02:00
parent 20826e87d8
commit 822b476511
2 changed files with 16 additions and 0 deletions

15
sqlite3_opt_dbstat.go Normal file
View File

@@ -0,0 +1,15 @@
// Copyright (C) 2025 Yasuhiro Matsumoto <mattn.jp@gmail.com>.
// Copyright (C) 2025 Jakob Borg <jakob@kastelo.net>.
//
// Use of this source code is governed by an MIT-style
// license that can be found in the LICENSE file.
//go:build sqlite_dbstat
// +build sqlite_dbstat
package sqlite3
/*
#cgo CFLAGS: -DSQLITE_ENABLE_DBSTAT_VTAB
*/
import "C"