瀏覽代碼

* Fix RequireMetadata

git-svn-id: trunk@41617 -
michael 6 年之前
父節點
當前提交
0b6b748b15
共有 1 個文件被更改,包括 2 次插入0 次删除
  1. 2 0
      packages/fcl-web/src/restbridge/sqldbrestio.pp

+ 2 - 0
packages/fcl-web/src/restbridge/sqldbrestio.pp

@@ -708,6 +708,8 @@ procedure TRestOutputStreamer.SetOutputOptions(AValue: TRestOutputOptions);
 begin
   if FOutputOptions=AValue then Exit;
   FOutputOptions:=AValue;
+  if RequireMetadata then
+    Include(FOutputOptions,ooMetadata);
 end;
 
 procedure TRestOutputStreamer.CreateErrorContent(aCode: Integer;