Merge pull request #4985 from dolthub/james/prepareds

adding tests for `prepared`, `execute`, and `deallocate`
This commit is contained in:
James Cor
2022-12-16 14:05:59 -08:00
committed by GitHub
3 changed files with 9 additions and 4 deletions

View File

@@ -58,7 +58,7 @@ require (
github.com/cenkalti/backoff/v4 v4.1.3
github.com/cespare/xxhash v1.1.0
github.com/creasty/defaults v1.6.0
github.com/dolthub/go-mysql-server v0.14.1-0.20221216074217-2c595635c10a
github.com/dolthub/go-mysql-server v0.14.1-0.20221216191958-39ee1ee83482
github.com/google/flatbuffers v2.0.6+incompatible
github.com/kch42/buzhash v0.0.0-20160816060738-9bdec3dec7c6
github.com/mitchellh/go-ps v1.0.0

View File

@@ -161,8 +161,8 @@ github.com/dolthub/flatbuffers v1.13.0-dh.1 h1:OWJdaPep22N52O/0xsUevxJ6Qfw1M2txC
github.com/dolthub/flatbuffers v1.13.0-dh.1/go.mod h1:CorYGaDmXjHz1Z7i50PYXG1Ricn31GcA2wNOTFIQAKE=
github.com/dolthub/fslock v0.0.3 h1:iLMpUIvJKMKm92+N1fmHVdxJP5NdyDK5bK7z7Ba2s2U=
github.com/dolthub/fslock v0.0.3/go.mod h1:QWql+P17oAAMLnL4HGB5tiovtDuAjdDTPbuqx7bYfa0=
github.com/dolthub/go-mysql-server v0.14.1-0.20221216074217-2c595635c10a h1:tKBMqTIuOjCli2mk2+fscF69plQbGuAkc1vhFnf68+g=
github.com/dolthub/go-mysql-server v0.14.1-0.20221216074217-2c595635c10a/go.mod h1:t/oSRkxu+4cg7KAJ4mK6q62hdzkyeTmRqKrsSq2DZTU=
github.com/dolthub/go-mysql-server v0.14.1-0.20221216191958-39ee1ee83482 h1:tpPas1HAT71btDc5txXhFP9hXelBilivtFOIJ1lDLHE=
github.com/dolthub/go-mysql-server v0.14.1-0.20221216191958-39ee1ee83482/go.mod h1:t/oSRkxu+4cg7KAJ4mK6q62hdzkyeTmRqKrsSq2DZTU=
github.com/dolthub/ishell v0.0.0-20221214210346-d7db0b066488 h1:0HHu0GWJH0N6a6keStrHhUAK5/o9LVfkh44pvsV4514=
github.com/dolthub/ishell v0.0.0-20221214210346-d7db0b066488/go.mod h1:ehexgi1mPxRTk0Mok/pADALuHbvATulTh6gzr7NzZto=
github.com/dolthub/jsonpath v0.0.0-20210609232853-d49537a30474 h1:xTrR+l5l+1Lfq0NvhiEsctylXinUMFhhsqaEcl414p8=

View File

@@ -46,7 +46,7 @@ var skipPrepared bool
// SkipPreparedsCount is used by the "ci-check-repo CI workflow
// as a reminder to consider prepareds when adding a new
// enginetest suite.
const SkipPreparedsCount = 84
const SkipPreparedsCount = 83
const skipPreparedFlag = "DOLT_SKIP_PREPARED_ENGINETESTS"
@@ -1454,6 +1454,11 @@ func TestPreparedInsert(t *testing.T) {
enginetest.TestPreparedInsert(t, newDoltHarness(t))
}
func TestPreparedStatements(t *testing.T) {
skipPreparedTests(t)
enginetest.TestPreparedStatements(t, newDoltHarness(t))
}
func TestCharsetCollationEngine(t *testing.T) {
skipOldFormat(t)
enginetest.TestCharsetCollationEngine(t, newDoltHarness(t))