mirror of
https://github.com/dolthub/dolt.git
synced 2026-04-20 11:22:31 -05:00
merge with main
This commit is contained in:
@@ -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 = 83
|
||||
const SkipPreparedsCount = 84
|
||||
|
||||
const skipPreparedFlag = "DOLT_SKIP_PREPARED_ENGINETESTS"
|
||||
|
||||
@@ -505,6 +505,11 @@ func TestBlobs(t *testing.T) {
|
||||
enginetest.TestBlobs(t, newDoltHarness(t))
|
||||
}
|
||||
|
||||
func TestIndexes(t *testing.T) {
|
||||
harness := newDoltHarness(t)
|
||||
enginetest.TestIndexes(t, harness)
|
||||
}
|
||||
|
||||
func TestIndexPrefix(t *testing.T) {
|
||||
skipOldFormat(t)
|
||||
harness := newDoltHarness(t)
|
||||
|
||||
@@ -718,22 +718,6 @@ var DoltScripts = []queries.ScriptTest{
|
||||
},
|
||||
},
|
||||
},
|
||||
{
|
||||
Name: "unique key violation prevents insert",
|
||||
SetUpScript: []string{
|
||||
"CREATE TABLE auniquetable (pk int primary key, uk int unique key, i int);",
|
||||
"INSERT INTO auniquetable VALUES(0,0,0);",
|
||||
"INSERT INTO auniquetable (pk,uk) VALUES(1,0) on duplicate key update i = 99;",
|
||||
},
|
||||
Assertions: []queries.ScriptTestAssertion{
|
||||
{
|
||||
Query: "SELECT pk, uk, i from auniquetable",
|
||||
Expected: []sql.Row{
|
||||
{0, 0, 99},
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
}
|
||||
|
||||
func makeLargeInsert(sz int) string {
|
||||
|
||||
Reference in New Issue
Block a user