Skip to content

First create_index then select always resulting "has not index with name column_name" #264

Closed
@kokizzu

Description

@kokizzu

How to reproduce:

git clone [email protected]:kokizzu/gorm-vs-korm.git
./clean-start.sh

go test -bench=Taran -benchmem .
2023-01-14 22:05:13.576 IsError ▶ go/src/gorm-vs-korm/mTest/rqTest/rqTest__ORM.GEN.go:63:  korm1/mTest/rqTest.(*TestTable2).FindByContent: TestTable2.FindByContent failed: test_table2
2023-01-14 21:47:55.114 IsError ▶ &errors.errorString{s:"space test_table2 has not index with name content"}
    StackTrace: 
        me/kyz/go/src/gorm-vs-korm/tarantool_test.go:137  korm1.BenchmarkGetRowS_Taran_ORM.func1

go test -bench=Taran -benchmem .
# no error on second run

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions