diff options
author | Vincent Petry <pvince81@owncloud.com> | 2015-01-19 17:05:44 +0100 |
---|---|---|
committer | Vincent Petry <pvince81@owncloud.com> | 2015-01-19 17:05:44 +0100 |
commit | ef8d38ca27d24ff1c2b2b499f74c24dae9d9e906 (patch) | |
tree | 05e7e8ee9638ce16c64d69303df005b5b3ba78e6 /lib | |
parent | 4894a2c458f49b2c6b49b18cc0055ae087bff1b2 (diff) | |
download | nextcloud-server-ef8d38ca27d24ff1c2b2b499f74c24dae9d9e906.tar.gz nextcloud-server-ef8d38ca27d24ff1c2b2b499f74c24dae9d9e906.zip |
Fix chunked query for tags + unit test
Diffstat (limited to 'lib')
-rw-r--r-- | lib/private/tags.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/tags.php b/lib/private/tags.php index 9ff433b6984..4d737e47e07 100644 --- a/lib/private/tags.php +++ b/lib/private/tags.php @@ -211,7 +211,7 @@ class Tags implements \OCP\ITags { try { $conn = \OC_DB::getConnection(); - $chunks = array_chunk($objIds, 1000, false); + $chunks = array_chunk($objIds, 900, false); foreach ($chunks as $chunk) { $result = $conn->executeQuery( 'SELECT `category`, `categoryid`, `objid` ' . |