0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-03-11 02:12:21 -05:00
ghost/core/server/services/url
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
..
index.js Dynamic Routing Beta (#9596) 2018-06-05 19:02:20 +02:00
Queue.js 🐛 Fixed urls being /404/ after starting the Ghost server 2018-06-07 09:27:24 +02:00
Resource.js 🔥 Drop Node v4 Support 2018-05-01 14:06:18 +02:00
Resources.js Added protection against "too many SQL variables" for SQLite3 2018-08-08 19:17:01 +02:00
UrlGenerator.js Dynamic Routing Beta: Filter collections with NQL (#9704) 2018-06-26 01:54:51 +02:00
Urls.js Dynamic Routing Beta (#9596) 2018-06-05 19:02:20 +02:00
UrlService.js 🐛 Fixed preview url and Zapier on subdirectory (#9683) 2018-06-12 16:36:58 +01:00
utils.js 🐛 Fixed preview url and Zapier on subdirectory (#9683) 2018-06-12 16:36:58 +01:00