MCPcopy
hub / github.com/rqlite/rqlite / mustCreateOnDiskDatabaseWAL

Function mustCreateOnDiskDatabaseWAL

db/db_test.go:1517–1525  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1515}
1516
1517func mustCreateOnDiskDatabaseWAL() (*DB, string) {
1518 var err error
1519 f := mustTempFile()
1520 db, err := Open(f, false, true)
1521 if err != nil {
1522 panic("failed to open database in WAL mode")
1523 }
1524 return db, f
1525}
1526
1527func mustCreateOnDiskDatabaseWALFK() (*DB, string) {
1528 var err error

Callers 15

Test_DBVacuumFunction · 0.85
Test_DBVacuumIntoFunction · 0.85
Test_DBPathsFunction · 0.85
Test_TableCreationFunction · 0.85
Test_QueryReadOnlyFunction · 0.85
Test_DBSumsFunction · 0.85
Test_DBOptimizeFunction · 0.85
Test_TableCreationFKFunction · 0.85
Test_ConcurrentQueriesFunction · 0.85
Test_SQLForceQueryFunction · 0.85
Test_SQLForceQuery_ErrorFunction · 0.85

Calls 2

OpenFunction · 0.85
mustTempFileFunction · 0.70

Tested by

no test coverage detected