Skip to content

升级gaea版本后报错commands out of sync #252

Description

@yuyongli

go工程,gaea-v1.2.2-linux-amd64-go1.13.4版本之前都能正常运行,升级到gaea-v1.2.5-linux-amd64-go1.13.3后,再次运行相同的gorm查询语句报错commands out of sync. Did you run multiple statements at once
工程中报错的gorm代码如下:orderInfo = new(models.Order)
ret := s.DBHandle.Where("order_id = ?", orderId).Limit(1).Find(orderInfo)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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