From 4786c570dd63dbeb0a81c7f4c7d13b55cf686d81 Mon Sep 17 00:00:00 2001 From: zachmu Date: Wed, 17 Jan 2024 02:03:54 +0000 Subject: [PATCH 1/2] [ga-format-pr] Run go/utils/repofmt/format_repo.sh and go/Godeps/update.sh --- go/libraries/doltcore/sqle/database.go | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/go/libraries/doltcore/sqle/database.go b/go/libraries/doltcore/sqle/database.go index 81100075f0..b0f79a1440 100644 --- a/go/libraries/doltcore/sqle/database.go +++ b/go/libraries/doltcore/sqle/database.go @@ -1353,12 +1353,12 @@ func (db Database) GetEvents(ctx *sql.Context) (events []sql.EventDefinition, to // NeedsToReloadEvents implements sql.EventDatabase. func (db Database) NeedsToReloadEvents(ctx *sql.Context, token interface{}) (bool, error) { - // A nil token means no events in this db. If the dolt_schemas table doesn't exist, it will have a zero hash below - // as well, meaning we don't reload events in that case. + // A nil token means no events in this db. If the dolt_schemas table doesn't exist, it will have a zero hash below + // as well, meaning we don't reload events in that case. if token == nil { token = hash.Hash{} } - + hash, ok := token.(hash.Hash) if !ok { return false, fmt.Errorf("expected token to be hash.Hash, but received %T", token) @@ -1368,7 +1368,7 @@ func (db Database) NeedsToReloadEvents(ctx *sql.Context, token interface{}) (boo if err != nil { return false, err } - + // If the current hash doesn't match what we last loaded, then we // need to reload event definitions return !tableHash.Equal(hash), nil From 0fbc1e202c5c39c17569ee4e70d5b215adf2def1 Mon Sep 17 00:00:00 2001 From: coffeegoddd Date: Wed, 17 Jan 2024 02:23:33 +0000 Subject: [PATCH 2/2] [skip actions] [ga-update-correctness] SQL Correctness updated to 99.996126 --- .github/scripts/sql-correctness/current_correctness.txt | 1 + 1 file changed, 1 insertion(+) create mode 100644 .github/scripts/sql-correctness/current_correctness.txt diff --git a/.github/scripts/sql-correctness/current_correctness.txt b/.github/scripts/sql-correctness/current_correctness.txt new file mode 100644 index 0000000000..64fdf9067c --- /dev/null +++ b/.github/scripts/sql-correctness/current_correctness.txt @@ -0,0 +1 @@ +99.996126