holatuwol/liferay-portal — comment on commit 1e8ecc153e0743c29a3d761112e449d2368b58dd
File: portal-impl/src/com/liferay/portal/service/impl/PermissionLocalServiceImpl.java line 1542
By rotty3000:

Could we change the exists function to a more generic 1 = 1 comparison?

`... where codeId = ? and 1 = (select 1 from Group_ where ...) ...`

Wouldn't that lead to the same result and be more portable?