赵健

Results 3 issues of 赵健

## GORM Playground Link gorm 版本: gorm.io/gorm v1.23.8 gorm.io/driver/sqlite v1.3.6 ## Description ``` type Project struct { Id int `json:"id" gorm:"column:id;autoIncrement"` Id int `json:"id" gorm:"column:id;primaryKey;autoIncrement"` } ``` 使用autoMigrate创建表,`.schema table`命令后primaryKey生效,autoIncrement未生效 ```...

type:missing reproduction steps
status:stale

### Actions I've taken before I'm here - [X] I've thoroughly read the documentations on this issue but still have no clue. - [X] I've searched the current list of...

bug
waiting for response
needs investigation
needs more info
working on it

### Describe the bug(Bug 描述) 去重计数在子查询中无效,返回NULL ![image](https://github.com/user-attachments/assets/d3f0b628-b483-486b-bba1-c4a766571288) ### To Reproduce(Bug 复现步骤) 查询monitor数据库中io表 select count(DISTINCT(ReadData16KBCount)) from io #sql有效 select count(DISTINCT(ReadData16KBCount)) from (select * from io) #sql返回null select count(ReadData16KBCount) from (select distinct(ReadData16KBCount)...

bug