Skip to content

Commit

Permalink
PATCH: patches/com_github_scionproto_scion/db_use_mattn_sqlite.patch
Browse files Browse the repository at this point in the history
  • Loading branch information
oncilla committed Nov 1, 2023
1 parent c787990 commit cb459a5
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 5 deletions.
4 changes: 2 additions & 2 deletions private/storage/db/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -9,15 +9,15 @@ go_library(
"metrics.go",
"sqler.go",
"sqlite.go",
"sqlite_modernc.go",
"sqlite_mattn.go",
],
importpath = "github.com/scionproto/scion/private/storage/db",
visibility = ["//visibility:public"],
deps = [
"//pkg/private/common:go_default_library",
"//pkg/private/prom:go_default_library",
"//pkg/private/serrors:go_default_library",
"@org_modernc_sqlite//:go_default_library",
"@com_github_mattn_go_sqlite3//:go_default_library",
],
)

Expand Down
2 changes: 0 additions & 2 deletions private/storage/db/sqlite_mattn.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,6 @@
// See the License for the specific language governing permissions and
// limitations under the License.

//go:build sqlite_mattn

package db

import (
Expand Down
2 changes: 1 addition & 1 deletion private/storage/db/sqlite_modernc.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.

//go:build sqlite_modernc || !sqlite_mattn
//go:build sqlite_modernc

// Note that above go:build expression makes modernc the default by matching
// the absence of sqlite_mattn. Should there be more alternatives, please
Expand Down

0 comments on commit cb459a5

Please sign in to comment.