Skip to content

Commit

Permalink
Implement CHECK constraints
Browse files Browse the repository at this point in the history
Signed-off-by: Stefano Scafiti <stefano.scafiti96@gmail.com>
  • Loading branch information
ostafen committed Jul 4, 2024
1 parent a36e4bc commit 7784338
Show file tree
Hide file tree
Showing 18 changed files with 1,361 additions and 910 deletions.
4 changes: 2 additions & 2 deletions embedded/document/engine_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ SPDX-License-Identifier: BUSL-1.1
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
https://mariadb.com/bsl11/
https://mariadb.com/bsl11/
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
Expand Down Expand Up @@ -1709,7 +1709,7 @@ func TestCollectionUpdateWithDeletedIndex(t *testing.T) {
collectionName,
"active",
)
require.ErrorIs(t, err, sql.ErrCantDropIndexedColumn)
require.ErrorIs(t, err, sql.ErrCannotDropColumn)

err = engine.DeleteIndex(
context.Background(),
Expand Down
Loading

0 comments on commit 7784338

Please sign in to comment.