From 2d57e924461ba79e452788972b5af3d12061759c Mon Sep 17 00:00:00 2001 From: Matthias Fasching <5011972+fasmat@users.noreply.github.com> Date: Fri, 8 Sep 2023 17:34:58 +0000 Subject: [PATCH] Fix import for github.com/go-llsqlite/crawshaw (#4978) ## Motivation The library has been renamed from `github.com/go-llsqlite/llsqlite` to `github.com/go-llsqlite/crawshaw`. The old URL links to the new repository. ## Changes - Update import paths and update dependency to most recent version ## Test Plan existing tests pass ## TODO - [x] Explain motivation or link existing issue(s) - [x] Test changes and document test plan - [x] Update documentation as needed - [ ] Update [changelog](../CHANGELOG.md) as needed --- go.mod | 2 +- go.sum | 4 ++-- sql/database.go | 4 ++-- sql/functions.go | 2 +- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/go.mod b/go.mod index 80da2ba1df3..1c672530225 100644 --- a/go.mod +++ b/go.mod @@ -8,7 +8,7 @@ require ( github.com/benbjohnson/clock v1.3.5 github.com/chaos-mesh/chaos-mesh/api v0.0.0-20230907091128-3c83a50b6d59 github.com/cosmos/btcutil v1.0.5 - github.com/go-llsqlite/llsqlite v0.0.0-20230612031458-a9e271fe723a + github.com/go-llsqlite/crawshaw v0.0.0-20230904103556-219a9360a2c0 github.com/gofrs/flock v0.8.1 github.com/golang/protobuf v1.5.3 github.com/google/go-cmp v0.5.9 diff --git a/go.sum b/go.sum index eca50086084..325d1bfc582 100644 --- a/go.sum +++ b/go.sum @@ -161,8 +161,8 @@ github.com/go-gl/glfw v0.0.0-20190409004039-e6da0acd62b1/go.mod h1:vR7hzQXu2zJy9 github.com/go-gl/glfw/v3.3/glfw v0.0.0-20191125211704-12ad95a8df72/go.mod h1:tQ2UAYgL5IevRw8kRxooKSPJfGvJ9fJQFa0TUsXzTg8= github.com/go-gl/glfw/v3.3/glfw v0.0.0-20200222043503-6f7a984d4dc4/go.mod h1:tQ2UAYgL5IevRw8kRxooKSPJfGvJ9fJQFa0TUsXzTg8= github.com/go-kit/log v0.1.0/go.mod h1:zbhenjAZHb184qTLMA9ZjW7ThYL0H2mk7Q6pNt4vbaY= -github.com/go-llsqlite/llsqlite v0.0.0-20230612031458-a9e271fe723a h1:2GgRlm6BrV7CIOjjE/o7WJs6foe33AqCQC8bnl1RJQc= -github.com/go-llsqlite/llsqlite v0.0.0-20230612031458-a9e271fe723a/go.mod h1:suaTfGNQ00ObHGOoHxPb8pkAki7jm0/ZkR2rcY9yF1s= +github.com/go-llsqlite/crawshaw v0.0.0-20230904103556-219a9360a2c0 h1:gBgO8x7vT06pP8D3v/IQ38mBnITO8lUDQyTq9nilUaI= +github.com/go-llsqlite/crawshaw v0.0.0-20230904103556-219a9360a2c0/go.mod h1:Hw0HOqxPMRCkOI87dESIgpdJrRR43OwYN0tbEFyG4OQ= github.com/go-logfmt/logfmt v0.5.0/go.mod h1:wCYkCAKZfumFQihp8CzCvQ3paCTfi41vtzG1KdI/P7A= github.com/go-logr/logr v1.2.0/go.mod h1:jdQByPbusPIv2/zmleS9BjJVeZ6kBagPoEUsqbVz/1A= github.com/go-logr/logr v1.2.2/go.mod h1:jdQByPbusPIv2/zmleS9BjJVeZ6kBagPoEUsqbVz/1A= diff --git a/sql/database.go b/sql/database.go index 0b839c25424..df95109e6f5 100644 --- a/sql/database.go +++ b/sql/database.go @@ -7,8 +7,8 @@ import ( "sync" "time" - "github.com/go-llsqlite/llsqlite" - "github.com/go-llsqlite/llsqlite/sqlitex" + sqlite "github.com/go-llsqlite/crawshaw" + "github.com/go-llsqlite/crawshaw/sqlitex" "github.com/prometheus/client_golang/prometheus" ) diff --git a/sql/functions.go b/sql/functions.go index 1d6b31a87d1..07f2c21c851 100644 --- a/sql/functions.go +++ b/sql/functions.go @@ -3,7 +3,7 @@ package sql import ( "fmt" - "github.com/go-llsqlite/llsqlite" + sqlite "github.com/go-llsqlite/crawshaw" ) func registerFunctions(conn *sqlite.Conn) error {