Browse Source

* Do not return empty fieldlist when generating SQL

Michaël Van Canneyt 2 tháng trước cách đây
mục cha
commit
f406c2400b
1 tập tin đã thay đổi với 2 bổ sung0 xóa
  1. 2 0
      packages/fcl-web/src/restbridge/sqldbrestschema.pp

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

@@ -1427,6 +1427,8 @@ begin
       Res:=Res+Term;
       end;
     end;
+  if Res='' then
+    Res:='*';
   Result:=Res;
 end;