0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-02-24 23:48:13 -05:00
ghost/core/server/models/base
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 Added protection against "too many SQL variables" for SQLite3 2018-08-08 19:17:01 +02:00
listeners.js Fixed model events and transactions (#9524) 2018-04-06 18:19:45 +02:00
token.js Bump dependencies (#9513) 2018-03-19 16:27:06 +01:00
utils.js