Browse Source

修复调试问题

gitlink
Sydonian 1 year ago
parent
commit
ecb9d2722d
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      common/pkgs/db/pinned_object.go

+ 1
- 1
common/pkgs/db/pinned_object.go View File

@@ -64,7 +64,7 @@ func (*PinnedObjectDB) BatchTryCreate(ctx SQLContext, pinneds []cdssdk.PinnedObj
return nil
}

return BatchNamedExec(ctx, "insert ignore into PinnedObject values(:NodeID,:ObjectID,:CreateTime)", 3, pinneds, nil)
return BatchNamedExec(ctx, "insert ignore into PinnedObject values(:ObjectID,:NodeID,:CreateTime)", 3, pinneds, nil)
}

func (*PinnedObjectDB) CreateFromPackage(ctx SQLContext, packageID cdssdk.PackageID, nodeID cdssdk.NodeID) error {


Loading…
Cancel
Save