#1892 Clear query cache after a migration #1930

Closed
wants to merge 1 commit into
from

Projects

None yet

2 participants

@franckverrot

Some methods like PREPARE and DEALLOCATE have also been extracted to introduce reset_cache!.

@spastorino
Member

Can you squash your commits into one?

@franckverrot franckverrot Clear query cache after a migration [Closes #1892]
Some methods like PREPARE and DEALLOCATE have also been extracted to introduce reset_cache!.

Changes:
- Test that changing a column definition doesnt break the prepared statements.
- Extracted prepare_statement! and deallocate_statement./sbt Created reset_cache! that should be called when a DDL statement is sent to the database
- Use reset_cache! on rename_column
8e503c9
@franckverrot

@spastorino: done, I push'ed -f :)

@spastorino
Member
@franckverrot

seems fixed on master by these commits 1ad9138 and 4a065d5

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