diff options
author | Joas Schilling <nickvergessen@owncloud.com> | 2015-07-21 09:56:08 +0200 |
---|---|---|
committer | Joas Schilling <nickvergessen@owncloud.com> | 2015-07-21 15:25:48 +0200 |
commit | f9071ed5b7449c5f0dfa99a7715a744742281cf1 (patch) | |
tree | dbde6e0b5cbe7bae65d5427b6ab76708ef335340 /lib/private/db | |
parent | c9564503c2b6635e3e0b9262867f3c2b6e3149cb (diff) | |
download | nextcloud-server-f9071ed5b7449c5f0dfa99a7715a744742281cf1.tar.gz nextcloud-server-f9071ed5b7449c5f0dfa99a7715a744742281cf1.zip |
Comment out LIMIT 0 case because of the mixed results
Diffstat (limited to 'lib/private/db')
-rw-r--r-- | lib/private/db/querybuilder/querybuilder.php | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/private/db/querybuilder/querybuilder.php b/lib/private/db/querybuilder/querybuilder.php index 4f7182aff66..38c3966d9a0 100644 --- a/lib/private/db/querybuilder/querybuilder.php +++ b/lib/private/db/querybuilder/querybuilder.php @@ -237,6 +237,10 @@ class QueryBuilder implements IQueryBuilder { /** * Sets the maximum number of results to retrieve (the "limit"). * + * NOTE: Setting max results to "0" will cause mixed behaviour. While most + * of the databases will just return an empty result set, Oracle will return + * all entries. + * * @param integer $maxResults The maximum number of results to retrieve. * * @return \OCP\DB\QueryBuilder\IQueryBuilder This QueryBuilder instance. |