Add: PRAGMA secure_delete

ADD: Connection PRAGMA
ADD: Build tag for secure_delete mode: FAST
This commit is contained in:
Gert-Jan Timmer
2018-05-29 13:41:52 +02:00
parent 764e391156
commit 6a80b70b7a
4 changed files with 53 additions and 1 deletions

View File

@@ -0,0 +1,15 @@
// Copyright (C) 2014 Yasuhiro Matsumoto <mattn.jp@gmail.com>.
// Copyright (C) 2018 G.J.R. Timmer <gjr.timmer@gmail.com>.
//
// Use of this source code is governed by an MIT-style
// license that can be found in the LICENSE file.
// +build sqlite_secure_delete_fast
package sqlite3
/*
#cgo CFLAGS: -DSQLITE_SECURE_DELETE=FAST
#cgo LDFLAGS: -lm
*/
import "C"