From fbcd6c356d188067062b608cd338d408b4439516 Mon Sep 17 00:00:00 2001 From: s441433 Date: Fri, 28 Dec 2018 22:14:02 +0100 Subject: [PATCH] Create sqlite3_opt_vacuum_full.go --- .../mattn/go-sqlite3/sqlite3_opt_vacuum_full.go | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 src/github.com/mattn/go-sqlite3/sqlite3_opt_vacuum_full.go diff --git a/src/github.com/mattn/go-sqlite3/sqlite3_opt_vacuum_full.go b/src/github.com/mattn/go-sqlite3/sqlite3_opt_vacuum_full.go new file mode 100644 index 0000000..a202c80 --- /dev/null +++ b/src/github.com/mattn/go-sqlite3/sqlite3_opt_vacuum_full.go @@ -0,0 +1,15 @@ +// Copyright (C) 2014 Yasuhiro Matsumoto . +// Copyright (C) 2018 G.J.R. Timmer . +// +// Use of this source code is governed by an MIT-style +// license that can be found in the LICENSE file. + +// +build sqlite_vacuum_full + +package sqlite3 + +/* +#cgo CFLAGS: -DSQLITE_DEFAULT_AUTOVACUUM=1 +#cgo LDFLAGS: -lm +*/ +import "C"