-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Patch CursorWrapper dynamically to allow multiple base classes. (#1820)
* Patch CursorWrapper dynamically to allow multiple base classes. When the debug SQL logs are enabled, the wrapper class is CursorDebugWrapper not CursorWrapper. Since we have inspections based on that specific class they are removing the CursorDebugWrapper causing the SQL logs to not appear. This attempts to dynamically patch the CursorWrapper or CursorDebugWrapper with the functionality we need. This doesn't do a full regression test, but it may be possible to get it to work with: TEST_ARGS='--debug-sql' make test Which causes the current set of tests to fail since they are keyed to CursorWrapper. * Allow mixin as a valid word in our docs. * Support tests with --debug-sql
- Loading branch information
1 parent
6e55663
commit 7677183
Showing
4 changed files
with
75 additions
and
30 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -30,6 +30,7 @@ memcache | |
memcached | ||
middleware | ||
middlewares | ||
mixin | ||
mousedown | ||
mouseup | ||
multi | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters