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

@@ -1,4 +1,5 @@
// 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.
@@ -8,7 +9,7 @@
package sqlite3
/*
#cgo CFLAGS: -DSQLITE_SECURE_DELETE
#cgo CFLAGS: -DSQLITE_SECURE_DELETE=1
#cgo LDFLAGS: -lm
*/
import "C"