Skip to content

使用分页函数page 时,pageSize = int.MaxValue 会出现值溢出 #2265

Description

@HappyAndSad

问题描述及重现代码:

如果在分页时,使用 .Page(1,int.MaxValue) ,DamengSelect.ToSqlStatic 执行 _limit + 1 会出现值溢出

Image
 .Page(1,int.maxvalue)

数据库版本

dameng v8

安装的Nuget包

dm.dmprovider/8.3.1.28188

.net framework/. net core? 及具体版本

. net core v9

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