This website works better with JavaScript
Home
Explore
Help
Sign In
pascal
/
freepascal.compiler
mirror of
https://gitlab.com/freepascal.org/fpc/source.git
Watch
2
Star
0
Fork
0
Files
Issues
0
Wiki
Browse Source
* Do not return empty fieldlist when generating SQL
Michaël Van Canneyt
2 months ago
parent
ec8887baf2
commit
f406c2400b
1 changed files
with
2 additions
and
0 deletions
Unified View
Show Diff Stats
2
0
packages/fcl-web/src/restbridge/sqldbrestschema.pp
+ 2
- 0
packages/fcl-web/src/restbridge/sqldbrestschema.pp
View File
@@ -1427,6 +1427,8 @@ begin
Res:=Res+Term;
Res:=Res+Term;
end;
end;
end;
end;
+ if Res='' then
+ Res:='*';
Result:=Res;
Result:=Res;
end;
end;