MYDDAS: exist/1 using LIMIT 1 on the subquery

git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1514 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
This commit is contained in:
michel_ferreira 2006-01-16 21:00:12 +00:00
parent 3715f1b1d7
commit 440364362e
1 changed files with 1 additions and 1 deletions

View File

@ -1031,7 +1031,7 @@ query_atom(existential_subquery(Select,From,Where),QueryList,Diff):-
clause_atom('SELECT',Select,',',X1,X2),
clause_atom('FROM',From,',',X2,X3),
clause_atom('WHERE',Where,'AND',X3,X4),
column_atom(')',X4,Diff).
column_atom('LIMIT 1)',X4,Diff).