Explorar el Código

* Do not return empty fieldlist when generating SQL

Michaël Van Canneyt hace 2 meses
padre
commit
f406c2400b
Se han modificado 1 ficheros con 2 adiciones y 0 borrados
  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;