Skip to content

Conversation

@nickvergessen
Copy link
Member

⚠️ Theory fix, I did not execute the code

{
  "Exception": "Doctrine\\DBAL\\Query\\QueryException",
  "Message": "More than 1000 expressions in a list are not allowed on Oracle.",
  "Code": 0,
  "Trace": [
    {
      "file": "/var/www/html/apps/mail/lib/Db/MessageMapper.php",
      "line": 69,
      "function": "execute",
      "class": "OC\\DB\\QueryBuilder\\QueryBuilder",
      "type": "->"
    },
    {
      "file": "/var/www/html/apps/mail/lib/Db/MessageMapper.php",
      "line": 169,
      "function": "findUids",
      "class": "OCA\\Mail\\Db\\MessageMapper",
      "type": "->"
    },
    {
      "file": "/var/www/html/apps/mail/lib/Service/Sync/SyncService.php",
      "line": 155,
      "function": "findUidsForIds",
      "class": "OCA\\Mail\\Db\\MessageMapper",
      "type": "->"
    }

Signed-off-by: Joas Schilling <[email protected]>
Signed-off-by: Christoph Wurst <[email protected]>
@ChristophWurst ChristophWurst force-pushed the techdebt/noid/chunk-huge-arrays branch from 3d969cb to 6ad917e Compare April 8, 2021 12:00
@ChristophWurst ChristophWurst merged commit 619037b into master Apr 8, 2021
@ChristophWurst ChristophWurst deleted the techdebt/noid/chunk-huge-arrays branch April 8, 2021 12:20
@backportbot-nextcloud
Copy link

The backport to stable1.0 failed. Please do this backport manually.

@ChristophWurst
Copy link
Member

/backport to stable1.9

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

NC21, postgres, Doctrine\DBAL\Query\QueryException: More than 1000 expressions in a list are not allowed on Oracle.

4 participants