mirror of
https://github.com/ncruces/go-sqlite3.git
synced 2026-01-12 05:59:14 +00:00
Checksum VFS. (#176)
This commit is contained in:
BIN
tests/testdata/utf16be.db
vendored
BIN
tests/testdata/utf16be.db
vendored
Binary file not shown.
BIN
tests/testdata/wal.db
vendored
BIN
tests/testdata/wal.db
vendored
Binary file not shown.
@@ -77,7 +77,7 @@ func TestWAL_readonly(t *testing.T) {
|
||||
|
||||
// Select the data using the second (readonly) connection.
|
||||
var name string
|
||||
err = db2.QueryRow("SELECT name FROM t").Scan(&name)
|
||||
err = db2.QueryRow(`SELECT name FROM t`).Scan(&name)
|
||||
if err != nil {
|
||||
t.Fatal(err)
|
||||
}
|
||||
@@ -95,7 +95,7 @@ func TestWAL_readonly(t *testing.T) {
|
||||
}
|
||||
|
||||
// Select the data using the second (readonly) connection.
|
||||
err = db2.QueryRow("SELECT name FROM t").Scan(&name)
|
||||
err = db2.QueryRow(`SELECT name FROM t`).Scan(&name)
|
||||
if err != nil {
|
||||
t.Fatal(err)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user