0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-01-06 22:40:14 -05:00
ghost/core/server/services
kirrg001 08f54d2f57 Added protection against "too many SQL variables" for SQLite3
no issue

- discovered while testing
- SQLite3 has a restriction that you cannot query more than 999 SQL variables (e.g. fetch all tag relations for all posts)
- if you have more than 999 posts in your database, Ghost wasn't able to finish the bootstrap
  - the url service tried to fetch all posts & relations, but could not complete, because SQlite3 has thrown
    -> "too many SQL variables"
- i have added a recursive query strategy only for SQLite3
  - use offset/limit
2018-08-08 19:17:01 +02:00
..
apps Fixed typo in: core/server/services/apps/index.js (#9673) 2018-06-11 23:19:07 +02:00
auth Updated docs links 2018-07-20 23:49:16 +02:00
mail Updated docs links 2018-07-20 23:49:16 +02:00
permissions Sorted out the mixed usages of include and withRelated (#9425) 2018-02-15 10:53:53 +01:00
routing Renamed StaticRoutesRouter debug namespace (#9706) 2018-06-28 10:44:05 +02:00
rss Dynamic Routing Beta (#9596) 2018-06-05 19:02:20 +02:00
settings Dynamic Routing Beta: Changed routes.yaml error messages 2018-06-26 19:06:37 +02:00
themes 🎨 Dynamic Routing Beta: Extended collection feature (limit, order, data) 2018-06-24 02:06:58 +02:00
url Added protection against "too many SQL variables" for SQLite3 2018-08-08 19:17:01 +02:00
labs.js Moved labs, auth, permissions, settings, mail, themes to services (#9339) 2017-12-14 03:01:23 +01:00
slack.js Updated docs links 2018-07-20 23:49:16 +02:00
webhooks.js Import lib/common only 2017-12-12 10:28:13 +01:00
xmlrpc.js Updated docs links 2018-07-20 23:49:16 +02:00