ResilientSZUer commented on code in PR #874:
URL: 
https://github.com/apache/incubator-seata-go/pull/874#discussion_r2280211327


##########
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{})

Review Comment:
   项目其他地方的代码很多也用了interface{},可以留着以后统一换成any



-- 
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

Reply via email to