Closed msmakouz closed 6 months ago
All modified and coverable lines are covered by tests :white_check_mark:
Project coverage is 95.27%. Comparing base (
9eb6669
) to head (3c50583
).
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
What's was changed
The caching of insert queries with fragments has been fixed.
The hash of the cached query did not take into account the number of fragments used in the query. That is, if in the first query we use two fragments, its hash is generated and we save the generated query:
Then comes a query where the number of fragments is different; its generated hash will be the same, but the generated SQL will be different:
Another situation may occur where the number of fragments is the same, but their content is different. This has been fixed. Now the query hash takes into account the fragments and their content.
Closes: #176