Patch to fix Oracle regexes in qs-rf
|Reported by:||Ian Kelly||Owned by:||nobody|
|Component:||Database layer (models, ORM)||Version:||queryset-refactor|
|Has patch:||yes||Needs documentation:||no|
|Needs tests:||no||Patch needs improvement:||no|
This patch fixes a few programming errors in the refactored Oracle regex code in queryset-refactor. I also found a bug where connection.ops.regex_lookup() could get called before being initialized by the creation of a cursor, so I've added a default regex_lookup() that forces initialization and then recalls itself.