ResilientSZUer commented on code in PR #874: URL: https://github.com/apache/incubator-seata-go/pull/874#discussion_r2284151735
########## pkg/datasource/sql/datasource/utils.go: ########## @@ -90,7 +90,10 @@ func GetScanSlice(types []*sql.ColumnType) []interface{} { scanSlice = append(scanSlice, &scanVal) case ScanTypeUnknown: scanVal := new(interface{}) - scanSlice = append(scanSlice, &scanVal) + scanSlice = append(scanSlice, scanVal) + default: + scanVal := new(interface{}) + scanSlice = append(scanSlice, scanVal) Review Comment: Great suggestion, thanks! I've updated the code as you recommended. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: notifications-unsubscr...@seata.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: notifications-unsubscr...@seata.apache.org For additional commands, e-mail: notifications-h...@seata.apache.org